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