Dear People strong in Java Compiler,

I've put a very simple modular java project that has some JUnit (4.13) test, to GitHub:

https://github.com/lkishalmi/gradle-modular-calculator

When loading that project into NetBeans, the JUnit test has several compile error badges.

Saying: package org.junit is not visible (package org.junit is declared in the unnamed module, but module modular.calculator does not read it)


As far as I understand this modular testing. In this case we should treat the main sources / classes as non modular. I'm 90% sure that the classpath the Gradle plugin provides the correct classpath. How is it decided that the JavaParser go modular in this case. Shall I filter out the module-info in this case from the Classpaths I provide for the test source set?

--

  Laszlo Kishalmi


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to