eixzir 發表於 2016-12-20 15:52

Eclipse匯入 編譯時出現這個要怎麼辦

Eclipse匯入 編譯時出現這6個 warnings怎麼辦



Buildfile: C:\workspace\l1j\build.xml
clean:
compile_loader:
    Created dir: C:\workspace\l1j\bin
    Compiling 1 source file to C:\workspace\l1j\bin
jar_loader:
       Building jar: C:\workspace\l1j\l1jloader.jar
    Deleting directory C:\workspace\l1j\bin
compile_server:
    Created dir: C:\workspace\l1j\bin
    Compiling 680 source files to C:\workspace\l1j\bin
    C:\workspace\l1j\src\l1j\server\server\Account.java:28: warning: BASE64Encoder is internal proprietary API and may be removed in a future release
    import sun.misc.BASE64Encoder;
                    ^
    C:\workspace\l1j\src\l1j\server\server\Logins.java:24: warning: BASE64Decoder is internal proprietary API and may be removed in a future release
    import sun.misc.BASE64Decoder;
                    ^
    C:\workspace\l1j\src\l1j\server\server\Logins.java:25: warning: BASE64Encoder is internal proprietary API and may be removed in a future release
    import sun.misc.BASE64Encoder;
                    ^
    C:\workspace\l1j\src\l1j\server\server\Account.java:98: warning: BASE64Encoder is internal proprietary API and may be removed in a future release
                   return new BASE64Encoder().encode(buf);
                                ^
    C:\workspace\l1j\src\l1j\server\server\Logins.java:54: warning: BASE64Decoder is internal proprietary API and may be removed in a future release
                                     abyte2 = new BASE64Decoder().decodeBuffer(rs.getString(1));
                                                  ^
    C:\workspace\l1j\src\l1j\server\server\Logins.java:66: warning: BASE64Encoder is internal proprietary API and may be removed in a future release
                                           pstm.setString(2, new BASE64Encoder().encode(abyte1));
                                                                   ^
    6 warnings
copy_c3p0_config:
    Copying 1 file to C:\workspace\l1j\bin
jar_server:
       Building jar: C:\workspace\l1j\l1jserver.jar
    Deleting directory C:\workspace\l1j\bin
all:
BUILD SUCCESSFUL
Total time: 6 seconds

bennyst 發表於 2021-7-15 19:43

頁: [1]
查看完整版本: Eclipse匯入 編譯時出現這個要怎麼辦