Re: [DISCUSS] Compile with JDK-11 javac --release flag

2021-02-11 Thread Tim Boudreau
> > Upgrading > the javac.source (as opposed to target) might cause some issues, due to > changes to type inferred, although these are probably not very likely. > ...famous last words... -Tim

Re: NetBeans platform: roadmap for compatibility with recent JDKs and the Java module system?

2021-02-11 Thread Tim Boudreau
I did the contrib modules - here - https://github.com/timboudreau/netbeans-contrib (did that stuff ever get officially donated to Apache?) I think it's doable. Have some (ugly, hacky, but worked), tooling I used to generate pom files for modules and move stuff around - a project I started in 201

Re: [DISCUSS] Compile with JDK-11 javac --release flag

2021-02-11 Thread Jan Lahoda
The platform/openide.util.lookup module uses javac.source=1.8, so at least every module that depends on it, either directly or indirectly, effectively only runs on JDK 8, and hence we can upgrade javac.target to 1.8. Upgrading the javac.source (as opposed to target) might cause some issues, due to

Re: [DISCUSS] Compile with JDK-11 javac --release flag

2021-02-11 Thread Laszlo Kishalmi
Well we should let the past go and occasionally set the javac.target to 1.8 wherever it is still lower than that. There could be a debate around the profiler as we even have the code to support JVM 1.5, but we need to clean that up as well. For those who would like to profile older VM-s still

Re: [DISCUSS] Compile with JDK-11 javac --release flag

2021-02-11 Thread Jaroslav Tulach
Guys, we need some discussion before I dare to move on... The error in the quoted email below shows that one shouldn't be using `Objects.requireNonNull(obj)` when `javac.target=1.6`. There are two ways to solve it: - either rewrite to `if (obj == null) throw NPE();` - or by setting `javac.target=

Re: NetBeans platform: roadmap for compatibility with recent JDKs and the Java module system?

2021-02-11 Thread Eric Bresie
I don’t think there is much more that hasn’t been said but I posed the question here on OpenJDK mailing list on runtime swappable JPMS https://mail.openjdk.java.net/pipermail/jdk-dev/2021-February/005064.html On Tue, Feb 9, 2021 at 5:04 AM Neil C Smith wrote: > On Tue, 9 Feb 2021 at 09:30, Cle

Re: Interesting article

2021-02-11 Thread Lars Bruun-Hansen
Yes, but Java world has two good things going for it: - Java world learned early on (thanks to Maven) that released artifacts must be immutable. No exceptions! I've been struck with how that lesson is only very slowly filtering into the Docker and npm world, if at all yet. And yes, they have been

Re: [VOTE] Apache NetBeans 12.0-u2

2021-02-11 Thread Matthias Bläsing
+1 (binding) - checked SHA512 and signature - checked that contents of zip and git tag 12.0-u2 are identical apart  from the expected differences - checked NOTICE + LICENSE - builds on OpenJDK 1.8.0_262 - tested opening and running maven project on JDK, nbjavac was  installed after opening sta

Interesting article

2021-02-11 Thread John Kostaras
I thought I would share. It doesn't address java, but it could be done in maven or netbeans repos, too. https://medium.com/@alex.birsan/dependency-confusion-4a5d60fec610

Re: Compiling NetBeans from source on macos

2021-02-11 Thread Neil C Smith
On Thu, 11 Feb 2021 at 17:18, Laszlo Kishalmi wrote: > Most probably your build is still using Java 15 Secretly. I'd recommend > you to check your property files. Maybe try to run ant with --debug > output it in a file and try to look for java 15, to detect how that gets > infiltrated into your pr

Re: Compiling NetBeans from source on macos

2021-02-11 Thread Christian Oyarzun
Hi Jeremy, I would try the following: export JAVA_HOME=/path/to/java11home export PATH=$JAVA_HOME/bin:$PATH create a user.build.properties in nbbuild with the following line: nbjdk.home=/path/to/java11home Then compile with ant build -Dpermit.jdk9.builds=true --Christian On Thu, Feb 11, 20

Re: Compiling NetBeans from source on macos

2021-02-11 Thread Laszlo Kishalmi
Most probably your build is still using Java 15 Secretly. I'd recommend you to check your property files. Maybe try to run ant with --debug output it in a file and try to look for java 15, to detect how that gets infiltrated into your process. On 2/11/21 8:58 AM, Jeremy Cavanagh wrote: Hi, I

Compiling NetBeans from source on macos

2021-02-11 Thread Jeremy Cavanagh
Hi, I have had absolutely no luck whatsoever. I've tried all possible variants with both jdk 8 and jdk 11, but, they all end in failure with the same error: Java 15 has removed Nashorn, you must provide an engine for running JavaScript yourself. GraalVM JavaScript currently is the preferred

Re: [VOTE] Apache NetBeans 12.0-u2

2021-02-11 Thread Neil C Smith
+1 (binding) Checked files and build, and checked install of updates in 12.0. Thanks Laszlo! Best wishes, Neil On Wed, 10 Feb 2021 at 05:29, Laszlo Kishalmi wrote: > > Dear all, > > This is the voting candidate for the 12.0 update 2 release of Apache > NetBeans. This release is identical to 1

Re: NB 12.3 schedule update

2021-02-11 Thread Neil C Smith
On Tue, 9 Feb 2021 at 12:14, Neil C Smith wrote: > We're also waiting on https://github.com/apache/netbeans/pull/2724 to > see if it can be included. This is an nb-javac update with fix for > NETBEANS-5055 and (partially IMO) NETBEANS-5109. > > Having liaised with Geertjan, we'll aim to prepare t

Update vote catalog testing (was Re: [VOTE] Apache NetBeans 12.0-u2)

2021-02-11 Thread Neil C Smith
On Wed, 10 Feb 2021 at 05:29, Laszlo Kishalmi wrote: > There is no full binary distribution for this update release all > convenience binaries are available as nbm packages. The folder: > https://dist.apache.org/repos/dist/dev/netbeans/netbeans/12.0-u2/nbms/ >

RE: [VOTE] Apache NetBeans 12.0-u2

2021-02-11 Thread Eric Barboni
+1 (binding) Checksum sign ok. Update.xml ok. Info.xml in the nbm contains reference to deadlock.netbeans.org. Thanks for the work Best Regards Eric -Message d'origine- De : Jaroslav Tulach Envoyé : jeudi 11 février 2021 06:51 À : Apache NetBeans Objet : Re: [VOTE] Apache NetBeans 1