Skip to content

Remove unnecessary dependencies on JDK modules not in java.base. #3133

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

Merged
merged 3 commits into from
Mar 29, 2022

Conversation

millems
Copy link
Contributor

@millems millems commented Mar 29, 2022

This didn't remove all of the dependencies on such modules, just the unnecessary ones.

Also added a checkstyle rule to prevent such dependencies in the future (except where they are intentional).

Fixes #3041 .

@millems millems requested a review from a team as a code owner March 29, 2022 18:47
@millems millems force-pushed the millem/remove-transients branch 2 times, most recently from 6a0e8f5 to 482544b Compare March 29, 2022 19:42
This didn't remove all of the dependencies on such modules, just the unnecessary ones.

Also added a checkstyle rule to prevent such dependencies in the future (except where they are intentional).
@millems millems force-pushed the millem/remove-transients branch from 482544b to fd3017e Compare March 29, 2022 19:43
Copy link
Contributor

@dagnir dagnir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice change!

@millems millems enabled auto-merge (squash) March 29, 2022 22:34
@millems millems merged commit 7fcc7ae into master Mar 29, 2022
@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

3.6% 3.6% Coverage
0.0% 0.0% Duplication

@millems millems deleted the millem/remove-transients branch October 19, 2022 19:35
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.

Remove java.beans package / java.desktop module dependency
2 participants