8145990: Move sun.misc math support classes to jdk.internal.math
Reviewed-by: bpb, darcy
--- a/langtools/test/tools/javac/proprietary/WarnVariable.java Tue Dec 22 16:37:52 2015 +0530
+++ b/langtools/test/tools/javac/proprietary/WarnVariable.java Tue Dec 22 12:19:01 2015 +0000
@@ -3,7 +3,7 @@
* @bug 6380059
* @summary Emit warnings for proprietary packages in the boot class path
* @author Peter von der Ah\u00e9
- * @modules java.base/sun.misc
+ * @modules java.base/sun.security.x509
* @compile WarnVariable.java
* @compile/fail/ref=WarnVariable.out -XDrawDiagnostics -Werror WarnVariable.java
* @compile/fail/ref=WarnVariable.out -XDrawDiagnostics -Werror -nowarn WarnVariable.java
@@ -12,6 +12,6 @@
public class WarnVariable {
public static void main(String... args) {
- System.out.println(sun.misc.FloatConsts.POSITIVE_INFINITY);
+ System.out.println(sun.security.x509.X509CertImpl.NAME);
}
}
--- a/langtools/test/tools/javac/proprietary/WarnVariable.out Tue Dec 22 16:37:52 2015 +0530
+++ b/langtools/test/tools/javac/proprietary/WarnVariable.out Tue Dec 22 12:19:01 2015 +0000
@@ -1,4 +1,4 @@
-WarnVariable.java:15:36: compiler.warn.sun.proprietary: sun.misc.FloatConsts
+WarnVariable.java:15:45: compiler.warn.sun.proprietary: sun.security.x509.X509CertImpl
- compiler.err.warnings.and.werror
1 error
1 warning
--- a/langtools/test/tools/javac/proprietary/WarnWildcard.java Tue Dec 22 16:37:52 2015 +0530
+++ b/langtools/test/tools/javac/proprietary/WarnWildcard.java Tue Dec 22 12:19:01 2015 +0000
@@ -3,7 +3,7 @@
* @bug 6380059
* @summary Emit warnings for proprietary packages in the boot class path
* @author Peter von der Ah\u00e9
- * @modules java.base/sun.misc
+ * @modules java.base/sun.security.x509
* @compile WarnWildcard.java
* @compile/fail/ref=WarnWildcard.out -XDrawDiagnostics -Werror WarnWildcard.java
* @compile/fail/ref=WarnWildcard.out -XDrawDiagnostics -Werror -nowarn WarnWildcard.java
@@ -11,5 +11,5 @@
*/
public class WarnWildcard {
- java.util.Collection<? extends sun.misc.FloatConsts> x;
+ java.util.Collection<? extends sun.security.x509.X509CertImpl> x;
}
--- a/langtools/test/tools/javac/proprietary/WarnWildcard.out Tue Dec 22 16:37:52 2015 +0530
+++ b/langtools/test/tools/javac/proprietary/WarnWildcard.out Tue Dec 22 12:19:01 2015 +0000
@@ -1,4 +1,4 @@
-WarnWildcard.java:14:44: compiler.warn.sun.proprietary: sun.misc.FloatConsts
+WarnWildcard.java:14:53: compiler.warn.sun.proprietary: sun.security.x509.X509CertImpl
- compiler.err.warnings.and.werror
1 error
1 warning