Skip to content

Commit dcad015

Browse files
authored
update aleph clojure version (#20)
1 parent a53327e commit dcad015

File tree

2 files changed

+2
-40
lines changed

2 files changed

+2
-40
lines changed

aleph/README.md

+1-39
Original file line numberDiff line numberDiff line change
@@ -44,42 +44,4 @@ building a native image with Netty.
4444

4545
Additionally:
4646

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**.

aleph/project.clj

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
[io.netty/netty-buffer "4.1.39.Final"]]
1717

1818

19-
:dependencies [[org.clojure/clojure "1.10.0"]
19+
:dependencies [[org.clojure/clojure "1.10.2-alpha1"]
2020
[aleph "0.4.7-alpha5"]]
2121
:main simple.main
2222
:uberjar-name "simple-main.jar"

0 commit comments

Comments
 (0)