- 
    Sub-task 
- 
    Resolution: Fixed
- 
     P3 P3
- 
    8u60
- 
    None
- 
        b120
- 
        generic
- 
        generic
jjs> function f() { x; throw null; (function (){ var x; }); } f()
Exception in thread "main" java.lang.AssertionError: Couldn't find scope depth for symbol x in [object] function {U%}f()
at jdk.nashorn.internal.codegen.CodeGenerator.loadFastScopeProto(CodeGenerator.java:516)
at jdk.nashorn.internal.codegen.CodeGenerator.access$100(CodeGenerator.java:183)
at jdk.nashorn.internal.codegen.CodeGenerator$LoadFastScopeVar.getProto(CodeGenerator.java:483)
at jdk.nashorn.internal.codegen.CodeGenerator$LoadScopeVar.loadStack(CodeGenerator.java:456)
at jdk.nashorn.internal.codegen.CodeGenerator$OptimisticOperation.emit(CodeGenerator.java:4407)
at jdk.nashorn.internal.codegen.CodeGenerator$OptimisticOperation.emit(CodeGenerator.java:4392)
at jdk.nashorn.internal.codegen.CodeGenerator.loadIdent(CodeGenerator.java:331)
at jdk.nashorn.internal.codegen.CodeGenerator.access$400(CodeGenerator.java:183)
at jdk.nashorn.internal.codegen.CodeGenerator$1.enterIdentNode(CodeGenerator.java:725)
at jdk.nashorn.internal.ir.IdentNode.accept(IdentNode.java:138)
...
- clones
- 
                    JDK-8066228 Fuzzing bug: AssertionError when entering function body -           
- Closed
 
-         
- is cloned by
- 
                    JDK-8066230 Fuzzing bug: Undefined object type assertion when computing TypeBounds -           
- Resolved
 
-