JDK-8131036 : Test tools/javac/platform/PlatformProviderTest.java fails with ToolBox$TaskError: Task javac failed: rc=1
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2015-07-13
  • Updated: 2015-07-13
  • Resolved: 2015-07-13
Related Reports
Duplicate :  
Relates :  
Description
Test name(s): tools/javac/platform/PlatformProviderTest.java
JDK tested:9b72
OS tested: Solaris11, OEL 7.*, Ubuntu 14.04 
Is it a regression? No 
Regression introduced in release/build: N/A 
                               
Is it platform specific? No

General Description:
                      
----------System.err:(33/1622)----------
[STDERR]:
getSupportedPlatformNames
getPlatform(name, )
getSourceVersion
getTargetVersion
getPlatformPath
testPlugin: [testPluginKey=testPluginValue]
process: {testAPKey=testAPValue}
process: {testAPKey=testAPValue}
PlatformProviderTestSource.java:4:49: compiler.warn.raw.class.use: java.util.ArrayList, java.util.ArrayList<E>
PlatformProviderTestSource.java:4:8: compiler.err.class.cant.write: PlatformProviderTestSource, /export/local/aurora/CommonData/langtools/test/tools/javac/platform/PlatformProviderTestSource.class
compiler.misc.count.error
compiler.misc.count.warn
close
ToolBox$TaskError: Task javac failed: rc=1
	at ToolBox$AbstractTask.checkExit(ToolBox.java:648)
	at ToolBox$AbstractTask.runProcess(ToolBox.java:734)
	at ToolBox$JavacTask.runExec(ToolBox.java:1068)
	at ToolBox$JavacTask.run(ToolBox.java:982)
	at PlatformProviderTest.doTest(PlatformProviderTest.java:97)
	at PlatformProviderTest.run(PlatformProviderTest.java:82)
	at PlatformProviderTest.main(PlatformProviderTest.java:69)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:502)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
	at java.lang.Thread.run(Thread.java:745)

JavaTest Message: Test threw exception: ToolBox$TaskError: Task javac failed: rc=1
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: ToolBox$TaskError: Task javac failed: rc=1