Re: Re: NB16 - java.lang.RuntimeException: Uncompilable code

2023-01-19 Thread Gheorghe TUDOSE
Hi and thanks "Solved" it by moving the project to another freshly installed machine (NB 16 & Java 19; the old machine had NB 16 with Java 17 if I recall correctly). The tested project is a library with no dependencies. The test libraries are JUnit 4.13.2 and Hamcrest Core 1.3. Haven't used JUni

Re: Re: NB16 - java.lang.RuntimeException: Uncompilable code

2023-01-18 Thread Eric Bresie
What version of JUnit is being used? Not sure if JUnit 5 is fully compatible. Can try JUnit 4 and see if this resolves the problem with test at least. Eric Bresie ebre...@gmail.com (mailto:ebre...@gmail.com) > On January 17, 2023 at 3:12:57 PM CST, Gheorghe TUDOSE (mailto:tudo@gmail.com)> w

Re: Re: NB16 - java.lang.RuntimeException: Uncompilable code

2023-01-18 Thread Eric Bresie
Are there any dependencies projects or libraries in use? Maybe they are built with a newer/older Java compiler which is not compatible (I.e. dependency compiled with newer version not in use with the older version being used). Can you check the Java Platform to see what’s installed? Can also che