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 - Failing SystemActionTest on JDK8 and Windows
Summary: Failing SystemActionTest on JDK8 and Windows
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Actions (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jan Peska
URL:
Keywords: JDK_8, JDK_SPECIFIC, TEST
Depends on:
Blocks:
 
Reported: 2014-01-23 09:51 UTC by Jiri Skrivanek
Modified: 2014-01-28 12:55 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 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