From a1796aa5ed280203c1bfc086ee5a368ae628611d Mon Sep 17 00:00:00 2001 From: Jason Zaugg Date: Mon, 9 Sep 2013 22:32:28 +0200 Subject: [PATCH] SI-7398 Enable test for Java 8 source parser under Java 8 There is no need to skip it as it only depends on our changes to our JavaParser, and not on any bytecode features of Java 8. --- test/files/run/t7398.scala | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/files/run/t7398.scala b/test/files/run/t7398.scala index dd59697b7134..493c4dcf4053 100644 --- a/test/files/run/t7398.scala +++ b/test/files/run/t7398.scala @@ -3,11 +3,9 @@ import scala.tools.partest._ object Test extends CompilerTest { import global._ - // This way we auto-pass on non-java8 since there's nothing to check - override lazy val units: List[CompilationUnit] = testUnderJavaAtLeast("1.8") { + override lazy val units: List[CompilationUnit] = { + // This test itself does not depend on JDK8. javaCompilationUnits(global)(defaultMethodSource) - } otherwise { - Nil } private def defaultMethodSource = """