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 40890

Summary: MutexTest is showing exception boxes
Product: platform Reporter: Jaroslav Tulach <jtulach>
Component: -- Other --Assignee: Petr Nejedly <pnejedly>
Status: RESOLVED FIXED    
Severity: blocker Keywords: TEST
Priority: P2    
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Jaroslav Tulach 2004-03-10 08:56:35 UTC
After enabling the warning when mutex goes from
read to write access one or two of its tests seem
to expose this behaviour. If the tests are wrong
then get rid of them, if they are ok and should
show the warning, register your own ErrorManager
and verify that the warning is really shown. 

An example how to register ErrorManager is in 
http://www.netbeans.org/source/browse/openide/test/unit/src/org/openide/util/actions/AsynchronousTest.java?rev=1.1&content-type=text/x-cvsweb-markup
Comment 1 Petr Nejedly 2004-03-11 09:22:57 UTC
The test tested wrong behaviour. For now, I've commented out the test,
because the Mutex should actually throw the exception on upgrade, not
only show the warning.