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.
[200406131800] Test Suite org.netbeans.core.modules.ModuleManagerTest estModuleDeletion: junit.framework.AssertionFailedError: could delete JAR file at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at org.netbeans.core.modules.ModuleManagerTest.testModuleDeletion(ModuleManagerTest.java:1300)
Created attachment 15686 [details] exception stacktrace
Well I don't run Windows so I can't actually check why this fails (it passes on Unix). But I can guess and I can fix the test based on that guess.
committed Up-To-Date 1.34 core/test/unit/src/org/netbeans/core/modules/ModuleManagerTest.java
*** Issue 44830 has been marked as a duplicate of this issue. ***
verified, the test passed
the test failed on [200407191800], win 2k. testModuleDeletion: junit.framework.AssertionFailedError: could delete JAR file at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at org.netbeans.core.modules.ModuleManagerTest.testModuleDeletion(ModuleManagerTest.java:1322) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Hmm, well I do not have a Windows installation to test on and I have no further ideas about it. I don't know if the failure corresponds to any actual bug. I will just remove this test from the stable test config. If someone else knowledgeable about Windows wants to look at it, great.
I'll be glad to learn more about module system.
cvs ci -lm "Reenabling the testModuleDeletion to see whether it still fails or not" Checking in cfg-unit.xml; /cvs/core/test/cfg-unit.xml,v <-- cfg-unit.xml new revision: 1.66; previous revision: 1.65 /usr/local/home/jarda/src/nb_all/nbbuild/d
Small improvements to make it pass on windows: Checking in ModuleManagerTest.java; /cvs/core/test/unit/src/org/netbeans/core/modules/ModuleManagerTest.java,v <-- ModuleManagerTest.java new revision: 1.40; previous revision: 1.39 done
verified