Skip to content

Commit

Permalink
Build TruffleSqueak Native with AWT backend
Browse files Browse the repository at this point in the history
and drop SDL2 backend
  • Loading branch information
fniephaus committed Jun 14, 2022
1 parent c99d6f2 commit 54c7935
Show file tree
Hide file tree
Showing 15 changed files with 741 additions and 1,395 deletions.
6 changes: 2 additions & 4 deletions mx.trufflesqueak/native-image.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@ ImageName = trufflesqueak

Requires = language:nfi

JavaArgs = -Dpolyglot.engine.PreinitializeContexts=squeak
JavaArgs = -Dpolyglot.engine.PreinitializeContexts=squeak -Djava.awt.headless=false

Args = -H:MaxRuntimeCompileMethods=5000 \
--enable-url-protocols=https \
-H:+AssertInitializationSpecifiedForAllClasses \
--initialize-at-build-time=de.hpi.swa.trufflesqueak,org.bouncycastle \
--initialize-at-build-time=java.awt,sun.awt.image,com.sun.jndi,sun.java2d.cmm \
--initialize-at-run-time=sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher
--initialize-at-run-time=com.sun.imageio.plugins,com.sun.java.swing,java.applet,java.awt,javax.accessibility,javax.imageio,javax.swing,sun.awt,sun.datatransfer,sun.font,sun.java2d,sun.swing,com.sun.beans.util
Loading

0 comments on commit 54c7935

Please sign in to comment.