JDK-8154149 : tools/javac/unit/T6198196.java broken on Windows after JDK-8150641
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 9
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows
  • Submitted: 2016-04-13
  • Updated: 2023-07-27
  • Resolved: 2016-04-13
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 9
9 b115Fixed
Related Reports
Duplicate :  
Relates :  
Description
Stacktrace

Execution failed: `main' threw exception: java.lang.AssertionError: endsWith(package-info.java, package-info) != true    

Standard Output

OK: endsWith(/x/y/z/package-info.java, package-info) = true
OK: endsWith(\x\y\z\package-info.java, package-info) = true
OK: endsWith(..\x\y\z\package-info.java, package-info) = true
OK: endsWith(Package-info.java, package-info) = false
OK: endsWith(../x/y/z/package-info.java, package-info) = true
OK: endsWith(/x/y/z/package-info.java, package-info) = true
OK: endsWith(x/y/z/package-info.java, package-info) = true
    

Standard Error

java.lang.AssertionError: endsWith(package-info.java, package-info) != true
	at T6198196.test(T6198196.java:44)
	at T6198196.main(T6198196.java:64)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531)
	at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226)
	at java.lang.Thread.run(java.base@9-internal/Thread.java:804)

JavaTest Message: Test threw exception: java.lang.AssertionError
JavaTest Message: shutting down test

Comments
URL: http://hg.openjdk.java.net/jdk9/jdk9/langtools/rev/a399f56c42aa User: lana Date: 2016-04-20 17:52:34 +0000
20-04-2016

URL: http://hg.openjdk.java.net/jdk9/dev/langtools/rev/a399f56c42aa User: jlahoda Date: 2016-04-13 20:08:04 +0000
13-04-2016