src/share/classes/com/sun/tools/javadoc/DocEnv.java

changeset 1998
b25e387481dc
parent 1668
991f11e13598
child 2169
667843bd2193
     1.1 --- a/src/share/classes/com/sun/tools/javadoc/DocEnv.java	Fri Aug 30 16:27:08 2013 -0700
     1.2 +++ b/src/share/classes/com/sun/tools/javadoc/DocEnv.java	Fri Aug 30 16:38:54 2013 -0700
     1.3 @@ -124,6 +124,11 @@
     1.4      private boolean silent = false;
     1.5  
     1.6      /**
     1.7 +     * The source language version.
     1.8 +     */
     1.9 +    protected Source source;
    1.10 +
    1.11 +    /**
    1.12       * Constructor
    1.13       *
    1.14       * @param context      Context for this javadoc instance.
    1.15 @@ -144,6 +149,7 @@
    1.16  
    1.17          // Default.  Should normally be reset with setLocale.
    1.18          this.doclocale = new DocLocale(this, "", breakiterator);
    1.19 +        source = Source.instance(context);
    1.20      }
    1.21  
    1.22      public void setSilent(boolean silent) {

mercurial