Bug#783709: warning: [options] bootstrap class path not set in conjunction with -source 1.5
---------- Forwarded message ----------
Le 29/04/2015 12:30, Mathieu Malaterre a écrit :
> That's exactly my point. AFAIK the debian policy requires that we
> target 1.5. Which means my gdcm.jar will *not* work with an older 1.5
> JDK (at runtime).
gdcm will work with Java 5 as long as newer JDK APIs aren't used.
Pointing the bootclasspath to a JDK 5 installation is a way to guarantee
it, another way is to use a tool like animal-sniffer (and the JEP 247
 will bring the same functionality to Java 9).
Regarding the policy we will have to rework it, many packages are no
longer compatible with Java 5 nowadays. And Java 9 will drop support for
the source/target level 1.5 .