As requested in the reviews[1] of JDK-8353197, this issue requests adding bound checks to `JavaLangAccess::countPositives`. Effectively, the intrinsic needs to be moved a private method with a different name.
[1] https://github.com/openjdk/jdk/pull/24982#discussion_r2076997921
[1] https://github.com/openjdk/jdk/pull/24982#discussion_r2076997921
- duplicates
-
JDK-8156534 Move input validation checks to Java for String-related intrinsics
-
- In Progress
-
- relates to
-
JDK-8353197 Document preconditions for JavaLangAccess methods
-
- Resolved
-