From 071c73f94c0e17c62eee9d0c5516d94fd82f968a Mon Sep 17 00:00:00 2001 From: Jason Feng Date: Wed, 5 Apr 2023 22:25:37 -0400 Subject: [PATCH] valhalla enable java/lang/Access methods Signed-off-by: Jason Feng --- jcl/src/java.base/share/classes/java/lang/Access.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jcl/src/java.base/share/classes/java/lang/Access.java b/jcl/src/java.base/share/classes/java/lang/Access.java index f9e9101f29f..cf98351d423 100644 --- a/jcl/src/java.base/share/classes/java/lang/Access.java +++ b/jcl/src/java.base/share/classes/java/lang/Access.java @@ -386,7 +386,7 @@ public String newStringUTF8NoRepl(byte[] bytes, int offset, int length) { /*[IF JAVA_SPEC_VERSION < 17]*/ return StringCoding.newStringUTF8NoRepl(bytes, offset, length); /*[ELSE] JAVA_SPEC_VERSION < 17 */ - /*[IF (JAVA_SPEC_VERSION < 21) | INLINE-TYPES]*/ + /*[IF JAVA_SPEC_VERSION < 21]*/ return String.newStringUTF8NoRepl(bytes, offset, length); /*[ELSE] JAVA_SPEC_VERSION < 21 */ return String.newStringUTF8NoRepl(bytes, offset, length, true); @@ -696,7 +696,7 @@ public void setCarrierThreadLocal(CarrierThreadLocal carrierThreadlocal, } /*[ENDIF] JAVA_SPEC_VERSION >= 19 */ -/*[IF (JAVA_SPEC_VERSION >= 21) & !INLINE-TYPES]*/ +/*[IF JAVA_SPEC_VERSION >= 21]*/ @Override public String getLoaderNameID(ClassLoader loader) { StringBuilder buffer = new StringBuilder(); @@ -714,7 +714,7 @@ public String getLoaderNameID(ClassLoader loader) { return buffer.toString(); } -/*[ENDIF] (JAVA_SPEC_VERSION >= 21) & !INLINE-TYPES */ +/*[ENDIF] JAVA_SPEC_VERSION >= 21 */ /*[IF INLINE-TYPES]*/ @Override