cornet / logica-smpp

Logica OpenSMPP
http://opensmpp.logica.com
Other
9 stars 14 forks source link

Project doesn't compile under javac 10.0.1 #2

Open guyo13 opened 6 years ago

guyo13 commented 6 years ago

$ ant

Buildfile: /home/guy/Dev/smpp/SMPP/eclipse/eclipse-workspace/logica-smpp/build.xml

compile:
    [javac] Compiling 96 source files to /home/guy/Dev/smpp/SMPP/eclipse/eclipse-workspace/logica-smpp/build/classes
    [javac] /home/guy/Dev/smpp/SMPP/eclipse/eclipse-workspace/logica-smpp/com/logica/smpp/pdu/ShortMessage.java:14: error: package sun.io does not exist
    [javac] import sun.io.CharToByteConverter;
    [javac]              ^
    [javac] /home/guy/Dev/smpp/SMPP/eclipse/eclipse-workspace/logica-smpp/com/logica/smpp/Data.java:512: warning: [dep-ann] deprecated item is not annotated with @Deprecated
    [javac]     public static final String CHAR_ENC         = ENC_ASCII;
    [javac]                                ^
    [javac] /home/guy/Dev/smpp/SMPP/eclipse/eclipse-workspace/logica-smpp/com/logica/smpp/pdu/ShortMessage.java:257: error: cannot find symbol
    [javac]             CharToByteConverter.getConverter(encoding);
    [javac]             ^
    [javac]   symbol:   variable CharToByteConverter
    [javac]   location: class ShortMessage
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 2 errors
    [javac] 1 warning

BUILD FAILED
/home/guy/Dev/smpp/SMPP/eclipse/eclipse-workspace/logica-smpp/build.xml:14: Compile failed; see the compiler error output for details.

Total time: 1 second

I will try to fix and send a pull request

guyo13 commented 6 years ago

I submitted pull requests #3 #5