nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/FunctionInitializer.java
changeset 26764 c777787a937d
parent 26068 5488f52c2788
child 30056 06d201382b55
equal deleted inserted replaced
26668:1b1ec4291abc 26764:c777787a937d
    55      *
    55      *
    56      * @param functionNode the function node
    56      * @param functionNode the function node
    57      */
    57      */
    58     public FunctionInitializer(final FunctionNode functionNode) {
    58     public FunctionInitializer(final FunctionNode functionNode) {
    59         this(functionNode, null);
    59         this(functionNode, null);
       
    60     }
       
    61 
       
    62     /**
       
    63      * Copy constructor.
       
    64      *
       
    65      * @param init original initializer
       
    66      */
       
    67     FunctionInitializer(final FunctionInitializer init) {
       
    68         this.className = init.getClassName();
       
    69         this.methodType = init.getMethodType();
       
    70         this.flags = init.getFlags();
    60     }
    71     }
    61 
    72 
    62     /**
    73     /**
    63      * Constructor.
    74      * Constructor.
    64      *
    75      *