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 237854 - org.openide.util.ImageUtilitiesGetLoaderTest fails on JDK8
Summary: org.openide.util.ImageUtilitiesGetLoaderTest fails on JDK8
Status: RESOLVED DUPLICATE of bug 237561
Alias: None
Product: qa
Classification: Unclassified
Component: Tests (show other bugs)
Version: 7.3.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@qa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-31 11:40 UTC by taras.ledkov
Modified: 2013-10-31 14:14 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 taras.ledkov 2013-10-31 11:40:22 UTC
The test testWrongImplOfGetLoaderIssue62194 fails with error 'Error manager race condition activated'. But under debugger i saw that line:
ImageUtilities : 345 : ERR.fine("Loader computed: " + currentLoader); // NOI18N

is executed. But this string isn't caught by ImageUtilitiesGetLoaderTest.ErrMgr handler.
 
Assertion:
junit.framework.AssertionFailedError: Error manager race condition activated
at junit.framework.Assert.fail(Assert.java:50)
at junit.framework.Assert.assertTrue(Assert.java:20)
at org.openide.util.ImageUtilitiesGetLoaderTest.testWrongImplOfGetLoaderIssue62194(ImageUtilitiesGetLoaderTest.java:80)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:491)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:243)
at junit.framework.TestSuite.run(TestSuite.java:238)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:520)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1060)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:911)
Environment: 
JDK 8 b111
Ubuntu 13.04 x86
Comment 1 Jiri Skrivanek 2013-10-31 14:14:29 UTC
Yes, we know about failures. In fact all failures listed at page below are filed as bugs.

http://test4u.cz.oracle.com/job/StableBTD-trunk/lastCompletedBuild/testReport

*** This bug has been marked as a duplicate of bug 237561 ***