Skip to content

Remove AppleExtension library#2823

Merged
hazendaz merged 1 commit intospotbugs:masterfrom
PatrikScully:feature/remove-apple-extension
Jan 20, 2024
Merged

Remove AppleExtension library#2823
hazendaz merged 1 commit intospotbugs:masterfrom
PatrikScully:feature/remove-apple-extension

Conversation

@PatrikScully
Copy link
Copy Markdown
Contributor

@PatrikScully PatrikScully commented Jan 19, 2024

The official Apple documentation describes that the OSXAdapter class makes work of the macOS Application Bar's Quit, About, and Preferences menu items. I removed the extension library and the adapter class from the codebase, and I tried the GUI again, and the menu items are still working. The About and Quit items are working as they should. The Preferences menu doesn't exist, but the Preferences/Reconfigure menu item can be found under the File menu. It's okay, I guess.

I tested with the ./spotbugs and ./spotbugs2 commands too and the application is working fine, I can load files, use the functions.

I compiled by Java 21.0.1 (12) and tested on macOS Sonoma 14.2.1. I didn't get any exceptions on the console while I tested the application.

Some screenshot:

image image image image

fixes #1324
fixes #418
fixes #2818

@PatrikScully PatrikScully marked this pull request as draft January 19, 2024 13:25
@PatrikScully PatrikScully marked this pull request as ready for review January 19, 2024 13:33
@hazendaz hazendaz self-assigned this Jan 20, 2024
@hazendaz
Copy link
Copy Markdown
Member

LGTM! Thank you for tackling this one.

@hazendaz
Copy link
Copy Markdown
Member

@Spatrik95 I'll go ahead and merge and add change log afterwards.

@hazendaz hazendaz merged commit 6c39b96 into spotbugs:master Jan 20, 2024
@hazendaz hazendaz added this to the SpotBugs 4.8.4 milestone Jan 20, 2024
PatrikScully pushed a commit to PatrikScully/spotbugs that referenced this pull request Jun 14, 2024
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.

Replace AWT-based GUI Remove the dependency on AppleJavaExtension Launching SpotBugs GUI on macOS triggers exception

2 participants