JDK-8003596 : TEST_BUG: java/util/logging/CheckLockLocationTest.java failing [win]
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util.logging
  • Affected Version: 8
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2012-11-19
  • Updated: 2013-07-22
  • Resolved: 2012-12-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8 b69Fixed
Related Reports
Relates :  
Relates :  
Description
This test was added as part of JDK-6244047 but it needs a few adjustments to work reliably on Windows. It particular, it cannot assume that setWritable can change the access to directories, this method has never been able to do this.

--------------------------------------------------
TEST: java/util/logging/CheckLockLocationTest.java
JDK under test: (C:\jprt\T\P1\060500~1.ALB\TESTPR~1\WINDOW~1.1-P)
java version "1.8.0-internal"
Java(TM) SE Runtime Environment (build 1.8.0-internal-201211180605.albatem.tl-b00)
Java HotSpot(TM) Client VM (build 25.0-b09, mixed mode)


ACTION: build -- Passed. Build successful
REASON: Named class compiled on demand
TIME:   0.157 seconds
messages:
command: build CheckLockLocationTest
reason: Named class compiled on demand
elapsed time (seconds): 0.157

ACTION: compile -- Passed. Compilation successful
REASON: .class file out of date or does not exist
TIME:   0.157 seconds
messages:
command: compile C:\jprt\T\P1\060500.albatem\s\jdk\test\java\util\logging\CheckLockLocationTest.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.157

ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test setup failed: unable to make working directory C:\jprt\T\P1\060500.albatem\io\windows_i586-product-c1-jdk_util\non-writable-dir non-writable.
REASON: User specified action: run main/othervm CheckLockLocationTest 
TIME:   0.265 seconds
messages:
command: main CheckLockLocationTest
reason: User specified action: run main/othervm CheckLockLocationTest 
elapsed time (seconds): 0.265
STDOUT:
STDERR:
java.lang.RuntimeException: Test setup failed: unable to make working directory C:\jprt\T\P1\060500.albatem\io\windows_i586-product-c1-jdk_util\non-writable-dir non-writable.
	at CheckLockLocationTest.setup(CheckLockLocationTest.java:167)
	at CheckLockLocationTest.main(CheckLockLocationTest.java:51)
	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:474)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
	at java.lang.Thread.run(Thread.java:722)

JavaTest Message: Test threw exception: java.lang.RuntimeException: Test setup failed: unable to make working directory C:\jprt\T\P1\060500.albatem\io\windows_i586-product-c1-jdk_util\non-writable-dir non-writable.
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test setup failed: unable to make working directory C:\jprt\T\P1\060500.albatem\io\windows_i586-product-c1-jdk_util\non-writable-dir non-writable.

TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test setup failed: unable to make working directory C:\jprt\T\P1\060500.albatem\io\windows_i586-product-c1-jdk_util\non-writable-dir non-writable.
--------------------------------------------------