--- old/test/langtools/tools/javac/depDocComment/SuppressDeprecation.java 2018-07-13 09:27:43.561001000 -0700 +++ new/test/langtools/tools/javac/depDocComment/SuppressDeprecation.java 2018-07-13 09:27:43.421001000 -0700 @@ -5,7 +5,7 @@ * @author gafter * * @compile/ref=SuppressDeprecation.out -Xlint:deprecation -XDrawDiagnostics SuppressDeprecation.java - * @compile/ref=SuppressDeprecation8.out -source 8 -Xlint:deprecation -XDrawDiagnostics SuppressDeprecation.java + * @compile/ref=SuppressDeprecation8.out -source 8 -Xlint:deprecation -XDrawDiagnostics -Xlint:-options SuppressDeprecation.java */ /* Test for the contexts in which deprecations warnings should --- old/test/langtools/tools/javac/depDocComment/SuppressDeprecation8.out 2018-07-13 09:27:43.937001000 -0700 +++ new/test/langtools/tools/javac/depDocComment/SuppressDeprecation8.out 2018-07-13 09:27:43.793001000 -0700 @@ -1,4 +1,3 @@ -- compiler.warn.source.no.bootclasspath: 8 SuppressDeprecation.java:83:10: compiler.warn.has.been.deprecated: g(), T SuppressDeprecation.java:84:14: compiler.warn.has.been.deprecated: g(), T SuppressDeprecation.java:85:9: compiler.warn.has.been.deprecated: var, T @@ -6,4 +5,4 @@ SuppressDeprecation.java:91:9: compiler.warn.has.been.deprecated: T(int), T SuppressDeprecation.java:99:1: compiler.warn.has.been.deprecated: T(), T SuppressDeprecation.java:131:17: compiler.warn.has.been.deprecated: X, compiler.misc.unnamed.package -8 warnings +7 warnings --- old/test/langtools/tools/javac/diags/examples/DiamondAndAnonClass.java 2018-07-13 09:27:44.297001000 -0700 +++ new/test/langtools/tools/javac/diags/examples/DiamondAndAnonClass.java 2018-07-13 09:27:44.161001000 -0700 @@ -24,8 +24,7 @@ // key: compiler.misc.feature.not.supported.in.source // key: compiler.misc.feature.diamond.and.anon.class // key: compiler.err.cant.apply.diamond.1 -// key: compiler.warn.source.no.bootclasspath -// options: -source 8 +// options: -source 8 -Xlint:-options import java.util.*; --- old/test/langtools/tools/javac/diags/examples/DirPathElementNotFound.java 2018-07-13 09:27:44.669001000 -0700 +++ new/test/langtools/tools/javac/diags/examples/DirPathElementNotFound.java 2018-07-13 09:27:44.529001000 -0700 @@ -22,8 +22,7 @@ */ // key: compiler.warn.dir.path.element.not.found -// key: compiler.warn.source.no.bootclasspath -// options: -Xlint:path -source 8 -target 8 -extdirs DoesNotExist +// options: -Xlint:path,-options -source 8 -target 8 -extdirs DoesNotExist // run: simple class DirPathElementNotFound { } --- old/test/langtools/tools/javac/diags/examples/ModulesNotSupportedInSource/module-info.java 2018-07-13 09:27:45.065001000 -0700 +++ new/test/langtools/tools/javac/diags/examples/ModulesNotSupportedInSource/module-info.java 2018-07-13 09:27:44.921001000 -0700 @@ -23,8 +23,7 @@ // key: compiler.err.feature.not.supported.in.source.plural // key: compiler.misc.feature.modules -// key: compiler.warn.source.no.bootclasspath -// options: -source 8 -Xlint:-path +// options: -source 8 -Xlint:-path,-options module ModulesNotSupportedInSource { } --- old/test/langtools/tools/javac/diags/examples/PrivateInterfaceMethodsNotSupported.java 2018-07-13 09:27:45.429001000 -0700 +++ new/test/langtools/tools/javac/diags/examples/PrivateInterfaceMethodsNotSupported.java 2018-07-13 09:27:45.289001000 -0700 @@ -23,8 +23,7 @@ // key: compiler.err.feature.not.supported.in.source.plural // key: compiler.misc.feature.private.intf.methods -// key: compiler.warn.source.no.bootclasspath -// options: -source 8 +// options: -source 8 -Xlint:-options interface PrivateInterfaceMethodsNotSupported { private void foo() {} --- old/test/langtools/tools/javac/diags/examples/VarInTryWithResourcesNotSupportedInSource.java 2018-07-13 09:27:45.809001000 -0700 +++ new/test/langtools/tools/javac/diags/examples/VarInTryWithResourcesNotSupportedInSource.java 2018-07-13 09:27:45.673001000 -0700 @@ -23,8 +23,7 @@ // key: compiler.err.feature.not.supported.in.source.plural // key: compiler.misc.feature.var.in.try.with.resources -// key: compiler.warn.source.no.bootclasspath -// options: -source 8 +// options: -source 8 -Xlint:-options class VarInTryWithResourcesNotSupportedInSource { void m() { --- old/test/langtools/tools/javac/generics/diamond/neg/Neg09a.java 2018-07-13 09:27:46.177001000 -0700 +++ new/test/langtools/tools/javac/generics/diamond/neg/Neg09a.java 2018-07-13 09:27:46.037001000 -0700 @@ -4,7 +4,7 @@ * * @summary Check that diamond is not allowed with anonymous inner class expressions at source < 9 * @author Maurizio Cimadamore - * @compile/fail/ref=Neg09a.out Neg09a.java -source 8 -XDrawDiagnostics + * @compile/fail/ref=Neg09a.out Neg09a.java -source 8 -XDrawDiagnostics -Xlint:-options * */ --- old/test/langtools/tools/javac/generics/diamond/neg/Neg09a.out 2018-07-13 09:27:46.537001000 -0700 +++ new/test/langtools/tools/javac/generics/diamond/neg/Neg09a.out 2018-07-13 09:27:46.401001000 -0700 @@ -1,4 +1,2 @@ -- compiler.warn.source.no.bootclasspath: 8 Neg09a.java:15:34: compiler.err.cant.apply.diamond.1: Neg09a.Member, (compiler.misc.feature.not.supported.in.source: (compiler.misc.feature.diamond.and.anon.class), 8, 9) 1 error -1 warning --- old/test/langtools/tools/javac/generics/diamond/neg/Neg09b.java 2018-07-13 09:27:46.921001000 -0700 +++ new/test/langtools/tools/javac/generics/diamond/neg/Neg09b.java 2018-07-13 09:27:46.781001000 -0700 @@ -4,7 +4,7 @@ * * @summary Check that diamond is not allowed with anonymous inner class expressions at source < 9 * @author Maurizio Cimadamore - * @compile/fail/ref=Neg09b.out Neg09b.java -source 8 -XDrawDiagnostics + * @compile/fail/ref=Neg09b.out Neg09b.java -source 8 -XDrawDiagnostics -Xlint:-options * */ --- old/test/langtools/tools/javac/generics/diamond/neg/Neg09b.out 2018-07-13 09:27:47.281001000 -0700 +++ new/test/langtools/tools/javac/generics/diamond/neg/Neg09b.out 2018-07-13 09:27:47.141001000 -0700 @@ -1,4 +1,2 @@ -- compiler.warn.source.no.bootclasspath: 8 Neg09b.java:16:34: compiler.err.cant.apply.diamond.1: Neg09b.Nested, (compiler.misc.feature.not.supported.in.source: (compiler.misc.feature.diamond.and.anon.class), 8, 9) 1 error -1 warning --- old/test/langtools/tools/javac/generics/diamond/neg/Neg09c.java 2018-07-13 09:27:47.669001000 -0700 +++ new/test/langtools/tools/javac/generics/diamond/neg/Neg09c.java 2018-07-13 09:27:47.525001000 -0700 @@ -4,7 +4,7 @@ * * @summary Check that diamond is not allowed with anonymous inner class expressions at source < 9 * @author Maurizio Cimadamore - * @compile/fail/ref=Neg09c.out Neg09c.java -source 8 -XDrawDiagnostics + * @compile/fail/ref=Neg09c.out Neg09c.java -source 8 -XDrawDiagnostics -Xlint:-options * */ --- old/test/langtools/tools/javac/generics/diamond/neg/Neg09c.out 2018-07-13 09:27:48.057001000 -0700 +++ new/test/langtools/tools/javac/generics/diamond/neg/Neg09c.out 2018-07-13 09:27:47.917001000 -0700 @@ -1,4 +1,2 @@ -- compiler.warn.source.no.bootclasspath: 8 Neg09c.java:15:39: compiler.err.cant.apply.diamond.1: Neg09c.Member, (compiler.misc.feature.not.supported.in.source: (compiler.misc.feature.diamond.and.anon.class), 8, 9) 1 error -1 warning --- old/test/langtools/tools/javac/generics/diamond/neg/Neg09d.java 2018-07-13 09:27:48.433001000 -0700 +++ new/test/langtools/tools/javac/generics/diamond/neg/Neg09d.java 2018-07-13 09:27:48.293001000 -0700 @@ -4,7 +4,7 @@ * * @summary Check that diamond is not allowed with anonymous inner class expressions at source < 9 * @author Maurizio Cimadamore - * @compile/fail/ref=Neg09d.out Neg09d.java -source 8 -XDrawDiagnostics + * @compile/fail/ref=Neg09d.out Neg09d.java -source 8 -XDrawDiagnostics -Xlint:-options * */ --- old/test/langtools/tools/javac/generics/diamond/neg/Neg09d.out 2018-07-13 09:27:48.801001000 -0700 +++ new/test/langtools/tools/javac/generics/diamond/neg/Neg09d.out 2018-07-13 09:27:48.657001000 -0700 @@ -1,4 +1,2 @@ -- compiler.warn.source.no.bootclasspath: 8 Neg09d.java:16:33: compiler.err.doesnt.exist: Neg09 1 error -1 warning --- old/test/langtools/tools/javac/TryWithResources/WeirdTwr.out 2018-07-13 09:27:49.169001000 -0700 +++ /dev/null 2018-06-23 12:18:36.692000000 -0700 @@ -1,6 +0,0 @@ -- compiler.warn.source.no.bootclasspath: 6 -- compiler.warn.option.obsolete.source: 6 -- compiler.warn.option.obsolete.suppression -WeirdTwr.java:14:12: compiler.err.feature.not.supported.in.source: (compiler.misc.feature.try.with.resources), 6, 7 -1 error -3 warnings --- old/test/langtools/tools/javac/warnings/6594914/T6594914b.out 2018-07-13 09:27:49.421001000 -0700 +++ /dev/null 2018-06-23 12:18:36.692000000 -0700 @@ -1,10 +0,0 @@ -- compiler.warn.source.no.bootclasspath: 1.8 -T6594914b.java:12:22: compiler.warn.sun.proprietary: sun.security.x509.X509CertInfo -T6594914b.java:17:33: compiler.warn.sun.proprietary: sun.security.x509.X509CertInfo -T6594914b.java:18:22: compiler.warn.sun.proprietary: sun.security.x509.X509CertInfo -T6594914b.java:19:37: compiler.warn.sun.proprietary: sun.security.x509.CertException -T6594914b.java:18:56: compiler.warn.sun.proprietary: sun.security.x509.X509CertInfo -T6594914b.java:27:26: compiler.warn.sun.proprietary: sun.security.x509.X509CertInfo -- compiler.note.deprecated.filename: T6594914b.java -- compiler.note.deprecated.recompile -7 warnings