8144062: Move jdk.Version to java.lang.Runtime.Version

Reviewed-by: abuckley, alanb, forax, jjg, mchung, psandoz
This commit is contained in:
Iris Clark 2016-05-19 11:56:38 -07:00
parent cad01946df
commit 45ede707d8
2 changed files with 3 additions and 3 deletions

View file

@ -61,7 +61,7 @@ import javax.lang.model.util.Elements;
import javax.tools.FileObject;
import jdk.jshell.MemoryFileManager.SourceMemoryJavaFileObject;
import jdk.jshell.ClassTracker.ClassInfo;
import jdk.Version;
import java.lang.Runtime.Version;
/**
* The primary interface to the compiler API. Parsing, analysis, and

View file

@ -23,7 +23,7 @@
/*
* @test
* @bug 8149757
* @bug 8149757 8144062
* @summary Test that StandardJavaFileManager uses the correct version of a
* class from a multi-release jar on classpath
* @library /tools/lib
@ -164,7 +164,7 @@ public class MultiReleaseJarAwareSJFM {
{"", 8},
{"8", 8},
{"9", 9},
{"runtime", jdk.Version.current().major()}
{"runtime", Runtime.version().major()}
};
}