neilcsmith-net opened a new pull request #2115: URL: https://github.com/apache/netbeans/pull/2115
If a multi-release JAR contains resources with the same name but a different extension, then only one of these resources is picked up. This causes errors with projects using eg. FlatLaf where errors are seen in the code editor while compilation works fine. Files such as `FlatLightLaf.properties` shadows `FlatLightLaf.class`. This is caused by an error in CachingFileManager and ModuleFileManager using the file name and location without extension as a map key to look up multi-release files. Hopefully changes here fix this without causing problems elsewhere - better tests would be good in this area in future. See also https://github.com/JFormDesigner/FlatLaf/issues/13 The projects attached to the JIRA issue demonstrate the issue on classpath and modulepath. Both show broken in NB 12.0-beta3. https://issues.apache.org/jira/browse/NETBEANS-4291 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- 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
