This PR removes the finalize() methods from the SASL modules and replace them 
with Cleaner. Also did some minor refactoring so the sensitive info is only 
kept wherever necessary.

Thanks in advance for the review~

---------
- [X] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

-------------

Commit messages:
 - 8380310: Remove Finalizers from remaining security components

Changes: https://git.openjdk.org/jdk/pull/32551/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=32551&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8380310
  Stats: 399 lines in 11 files changed: 269 ins; 66 del; 64 mod
  Patch: https://git.openjdk.org/jdk/pull/32551.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/32551/head:pull/32551

PR: https://git.openjdk.org/jdk/pull/32551

Reply via email to