jdk11 javac doesn't support --release (original) (raw)
forax at univ-mlv.fr forax at univ-mlv.fr
Tue May 1 22:05:50 UTC 2018
- Previous message: jdk11 javac doesn't support --release
- Next message: JDK 11 RFR of 8202334: Update javax.lang.model.util visitors for 11
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
----- Mail original -----
De: "jonathan gibbons" <jonathan.gibbons at oracle.com> À: "Remi Forax" <forax at univ-mlv.fr>, "compiler-dev" <compiler-dev at openjdk.java.net> Envoyé: Mardi 1 Mai 2018 21:51:33 Objet: Re: jdk11 javac doesn't support --release
Remi,
Hi Jonathan,
If you want a quick patch to unblock your work, here it is: $ hg diff make diff -r ae58e24ce81a make/gendata/Gendata-jdk.compiler.gmk --- a/make/gendata/Gendata-jdk.compiler.gmk Mon Apr 30 09:49:08 2018 -0700 +++ b/make/gendata/Gendata-jdk.compiler.gmk Tue May 01 12:49:46 2018 -0700 @@ -83,6 +83,14 @@ _$(CTMODULESOURCEPATH) _ _$(CTMODULES) _ >$(@D)/A/system-modules + (MKDIR)(MKDIR) (MKDIR)(@D)/B _+ (JAVASMALL)(JAVASMALL) (JAVASMALL)(INTERIMLANGTOOLSARGS) _ _+ $(COMPILECREATESYMBOLSADDEXPORTS) _ _+ -classpath $(BUILDTOOLSOUTPUTDIR)/createsymbols _ _+ build.tools.symbolgenerator.TransitiveDependencies _ _+ $(CTMODULESOURCEPATH) _ _+ $(CTMODULES) _ + >$(@D)/B/system-modules $(TOUCH) $@ # Can't generate ct.sym directly into modules libs as the SetupJarArchive macro
many thanks, i will test that tomorrow (nice plan B :) ).
Rémi
On 05/01/2018 12:49 PM, Jonathan Gibbons wrote: Rémi,
This caught me out last week as well, and yes, it is being fixed; we should see a fix by the end of the week. We have Plan A, B and C, for a hot fix, not-so-hot fix, and long term fix ;-) -- Jon
On 5/1/18 12:16 PM, Remi Forax wrote: Hi all, Hi Jan, javac doesn't support --release 11 [1] which preclude me to fully test some projects with the jdk 11 or any amber branches. /usr/jdk/jdk-11/bin/javac --release 11 error: release version 11 not supported Usage: javac use --help for a list of possible options Is there a plan to fix that soon ? Rémi [1] https://bugs.openjdk.java.net/browse/JDK-8193784
- Previous message: jdk11 javac doesn't support --release
- Next message: JDK 11 RFR of 8202334: Update javax.lang.model.util visitors for 11
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]