src/jdk/nashorn/internal/objects/NativeSyntaxError.java

Print this page

        

*** 60,76 **** public Object nashornException; // initialized by nasgen private static PropertyMap $nasgenmap$; - static PropertyMap getInitialMap() { - return $nasgenmap$; - } - @SuppressWarnings("LeakingThisInConstructor") NativeSyntaxError(final Object msg, final Global global) { ! super(global.getSyntaxErrorPrototype(), getInitialMap()); if (msg != UNDEFINED) { this.instMessage = JSType.toString(msg); } else { this.delete(NativeError.MESSAGE, false); } --- 60,72 ---- public Object nashornException; // initialized by nasgen private static PropertyMap $nasgenmap$; @SuppressWarnings("LeakingThisInConstructor") NativeSyntaxError(final Object msg, final Global global) { ! super(global.getSyntaxErrorPrototype(), $nasgenmap$); if (msg != UNDEFINED) { this.instMessage = JSType.toString(msg); } else { this.delete(NativeError.MESSAGE, false); }