Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eliminate imagej-legacy dependency #114

Merged
merged 2 commits into from
Apr 9, 2024
Merged

Conversation

ctrueden
Copy link
Contributor

This avoids downstream issues with the too-late patching of net.imagej:ij that can occur in some scenarios when imagej-legacy is on the classpath.

We can check whether the application frame is a UIComponent,
then check whether its associated component is a Frame,
without having a hard dependency on the LegacyApplicationFrame.
This reduces labkit-ui's dependency footprint, and avoids downstream
issues with the too-late patching of net.imagej:ij that can occur in
some scenarios when imagej-legacy is on the classpath.
@maarzt maarzt merged commit b53b1be into juglab:master Apr 9, 2024
1 check passed
@maarzt
Copy link
Collaborator

maarzt commented Apr 9, 2024

Thank you for suggesting the change!

@ctrueden ctrueden deleted the no-legacy-dep branch April 9, 2024 17:30
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.

None yet

2 participants