Improve handling of GValues with boxed types and string arrays #260
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
java
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
java-gi/java-gi!260
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "boxed-types-improvements"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.