Please, fix failing org.netbeans.core.startup.layers.CachingPreventsFileTouchesTest.testInMiddle. It fails 26 times in row on deadlock:
Reproduced also locally in main repository (cf8ba9a7b7c4):
ant -k -f core.startup test test-generate-html -Dtest.includes=**/CachingPreventsFileTouchesTest.class
Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b55
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b40
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Jarda, please evaluate in 7.4 .
If test failure does not mean bug in core.startup functionality, please fix the test only in dev version.
Still investigating when the test started to fail. But given the nature of the failure, it is unlikely this is a problem in the code.
So far I know the test passes OK in release73 @ JDK1.6. The test fails on release73 @ 1.7.0_25-b15. There must be something wrong in JDK7's logging configuration.
JDK7 has something called "LoggerContext" and the test setup and test execution disagree on the context. Thus the test execution does not use the logger configured by the setup.
btw. also started to fail on recent JDK7 - u40 I guess.