< prev index next >

src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/LocalVariableTypesCalculator.java

Print this page

        

*** 1031,1041 **** } } joinOnLabel(catchLabel); for(final CatchNode catchNode: tryNode.getCatches()) { ! final IdentNode exception = catchNode.getException(); onAssignment(exception, LvarType.OBJECT); final Expression condition = catchNode.getExceptionCondition(); if(condition != null) { visitExpression(condition); } --- 1031,1041 ---- } } joinOnLabel(catchLabel); for(final CatchNode catchNode: tryNode.getCatches()) { ! final IdentNode exception = (IdentNode) catchNode.getException(); onAssignment(exception, LvarType.OBJECT); final Expression condition = catchNode.getExceptionCondition(); if(condition != null) { visitExpression(condition); }
< prev index next >