This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 224527 - Special character (exclamation !) in a library path fails in unexpected ways
Summary: Special character (exclamation !) in a library path fails in unexpected ways
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Libraries (show other bugs)
Version: 7.2.1
Hardware: PC Windows 8 x64
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-05 22:50 UTC by JorisW
Modified: 2016-07-07 08:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description JorisW 2013-01-05 22:50:35 UTC
I added a library under project properties -> "libraries" -> "Add JAR/Folder" which had an exclamation mark in its relative path: "..\libraries\Slick!\slick.jar".

No error was given at this point. However this resulted in:

- The jar file was navigable in the project pane, I could see all its classes
- The ctrl-space hints show all the classes too
- import lines were marked as "package abc.def does not exist" in the editor (with red squiggly lines)
- No errors during build
- Upon running, the applications fails with a java.lang.VerifyError


Later on I tried adding the library as a global library (Tools -> Ant Libraries). 
This resulted in no error message however it cut off any text after the exclamation mark.
For example a path of "D:\test!\test.jar" resulted in "D:\test".
Comment 1 Martin Balin 2016-07-07 08:37:29 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss