Skip to content

Commit 48a4720

Browse files
committed
Add missing JNI configuration
1 parent 230c20c commit 48a4720

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ private void setupAwt() {
278278
"supportsAlpha", "transparency" )
279279
.registerMethodForJni( "getRGBdefault" );
280280
Native.forClass( java.awt.image.IndexColorModel.class )
281-
.registerFieldsForJni( "allgrayopaque", "map_size", "rgb", "transparent_index" );
281+
.registerFieldsForJni( "allgrayopaque", "map_size", "rgb", "transparent_index", "colorData" );
282282
Native.forClass( "sun.awt.AWTAutoShutdown" )
283283
.registerMethodForJni( "notifyToolkitThreadBusy" )
284284
.registerMethodForJni( "notifyToolkitThreadFree" );

0 commit comments

Comments
 (0)