# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: E:\sources\netbeans.org\trunk\java\freeform # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. Index: src/org/netbeans/modules/java/freeform/Classpaths.java *** E:\sources\netbeans.org\trunk\java\freeform\src\org\netbeans\modules\java\freeform\Classpaths.java Base (1.11) --- E:\sources\netbeans.org\trunk\java\freeform\src\org\netbeans\modules\java\freeform\Classpaths.java Locally Modified (Based On 1.11) *************** *** 208,214 **** * Tries to find all compilation units and calculate all the paths needed * for each of them and register them all. */ ! public synchronized void opened() { if (registeredClasspaths != null) { return; } --- 208,224 ---- * Tries to find all compilation units and calculate all the paths needed * for each of them and register them all. */ ! public void opened() { ! // #97366: taking read access to prevent deadlock, same trick as #77015 ! ProjectManager.mutex().readAccess(new Mutex.Action() { ! public Void run() { ! openedImpl(); ! return null; ! } ! }); ! } ! ! private synchronized void openedImpl() { if (registeredClasspaths != null) { return; }