changeset 58299 | 6df94ce3ab2f |
parent 55509 | d58442b8abc1 |
child 58533 | 46b0b7fe255c |
58298:0152ad7b38b8 | 58299:6df94ce3ab2f |
---|---|
94 } else if (packageName.startsWith("com.oracle.svm")) { |
94 } else if (packageName.startsWith("com.oracle.svm")) { |
95 // SVM must read system properties in: |
95 // SVM must read system properties in: |
96 // * its JDK substitutions to mimic required JDK semantics |
96 // * its JDK substitutions to mimic required JDK semantics |
97 // * native-image for config info |
97 // * native-image for config info |
98 return; |
98 return; |
99 } else if (packageName.startsWith("jdk.tools.jaotc")) { |
|
100 // Workaround since jdk.internal.vm.ci/jdk.vm.ci.services is not exported to jdk.aot. |
|
101 // The jaotc launcher dynamically adds these exports. |
|
102 return; |
|
99 } |
103 } |
100 for (MethodCallTargetNode t : graph.getNodes(MethodCallTargetNode.TYPE)) { |
104 for (MethodCallTargetNode t : graph.getNodes(MethodCallTargetNode.TYPE)) { |
101 ResolvedJavaMethod callee = t.targetMethod(); |
105 ResolvedJavaMethod callee = t.targetMethod(); |
102 if (callee.getDeclaringClass().equals(systemType)) { |
106 if (callee.getDeclaringClass().equals(systemType)) { |
103 if (callee.getName().equals("getProperty") || callee.getName().equals("getProperties")) { |
107 if (callee.getName().equals("getProperty") || callee.getName().equals("getProperties")) { |