jdk11 javac doesn't support --release (original) (raw)
Jonathan Gibbons jonathan.gibbons at oracle.com
Tue May 1 19:51:33 UTC 2018
- Previous message: jdk11 javac doesn't support --release
- Next message: jdk11 javac doesn't support --release
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Remi,
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 @@
$(CT_MODULESOURCEPATH)
$(CT_MODULES)
>$(@D)/A/system-modules
- (MKDIR)(MKDIR) (MKDIR)(@D)/B
- (JAVASMALL)(JAVA_SMALL) (JAVASMALL)(INTERIM_LANGTOOLS_ARGS) \
$(COMPILECREATESYMBOLS_ADD_EXPORTS) \
-classpath $(BUILDTOOLS_OUTPUTDIR)/create_symbols \
build.tools.symbolgenerator.TransitiveDependencies \
$(CT_MODULESOURCEPATH) \
$(CT_MODULES) \
>$(@D)/B/system-modules <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">(</mo><mi>T</mi><mi>O</mi><mi>U</mi><mi>C</mi><mi>H</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(TOUCH) </annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:1em;vertical-align:-0.25em;"></span><span class="mopen">(</span><span class="mord mathnormal" style="margin-right:0.02778em;">TO</span><span class="mord mathnormal" style="margin-right:0.10903em;">U</span><span class="mord mathnormal" style="margin-right:0.07153em;">C</span><span class="mord mathnormal" style="margin-right:0.08125em;">H</span><span class="mclose">)</span></span></span></span>@
Can't generate ct.sym directly into modules libs as the
SetupJarArchive macro
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: jdk11 javac doesn't support --release
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]