We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0b18eb2 + aa6429a commit 7d1ffb0Copy full SHA for 7d1ffb0
jcl/src/java.base/share/classes/java/lang/Access.java
@@ -169,11 +169,13 @@ public java.lang.StackTraceElement getStackTraceElement(java.lang.Throwable arg0
169
return arg0.getInternalStackTrace()[arg1];
170
}
171
172
+/*[IF JAVA_SPEC_VERSION < 24]*/
173
/*[PR CMVC 199693] Prevent trusted method chain attack. */
174
@SuppressWarnings("removal")
175
public Thread newThreadWithAcc(Runnable runnable, AccessControlContext acc) {
176
return new Thread(runnable, acc);
177
178
+/*[ENDIF] JAVA_SPEC_VERSION < 24 */
179
180
/**
181
* Returns a directly present annotation instance of annotationClass type from clazz.
0 commit comments