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.
Summary: | Should not write to disk during startup (someone using NbPreferences) | ||
---|---|---|---|
Product: | platform | Reporter: | Jiri Skrivanek <jskrivanek> |
Component: | Proxy | Assignee: | Libor Fischmeistr <lfischmeistr> |
Status: | VERIFIED FIXED | ||
Severity: | normal | Keywords: | TEST |
Priority: | P2 | ||
Version: | 7.4 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Stack traces from test. |
Description
Jiri Skrivanek
2013-05-28 13:46:43 UTC
Created attachment 135006 [details]
Stack traces from test.
I cannot reproduce on my machine Product Version = NetBeans IDE Dev (Build 20130528-091c5ab6f879) (#091c5ab6f879) Operating System = Linux version 3.5.0-30-generic running on amd64 Java; VM; Vendor = 1.7.0_21; Java HotSpot(TM) 64-Bit Server VM 23.21-b01; Oracle Corporation Runtime = Java(TM) SE Runtime Environment 1.7.0_21-b11 Java Home = /usr/lib/jvm/jdk1.7.0_21/jre It looks like NbProxySelector is reloading the proxy settings and thus writes to NbPreferences during startup. re-assigning. Thank you It's not a regression, the code works in the same way since 7.2 (at least) Hardly the code works in the same way if core.network module was introduced in 7.4. But if you fix it I don't care it is a P1 regression or P2. Definitely it blocks commit validation tests. (In reply to comment #4) > Hardly the code works in the same way if core.network module was introduced in > 7.4. But if you fix it I don't care it is a P1 regression or P2. Definitely it > blocks commit validation tests. Yes, the core.network has been introduced in 7.4, but the same functionality was in core module before. The code just has been moved. The writing to properties file during startup is the same as before the core.network has been introduced. Moved to whitelist (config/Preferences/org/netbeans/core.properties) http://hg.netbeans.org/core-main/rev/51be5fdf37c9 |