Skip to content

Commit b33ac42

Browse files
committed
svm: fix style issues
1 parent da51821 commit b33ac42

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/jdk/JavaLangSubstitutions.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -428,8 +428,7 @@ private static String getProperty(String key, String def) {
428428
* passed to the image builder.
429429
*/
430430
@Alias @RecomputeFieldValue(kind = Kind.FromAlias, isFinal = true) //
431-
@TargetElement(onlyWith = JDK21OrEarlier.class)
432-
private static int allowSecurityManager = 1;
431+
@TargetElement(onlyWith = JDK21OrEarlier.class) private static int allowSecurityManager = 1;
433432

434433
/**
435434
* We do not support the {@link SecurityManager} so this method must throw a
@@ -441,7 +440,7 @@ private static String getProperty(String key, String def) {
441440
*/
442441
@Substitute
443442
@SuppressWarnings({"removal", "javadoc"})
444-
@TargetElement(onlyWith = JDK21OrEarlier.class)
443+
@TargetElement(onlyWith = JDK21OrEarlier.class)
445444
private static void setSecurityManager(SecurityManager sm) {
446445
if (sm != null) {
447446
/* Read the property collected at isolate creation as that is what happens on the JVM */

substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/jdk/Target_java_security_AccessControlContext.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,9 @@
3232
import com.oracle.svm.core.annotate.Substitute;
3333
import com.oracle.svm.core.annotate.TargetClass;
3434

35-
import com.oracle.svm.core.annotate.TargetElement;
3635
import sun.security.util.Debug;
3736

38-
@TargetClass(value = java.security.AccessControlContext.class, onlyWith = JDK21OrEarlier.class)
37+
@TargetClass(value = java.security.AccessControlContext.class, onlyWith = JDK21OrEarlier.class)
3938
final class Target_java_security_AccessControlContext {
4039

4140
@Alias //

0 commit comments

Comments
 (0)