Skip to content

Conversation

@hanicz
Copy link
Contributor

@hanicz hanicz commented Dec 17, 2025

KNOX-3223 - Remove redundant SuppressWarnings

What changes were proposed in this pull request?

  • Removed redundant SuppressWarnings
  • Replaced deprecated forbiddenapis failOnUnresolvableSignatures with ignoreSignaturesOfMissingClasses
  • Replaced forbidden Subject.getSubject(AccessController.getContext()) with SubjectUtils.getCurrentSubject() where possible. The AccessController call is still there in SubjectUtils however its on one place which makes it easier to replace with JDK18+.
  • Fixed the order of a few asserts in KnoxPam and KnoxLdap tests

How was this patch tested?

Ran clean verify locally. There are no business logic changes.

@github-actions
Copy link

Test Results

7 tests   7 ✅  1s ⏱️
1 suites  0 💤
1 files    0 ❌

Results for commit f03bbe9.

@hanicz hanicz merged commit 319f6ca into apache:master Dec 17, 2025
3 checks passed
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.

2 participants