You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Neil C Smith (Jira)" <ji...@apache.org> on 2020/05/01 11:45:00 UTC
[jira] [Created] (NETBEANS-4291) Resources in multi-release JARs
hidden when name same, ext different
Neil C Smith created NETBEANS-4291:
--------------------------------------
Summary: Resources in multi-release JARs hidden when name same, ext different
Key: NETBEANS-4291
URL: https://issues.apache.org/jira/browse/NETBEANS-4291
Project: NetBeans
Issue Type: Bug
Components: java - Source
Affects Versions: 12.0, 11.3
Reporter: Neil C Smith
Assignee: Neil C Smith
Fix For: 12.0
Attachments: MRJ issue.zip
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 seems to be 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.
See also [https://github.com/JFormDesigner/FlatLaf/issues/13]
The attached projects demonstrate the issue on classpath and modulepath.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists