Open osallou opened 6 years ago
Does your fix compiles with Java8? If I am correct, the target compatibility is 1.8
In addition, java9 is a short-term release and java10 is released. Oracle recommends to transition to java10: http://www.oracle.com/technetwork/java/eol-135779.html
I have not tested compatibility with java 8.
Default in debian is java 9, 10 should cause same issue as it is a deprecation.
Builing with jdk >=9 will create issue. At runtime, it should be a problem if you take directly the jar, but if you want to build yourself...
Olivier
Le jeu. 3 mai 2018 12:05, Daniel Gómez-Sánchez notifications@github.com a écrit :
In addition, java9 is a short-term release and java10 is released. Oracle recommends to transition to java10: http://www.oracle.com/technetwork/java/eol-135779.html
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/broadinstitute/barclay/issues/137#issuecomment-386247351, or mute the thread https://github.com/notifications/unsubscribe-auth/AA-gYocjlX1AM4acoudWqXL4dYPWpV8Uks5tutZegaJpZM4TwyBj .
Barclay is now failing to build in Debian as Java 11 is now the default version: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906973
Without Java 11 support in barclay then barclay, picard-tools, IGV, paleomix, and Artemis will be removed from the upcoming stable release of Debian "buster" :-(
@osallou @mr-c I'm trying to untangle what/how many issues there here are. Is the original issue reported in this ticket (which looks like a runtime issue, presumably from running a test) the only issue you're aware of, or is there a build-time issue as well ? Also, I see how this affects Picard, but am unclear on how it impacts, say, IGV, which AFAIK doesn't have any Barclay dependency.
those are build issues. I talked about are warnings going to errors with "newer" JDKs. The patch fixed the issue in Debian with JDK 11 (current JDK in Debian)
While compiling with JDK 9, I got some deprecation warning that turned to errors.
Here is patch to fix issue