Hi, sorry I took so long to respond, here's the last bit of the JDK 12 build:
...
init:
-prepare-mandatory-files-for-module:
[mkdir] Created dir:
C:\Users\Emilio\Desktop\netbeans-builds\netbeans-11.1-source\platform\openide.util\build\classes\META-INF
[createlicensesummary] All tests passed
up-to-date:
compile:
[nb-javac] Compiling 45 source files to
C:\Users\Emilio\Desktop\netbeans-builds\netbeans-11.1-source\platform\openide.util\build\classes
[repeat] warning: [options] bootstrap class path not set in conjunction with
-source 6
[repeat] error: Source option 6 is no longer supported. Use 7 or later.
[repeat] error: Target option 6 is no longer supported. Use 7 or later.
________________________________
From: Geertjan Wielenga <[email protected]>
Sent: Saturday, July 27, 2019 21:26
To: Emilio G.C. <[email protected]>
Cc: Laszlo Kishalmi <[email protected]>; [email protected]
<[email protected]>
Subject: Re: Building IDE on JDK 12
No, just the part where the error message begins.
Gj
On Sat, 27 Jul 2019 at 23:58, Emilio G.C.
<[email protected]<mailto:[email protected]>> wrote:
Like I said, I have the full build logs of all 5 build runs, and a couple of
screenshots, but they are quite big. Should I zip them and attach them to my
next email?
________________________________
From: Laszlo Kishalmi
<[email protected]<mailto:[email protected]>>
Sent: Saturday, July 27, 2019 14:54
To: [email protected]<mailto:[email protected]>
<[email protected]<mailto:[email protected]>>
Subject: Re: Building IDE on JDK 12
Well, I think we shall move that direction, however we might work on that in
batches.
AFAIK Java 12 dropped the source compatibility prior Java 8, so we need to
raise the javac source level.
I tried that once with brute force search and replace, but that caused some
issues during the build. (However this was before we had the patches for Java
11 builds)
On 7/27/19 12:38 PM, Geertjan Wielenga wrote:
Sure, why not investigate whatever the reason is that JDK 12 cannot be used to
build NetBeans? Any info you can provide would be helpful.
Gj
On Sat, 27 Jul 2019 at 21:29, Emilio G.C.
<[email protected]<mailto:[email protected]>> wrote:
As part of an experiment related to the recent PR I submitted to the netbeans
website, I built netbeans in OpenJDK 8,9,10,11 & 12 (latest versions as of
2019-07-25), simultaneously, on Windows 10 (1809). The results are such that
all but the JDK 12 run were successful, which in turn makes me ask: are or were
there any plans to make it possible to build on JDK12, or was it not
prioritized due to this being a non-LTS version?
I have full logs of all 5 build operations, but due to their size I can't post
them here.
Thanks,
Emilio G.C.