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 257183 - VM Options Customize : defective parsing of double equals
Summary: VM Options Customize : defective parsing of double equals
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P4 normal (vote)
Assignee: Tomas Zezula
Depends on:
Reported: 2015-12-16 20:40 UTC by jmehrens
Modified: 2015-12-16 20:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description jmehrens 2015-12-16 20:40:10 UTC
The VM Option Customize for the project settings is unable to parse the double equals which leads to scrambling the VM options command on save.

The JAAS API ( uses '==' as a override of JAAS configurations.  

For example, "" on save converts to "../path/to/jaas.config" which is invalid.

What is happening with the parsing is that it looks like two entries. One is "" as a key with a empty string value and an empty string key with "../path/to/jaas.config" as the value.

From the java.util.Properties documentation you can use a Unicode escape sequence of '\u003d' but that issues the literal escape characters to the JVM.

At a minimum the customize dialog should issue a warning when either empty keys or empty values are found during parsing which would signal that the save is not going to work right.