Mercurial > hg > graal-jvmci-8
comparison jvmci/jdk.vm.ci.runtime/src/jdk/vm/ci/runtime/services/JVMCICompilerFactory.java @ 23364:8153a654bd10
checkstyle fixes
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 29 Apr 2016 00:36:35 +0200 |
parents | 56479400913e |
children | 24505bf61633 |
comparison
equal
deleted
inserted
replaced
23363:56479400913e | 23364:8153a654bd10 |
---|---|
30 */ | 30 */ |
31 public abstract class JVMCICompilerFactory { | 31 public abstract class JVMCICompilerFactory { |
32 | 32 |
33 private static Void checkPermission() { | 33 private static Void checkPermission() { |
34 SecurityManager sm = System.getSecurityManager(); | 34 SecurityManager sm = System.getSecurityManager(); |
35 if (sm != null) | 35 if (sm != null) { |
36 sm.checkPermission(new RuntimePermission("jvmci")); | 36 sm.checkPermission(new RuntimePermission("jvmci")); |
37 } | |
37 return null; | 38 return null; |
38 } | 39 } |
39 | 40 |
40 @SuppressWarnings("unused") | 41 @SuppressWarnings("unused") |
41 private JVMCICompilerFactory(Void ignore) { | 42 private JVMCICompilerFactory(Void ignore) { |