Prepare to make ProxyInstance.address field private again #286
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!286
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "private-address-field"
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?
The address of a java-gi proxy class must be accessed with the
handle()method (as specified in the Proxy interface). The actual address is stored in theaddressfield of the ProxyInstance class. That field had private visibility until java-gi 0.12, when it was changed to public visibility. I want to revert that, so it is now marked as deprecated, and will be changed to private visibility in a future release.