This PR improved Classfile API attributes handling safety by introduction of attribute stability indicator and by extension of UnknownAttributesOption to more general AttributesProcessingOption.
------------- Commit messages: - fixed remaining listFromTrustedArrayNullsAllowed calls to listFromTrustedArray - added test for AttributesProcessingOption.DROP_UNKNOWN_ATTRIBUTES - re-added AttributeStability.UNKNOWN - dropped AttributeStability.UNKNOWN - 8313452: Improve Classfile API attributes handling safety - fixing javadoc - fixing javadoc - fixing javadoc - fixing javadoc - fixing javadoc - ... and 3 more: https://git.openjdk.org/jdk/compare/37c756a7...350588bd Changes: https://git.openjdk.org/jdk/pull/15101/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15101&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8313452 Stats: 3753 lines in 37 files changed: 3583 ins; 44 del; 126 mod Patch: https://git.openjdk.org/jdk/pull/15101.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/15101/head:pull/15101 PR: https://git.openjdk.org/jdk/pull/15101