< prev index next >

buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/ScriptClassInfoCollector.java

Print this page

        

*** 286,298 **** break; case FUNCTION: where = Where.PROTOTYPE; break; case SPECIALIZED_FUNCTION: ! if (isSpecializedConstructor) { ! where = Where.CONSTRUCTOR; ! } //fallthru default: break; } } --- 286,296 ---- break; case FUNCTION: where = Where.PROTOTYPE; break; case SPECIALIZED_FUNCTION: ! where = isSpecializedConstructor? Where.CONSTRUCTOR : Where.PROTOTYPE; //fallthru default: break; } }
< prev index next >