--- old/test/langtools/tools/javac/StringsInSwitch/NonConstantLabel.java 2018-07-05 18:55:53.928000000 -0700 +++ new/test/langtools/tools/javac/StringsInSwitch/NonConstantLabel.java 2018-07-05 18:55:53.776000000 -0700 @@ -2,7 +2,6 @@ * @test /nodynamiccopyright/ * @bug 6827009 * @summary Check for non-constant case labels. - * @compile/fail/ref=NonConstantLabel6.out -XDrawDiagnostics -source 6 NonConstantLabel.java * @compile/fail/ref=NonConstantLabel.out -XDrawDiagnostics NonConstantLabel.java */ class NonConstantLabel {