#177006

Marek Slama <[email protected]>
Newsgroups gmane.comp.java.netbeans.reviewers
Message-ID <[email protected]>
https://netbeans.org/bugzilla/show_bug.cgi?id=177006

CloneableEditorSupport.getDocument returns null if documentStatus is 
RELOADING.
Instead it should return document. Result of this incorrect behavior is 
#177006 where
editor initialization task will not wake up AWT and it results in 
indefinite hang.

IDE hangs, must be killed so it is showstopper

Fix is safe: getDocument will return document in all cases as it is 
called after call of prepareDocument
and using waitFinished to wait till document loading is finished. Change 
is simple and clear.

Vita reviewed fix.

http://hg.netbeans.org/core-main/rev/71cbea815ea6

Marek
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.