changeset 3183:5d73162435ba

8145990: Move sun.misc math support classes to jdk.internal.math Reviewed-by: bpb, darcy
author chegar
date Tue, 22 Dec 2015 12:19:01 +0000
parents bdbad16dd9ac
children 33e28fa7fa17
files test/tools/javac/proprietary/WarnVariable.java test/tools/javac/proprietary/WarnVariable.out test/tools/javac/proprietary/WarnWildcard.java test/tools/javac/proprietary/WarnWildcard.out
diffstat 4 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/test/tools/javac/proprietary/WarnVariable.java	Tue Dec 22 16:37:52 2015 +0530
+++ b/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/test/tools/javac/proprietary/WarnVariable.out	Tue Dec 22 16:37:52 2015 +0530
+++ b/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/test/tools/javac/proprietary/WarnWildcard.java	Tue Dec 22 16:37:52 2015 +0530
+++ b/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/test/tools/javac/proprietary/WarnWildcard.out	Tue Dec 22 16:37:52 2015 +0530
+++ b/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