Skip to content

Commit cf1fa2f

Browse files
authored
Merge pull request #810 from bci-oss/809-fix-diagram-generation-in-native-samm-cli
Fix diagram generation in native samm-cli build
2 parents bad6d2f + daba9dd commit cf1fa2f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/esmf-native-support/src/main/java/org/eclipse/esmf/nativefeatures/DiagramFeature.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,8 @@ private void setupAwt() {
257257
Native.forClass( java.awt.GraphicsEnvironment.class )
258258
.registerMethodForJni( "getLocalGraphicsEnvironment" )
259259
.registerMethodForJni( "isHeadless" );
260+
Native.forClass( "java.awt.GraphicsEnvironment$LocalGE" )
261+
.registerClassForReflection();
260262
Native.forClass( java.awt.event.KeyEvent.class )
261263
.registerFieldsForJni( "isProxyActive" );
262264
Native.forClass( java.awt.geom.AffineTransform.class )

0 commit comments

Comments
 (0)