JDK-8165112 : langtools/test/tools/javac/diags/CheckExamples.java fails after JDK-8160851
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 9
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2016-08-31
  • Updated: 2016-08-31
  • Resolved: 2016-08-31
Related Reports
Duplicate :  
Relates :  
Description
langtools test tools/javac/diags/CheckExamples.java starts failing after JDK-8160851:

java.lang.Exception: 1 errors occurred.
	at CheckExamples.run(CheckExamples.java:154)
	at CheckExamples.main(CheckExamples.java:79)
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method)
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62)
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:535)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
	at java.lang.Thread.run(java.base@9-internal/Thread.java:843)

Comments
ProcessorPathNoProcessorModulePath.java is fixed as part of JDK-8165109 and will close as a dup. [1] http://hg.openjdk.java.net/jdk9/dev/langtools/rev/98d653e53a0a
31-08-2016

This then fixed together with other test in JDK-8165109
31-08-2016

Test file langtools/test/tools/javac/diags/examples/ProcessorPathNoProcessorModulePath/ProcessorPathNoProcessorModulePath.java // options: -processormodulepath mods -processorpath mods -processormodulepath should be updated to --processor-module-path, as in this, from javac.main.Option PROCESSOR_PATH("--processor-path -processorpath", "opt.arg.path", "opt.processorpath", STANDARD, FILEMANAGER), PROCESSOR_MODULE_PATH("--processor-module-path", "opt.arg.path", "opt.processormodulepath", STANDARD, FILEMANAGER),
31-08-2016