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 237561 - Failing tests on JDK8
Summary: Failing tests on JDK8
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.0
Hardware: All All
: P1 normal (vote)
Assignee: Jaroslav Tulach
: 237854 (view as bug list)
Depends on:
Reported: 2013-10-23 14:12 UTC by Jiri Skrivanek
Modified: 2013-11-25 09:02 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2013-10-23 14:12:44 UTC
Please, fix tests failing on JDK8. To reproduce:

ant -f openide.util test-unit -Dtest.includes=**/ImageUtilitiesGetLoaderTest.class
Comment 1 Jiri Skrivanek 2013-10-31 14:14:29 UTC
*** Bug 237854 has been marked as a duplicate of this bug. ***
Comment 2 Jan Peska 2013-11-19 12:49:50 UTC
Jardo, can you please take a look at this? The test was written by you and honestly I know nothing about it or ImageItilities.

Comment 3 Jaroslav Tulach 2013-11-20 08:08:45 UTC
I don't see the test failing at the given link. Searching for "Image" no the page yields no results.

Locally on 1.8.0-ea-b113 I get following failure however:

$ ant -f openide.util/build.xml test-unit -Dtest.includes=**/ImageUtilitiesGetLoaderTest.class -Dnbjdk.home=/usr/local/lib/jdk1.8.0/

Testcase: testWrongImplOfGetLoaderIssue62194(ImageUtilitiesGetLoaderTest): FAILED
Error manager race condition activated
junit.framework.AssertionFailedError: Error manager race condition activated
at o.o.util.ImageUtilitiesGetLoaderTest.testWrongImplOfGetLoaderIssue62194(:80)
Test org.openide.util.ImageUtilitiesGetLoaderTest FAILED
Comment 4 Jaroslav Tulach 2013-11-20 09:05:15 UTC
Comment 5 Quality Engineering 2013-11-24 02:20:40 UTC
Integrated into 'main-silver', will be available in build *201311240002* on (upload may still be in progress)

User: Jaroslav Tulach <>
Log: #237561: Something changed in the way JDK8 initializes loggers. Need to init the AWT's logger first before changing global logger's level to ALL.