Improve handling of GValues with boxed types and string arrays #260

Merged
jwharm merged 1 commit from boxed-types-improvements into main 2025-08-12 11:54:51 +02:00
jwharm commented 2025-08-12 11:54:42 +02:00 (Migrated from github.com)

Java-GI will now register boxed types in the TypeCache, so when a GValue contains a boxed value, Java-GI is able to construct the expected Java proxy class instance.

Also added handling of GStrv GValues, so they are automatically converted from and to Java String[].

The GValue conversion functions will now throw an UnsupportedOperationException when a type cannot be convered.

Java-GI will now register boxed types in the TypeCache, so when a GValue contains a boxed value, Java-GI is able to construct the expected Java proxy class instance. Also added handling of GStrv GValues, so they are automatically converted from and to Java String[]. The GValue conversion functions will now throw an UnsupportedOperationException when a type cannot be convered.
Sign in to join this conversation.
No description provided.