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.
To reproduce the problem : In 'Project Properties' dialog box, put a text content in the 'VMOptions' field, say : "-Djavax.net.ssl.trustStore=C:/cacerts-xxxx.jks -Djavax.net.ssl.trustStorePassword=yyyyyy". Click the 'Customize' button, in the VMOptions dialog box, click on the name field of the options you entered. Click somewhere else, a 'D' prefix is automatically added to your option name. The same is reproduced each time you click in / out of the VMOption name field. Click 'Ok', you get an incoherent content in the VMOptions text field like : "-DDjavax.net.ssl.trustStore=C:/cacerts-xxxx.jks -DDDDjavax.net.ssl.trustStorePassword=yyyyyy".
Created attachment 153824 [details] solution
*** Bug 247973 has been marked as a duplicate of this bug. ***
The patch integrated into jet-main f7736588ddc1. Thanks for the fix!
Integrated into 'main-silver', will be available in build *201506121907* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/f7736588ddc1 User: Tomas Zezula <tzezula@netbeans.org> Log: #232597:VM Options Customize : defective auto addition of a 'D' prefix on the name field
Product Version: NetBeans IDE Dev (Build 201506150001) Java: 1.7.0_76; Java HotSpot(TM) 64-Bit Server VM 24.76-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_76-b13 System: Linux version 3.13.0-37-generic running on amd64; UTF-8; cs_CZ (nb) Verified. Thanks guys for your patch contribution Vitaliy and patch review and integration Tomasi.