`JavaLangAccess::newStringUTF8NoRepl` and `JavaLangAccess::getBytesUTF8NoRepl` are not implemented correctly. They always copy arrays, rather than avoiding copying as much as possible as javadoc says.
I ran the tier1 test without any new errors. ------------- Commit messages: - fix: newStringUTF8NoRepl and getBytesUTF8NoRepl always copy arrays Changes: https://git.openjdk.org/jdk/pull/11897/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11897&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8299807 Stats: 9 lines in 1 file changed: 7 ins; 0 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/11897.diff Fetch: git fetch https://git.openjdk.org/jdk pull/11897/head:pull/11897 PR: https://git.openjdk.org/jdk/pull/11897