diff graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompileTheWorld.java @ 20831:5a97208e1824

CTW: Black-list some package to avoid linking problems when using an Oracle JDK >= 8u40
author Gilles Duboscq <gilles.m.duboscq@oracle.com>
date Thu, 09 Apr 2015 14:30:30 +0200
parents c5c8193325fa
children f61ff7f01bc2
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompileTheWorld.java	Thu Apr 09 13:27:37 2015 +0200
+++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompileTheWorld.java	Thu Apr 09 14:30:30 2015 +0200
@@ -322,6 +322,10 @@
                         continue;
                     }
 
+                    if (dottedClassName.startsWith("jdk.management.") || dottedClassName.startsWith("jdk.internal.cmm.*")) {
+                        continue;
+                    }
+
                     try {
                         // Load and initialize class
                         Class<?> javaClass = Class.forName(dottedClassName, true, loader);