8000 Add accessibility check to ReflectionUtils class by ptziegler · Pull Request #1042 · eclipse-windowbuilder/windowbuilder · GitHub
[go: up one dir, main page]

Skip to content

Add accessibility check to ReflectionUtils class#1042

Merged
ptziegler merged 1 commit intoeclipse-windowbuilder:masterfrom
ptziegler:accessibility_check
Apr 26, 2025
Merged

Add accessibility check to ReflectionUtils class#1042
ptziegler merged 1 commit intoeclipse-windowbuilder:masterfrom
ptziegler:accessibility_check

Conversation

@ptziegler
Copy link
Contributor

This check makes sure that we only create a "private" lookup for the given class if the package has been explicitly opened for us. Otherwise an IllegalAccessException is thrown, which obscures the exceptions being thrown at other places that still access the methods directly.

This check makes sure that we only create a "private" lookup for the
given class if the package has been explicitly opened for us. Otherwise
an IllegalAccessException is thrown, which obscures the exceptions being
8D81

thrown at other places that still access the methods directly.
@ptziegler ptziegler added this to the 1.20.0 milestone Apr 26, 2025
@ptziegler ptziegler merged commit 73c48d5 into eclipse-windowbuilder:master Apr 26, 2025
5 checks passed
@ptziegler ptziegler deleted the accessibility_check branch April 26, 2025 07:32
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.

1 participant

0