You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[WARNING] bootstrap class path not set in conjunction with -source 1.6
[WARNING] /home/user/git/jssc/src/java/jssc/SerialPortException.java:[31,8] serializable class jssc.SerialPortException has no definition of serialVersionUID
[WARNING] /home/user/git/jssc/src/java/jssc/SerialPortTimeoutException.java:[31,8] serializable class jssc.SerialPortTimeoutException has no definition of serialVersionUID
[WARNING] /home/user/git/jssc/src/java/jssc/SerialPort.java:[1017,89] found raw type: java.lang.Class
missing type arguments for generic class java.lang.Class<T>
On jdk11:
[WARNING] source value 6 is obsolete and will be removed in a future release
[WARNING] target value 1.6 is obsolete and will be removed in a future release
[WARNING] To suppress warnings about obsolete options, use -Xlint:-options.
I hate talking about "normal warnings" or even "normal errors", but we mitigate using java7+ API by using the animal sniffer plugin, so that will be fine.
As soon as we target Java 12, we cannot build with java 8 anymore. Lowest would be java 9 then (using the -release 6 argument for javac). But that's okay for now.
Activity
bmarwell commentedon Apr 14, 2019
Currently this will yield on jdk8:
On jdk11:
I hate talking about "normal warnings" or even "normal errors", but we mitigate using java7+ API by using the animal sniffer plugin, so that will be fine.
As soon as we target Java 12, we cannot build with java 8 anymore. Lowest would be java 9 then (using the
-release 6argument forjavac). But that's okay for now.Add version for maven-compiler-plugin and enable linting output. Fixes …
tresf commentedon Apr 14, 2019
Then let's avoid JDK12. JDK11 is LTS and should last us years.
bmarwell commentedon Apr 15, 2019
Yes. Exactly. Just wanted to mention it.