> Validate class name length immediately after GetStringUTFLength() in > Class.forName0. This prevents potential issues caused by overly long class > names before they reach later code that would reject them, throwing > ClassNotFoundException early.
Guanqiang Han has updated the pull request incrementally with one additional commit since the last revision: Update Class.java updates the class name length validation logic on the Java side ------------- Changes: - all: https://git.openjdk.org/jdk/pull/26802/files - new: https://git.openjdk.org/jdk/pull/26802/files/8eb1d4c7..27971bf3 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=26802&range=04 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=26802&range=03-04 Stats: 22 lines in 1 file changed: 7 ins; 14 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/26802.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/26802/head:pull/26802 PR: https://git.openjdk.org/jdk/pull/26802