langtools/src/share/classes/com/sun/tools/javac/api/JavacTaskImpl.java
changeset 14548 aa687b312c97
parent 14545 2e7bab0639b8
child 14952 d0022ae20516
equal deleted inserted replaced
14547:86d8d242b0c4 14548:aa687b312c97
   487 
   487 
   488     /**
   488     /**
   489      * For internal use only.  This method will be
   489      * For internal use only.  This method will be
   490      * removed without warning.
   490      * removed without warning.
   491      */
   491      */
   492     public Context getContext() {
       
   493         return context;
       
   494     }
       
   495 
       
   496     /**
       
   497      * For internal use only.  This method will be
       
   498      * removed without warning.
       
   499      */
       
   500     public void updateContext(Context newContext) {
       
   501         context = newContext;
       
   502     }
       
   503 
       
   504     /**
       
   505      * For internal use only.  This method will be
       
   506      * removed without warning.
       
   507      */
       
   508     public Type parseType(String expr, TypeElement scope) {
   492     public Type parseType(String expr, TypeElement scope) {
   509         if (expr == null || expr.equals(""))
   493         if (expr == null || expr.equals(""))
   510             throw new IllegalArgumentException();
   494             throw new IllegalArgumentException();
   511         compiler = JavaCompiler.instance(context);
   495         compiler = JavaCompiler.instance(context);
   512         JavaFileObject prev = compiler.log.useSource(null);
   496         JavaFileObject prev = compiler.log.useSource(null);