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 - MutexTest is showing exception boxes
Summary: MutexTest is showing exception boxes
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 4.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Petr Nejedly
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2004-03-10 08:56 UTC by Jaroslav Tulach
Modified: 2008-12-22 22:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.