Skip to content

Conversation

@jwharm
Copy link
Owner

@jwharm jwharm commented Aug 12, 2025

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.
@jwharm jwharm merged commit 3930a5f into main Aug 12, 2025
@jwharm jwharm deleted the boxed-types-improvements branch August 12, 2025 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants