< prev index next >

src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/TransValues.java

Print this page
rev 55090 : secret-sfac

@@ -119,10 +119,11 @@
         make = TreeMaker.instance(context);
         types = Types.instance(context);
         names = Names.instance(context);
         Options options = Options.instance(context);
         staticInitValueFactory = options.isSet("staticInitValueFactory");
+        staticInitValueFactory |= !options.isSet("noStaticInitValueFactory");
     }
 
     @SuppressWarnings("unchecked")
     public <T extends JCTree> T translate(T tree, boolean requireRVal) {
         boolean priorRequireRVal = this.requireRVal;
< prev index next >