You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: aleph/README.md
+1-39
Original file line number
Diff line number
Diff line change
@@ -44,42 +44,4 @@ building a native image with Netty.
44
44
45
45
Additionally:
46
46
47
-
- Native image compilation fails with **GraalVM-CE-Java11-20.0.0** but works with **GraalVM-CE-Java8-20.0.0**.
48
-
this is the error message:
49
-
```
50
-
Caused by: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: No instances of java.io.FilePermission are allowed in the image heap as this class should be initialized at image runtime. To see how this object got instantiated use -H:+TraceClassInitialization.
51
-
Detailed message:
52
-
Trace: Object was reached by
53
-
reading field java.util.concurrent.ConcurrentHashMap$Node.val of
54
-
constant java.util.concurrent.ConcurrentHashMap$Node@e542855d reached by
55
-
indexing into array
56
-
constant java.util.concurrent.ConcurrentHashMap$Node[]@6547c011 reached by
57
-
reading field java.util.concurrent.ConcurrentHashMap.table of
58
-
constant java.util.concurrent.ConcurrentHashMap@e542855d reached by
59
-
reading field java.io.FilePermissionCollection.perms of
60
-
constant java.io.FilePermissionCollection@733c1c92 reached by
61
-
reading field java.util.concurrent.ConcurrentHashMap$Node.val of
62
-
constant java.util.concurrent.ConcurrentHashMap$Node@25c17b8c reached by
63
-
indexing into array
64
-
constant java.util.concurrent.ConcurrentHashMap$Node[]@1e34f8ee reached by
65
-
reading field java.util.concurrent.ConcurrentHashMap.table of
66
-
constant java.util.concurrent.ConcurrentHashMap@25c17b8c reached by
67
-
reading field java.security.Permissions.permsMap of
68
-
constant java.security.Permissions@4c99021a reached by
69
-
reading field java.security.ProtectionDomain.permissions of
70
-
constant java.security.ProtectionDomain@5785676d reached by
71
-
indexing into array
72
-
constant java.security.ProtectionDomain[]@7a1bf7a6 reached by
73
-
reading field java.security.AccessControlContext.context of
74
-
constant java.security.AccessControlContext@5785676d reached by
75
-
reading field java.net.URLClassLoader.acc of
76
-
constant clojure.lang.DynamicClassLoader@43e12bef reached by
77
-
reading field java.lang.Class.classLoader of
78
-
constant java.lang.Class@1cf8be3b reached by
79
-
Hub
80
-
81
-
at com.oracle.graal.pointsto.constraints.UnsupportedFeatures.report(UnsupportedFeatures.java:126)
82
-
at com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:738)
83
-
... 8 more
84
-
Error: Image build request failed with exit status 1
85
-
```
47
+
- Native image compilation works with **GraalVM-CE-Java11-20.1.0** and **GraalVM-CE-Java8-20.0.0**.
0 commit comments