Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
3.0.0-M4
-
None
-
None
-
Windows 10, JDK 11
Description
According to the documentation, the `classes` directory should be put on the classpath by default.
In this case, given that I have a `demo` package in both my main sources and my test source, the enumeration `classLoader.getResources("demo")` should have 2 URLs in it. One for the package in the test sources and one for the main sources.
When using the Java Module System, this is not the case. Instead, I get two URLs, both for the test sources. This error does not occur when not using the module system.
I created a repository, which can reproduce this error. It can be found here
Attachments
Issue Links
- links to