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 255095

Summary: Deadlock due to system Properties locked in DefaultPlatformImpl
Product: java Reporter: Jaroslav Havlin <jhavlin>
Component: PlatformAssignee: Tomas Zezula <tzezula>
Status: RESOLVED FIXED    
Severity: normal CC: MackSix
Priority: P1    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Thread dump

Description Jaroslav Havlin 2015-09-08 13:12:59 UTC
Created attachment 155965 [details]
Thread dump

In attached thread dump:

Thread 5838:
- DefaultPlatformImpl.create() locks system properties
- ProxyClassLoader.selfLoadClass is blocked

Thread 5843:
- LibrariesStorage.initStorage (indirectly) locks ProxyClassLoader
- System.getProperty is blocked

The bug was introduced in this commit: http://hg.netbeans.org/releases/rev/2ba1223aac15.

Tomas, please evaluate. Thank you very much.
Comment 1 Tomas Zezula 2015-09-08 15:10:20 UTC
Fixed jet-main 500d36774888
Comment 2 Quality Engineering 2015-09-09 01:23:52 UTC
Integrated into 'main-silver', will be available in build *201509090002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/500d36774888
User: Tomas Zezula <tzezula@netbeans.org>
Log: #255095:Deadlock due to system Properties locked in DefaultPlatformImpl
Comment 3 Tomas Hurka 2015-09-10 05:35:50 UTC
*** Bug 255113 has been marked as a duplicate of this bug. ***