langtools/src/share/classes/com/sun/tools/javac/jvm/ClassReader.java
changeset 22167 e0ba35f27975
parent 22163 3651128c74eb
child 22442 8fd30fc4e3a3
equal deleted inserted replaced
22166:adc980c0dbcc 22167:e0ba35f27975
   113 
   113 
   114    /** Lint option: warn about classfile issues
   114    /** Lint option: warn about classfile issues
   115      */
   115      */
   116     boolean lintClassfile;
   116     boolean lintClassfile;
   117 
   117 
   118     /** Switch: allow default methods
       
   119      */
       
   120     boolean allowDefaultMethods;
       
   121 
       
   122     /** Switch: preserve parameter names from the variable table.
   118     /** Switch: preserve parameter names from the variable table.
   123      */
   119      */
   124     public boolean saveParameterNames;
   120     public boolean saveParameterNames;
   125 
   121 
   126     /**
   122     /**
   304         Source source = Source.instance(context);
   300         Source source = Source.instance(context);
   305         allowGenerics    = source.allowGenerics();
   301         allowGenerics    = source.allowGenerics();
   306         allowVarargs     = source.allowVarargs();
   302         allowVarargs     = source.allowVarargs();
   307         allowAnnotations = source.allowAnnotations();
   303         allowAnnotations = source.allowAnnotations();
   308         allowSimplifiedVarargs = source.allowSimplifiedVarargs();
   304         allowSimplifiedVarargs = source.allowSimplifiedVarargs();
   309         allowDefaultMethods = source.allowDefaultMethods();
       
   310 
   305 
   311         saveParameterNames = options.isSet("save-parameter-names");
   306         saveParameterNames = options.isSet("save-parameter-names");
   312         cacheCompletionFailure = options.isUnset("dev");
   307         cacheCompletionFailure = options.isUnset("dev");
   313         preferSource = "source".equals(options.get("-Xprefer"));
   308         preferSource = "source".equals(options.get("-Xprefer"));
   314 
   309