File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
compiler/src/jdk.graal.compiler.libgraal/src/jdk/graal/compiler/libgraal Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -68,13 +68,13 @@ static final class Target_java_lang_Class {
68
68
@ Substitute
69
69
public static Class <?> forName (String name , boolean initialize , ClassLoader loader )
70
70
throws ClassNotFoundException {
71
- throw new ClassNotFoundException (name );
71
+ throw new ClassNotFoundException (name + " (class loading not supported in libgraal)" );
72
72
}
73
73
74
74
@ Substitute
75
75
private static Class <?> forName (String className , Class <?> caller )
76
76
throws ClassNotFoundException {
77
- throw new ClassNotFoundException (className );
77
+ throw new ClassNotFoundException (className + " (class loading not supported in libgraal)" );
78
78
}
79
79
80
80
@ Substitute
@@ -95,7 +95,7 @@ public Set<String> getPackages() {
95
95
static final class Target_java_lang_ClassLoader {
96
96
@ Substitute
97
97
public Class <?> loadClass (String name ) throws ClassNotFoundException {
98
- throw new ClassNotFoundException (name );
98
+ throw new ClassNotFoundException (name + " (class loading not supported in libgraal)" );
99
99
}
100
100
101
101
@ Substitute
You can’t perform that action at this time.
0 commit comments