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 240862

Summary: Failing SystemActionTest on JDK8 and Windows
Product: platform Reporter: Jiri Skrivanek <jskrivanek>
Component: ActionsAssignee: Jan Peska <JPESKA>
Status: VERIFIED FIXED    
Severity: normal Keywords: JDK_8, JDK_SPECIFIC, TEST
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description Jiri Skrivanek 2014-01-23 09:51:25 UTC
Please, fix SystemActionTest failing on JDK8 and Windows. To reproduce:

ant -f openide.util test-unit -Dtest.includes=**/SystemActionTest.class

http://test4u.cz.oracle.com/job/StableBTD-trunk/lastCompletedBuild/testReport
Comment 1 Ondrej Vrabec 2014-01-23 10:29:38 UTC
What JDK8 build?
Comment 2 Jiri Skrivanek 2014-01-23 10:36:55 UTC
1.8.0-ea; Java HotSpot(TM) 64-Bit Server VM 25.0-b66; Oracle Corporation
Java(TM) SE Runtime Environment 1.8.0-ea-b124
Comment 3 Quality Engineering 2014-01-24 02:39:01 UTC
Integrated into 'main-silver', will be available in build *201401240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/a3e2df809e5d
User: Jiri Skrivanek <jskrivanek@netbeans.org>
Log: #240862 - Test removed from stableBTD config until it is fixed.
Comment 4 Ondrej Vrabec 2014-01-24 08:41:23 UTC
not  sure why it's failing, i made a change that seems to somehow help: core-main #db0532c6528d. At least out of several runs it has not failed even once (in opposite to the original code). Now we attach listener to the SystemAction's logger after it is fully initialized. Please test it and check it helps.
Comment 5 Quality Engineering 2014-01-26 02:16:44 UTC
Integrated into 'main-silver', will be available in build *201401260001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/db0532c6528d
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #240862 - Failing SystemActionTest on JDK8 and Windows
initialize logger in SystemAction before attaching to its output in the test