- 
    
Bug
 - 
    Resolution: Fixed
 - 
    
  P2                     
     - 
    None
 
- 
        b33
 - 
        generic
 - 
        generic
 - 
        Verified
 
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-8085729 | emb-9 | Hannes Wallnoefer | P2 | Resolved | Fixed | team | 
| JDK-8064233 | 8u45 | Hannes Wallnoefer | P2 | Resolved | Fixed | b01 | 
| JDK-8058885 | 8u40 | Hannes Wallnoefer | P2 | Closed | Fixed | b08 | 
| JDK-8070470 | emb-8u47 | Hannes Wallnoefer | P2 | Resolved | Fixed | team | 
                    When working with latest version of Nashorn I noticed a regression. Code that used to work on 1.8.0_05-b13 does not work on home made build from 847387339a56 tag jdk8u20-b18. To reproduce
$ hg clone http://source.apidesign.org/hg/html~html4j/
$ cd html~html4j
$ hg up -C 444b861dc45a
$ mvn clean install
this passes OK on 1.8.0_05-b13 (my default VM), but when I execute it as
JAVA_HOME=/build-jdk8u20-b18/linux-x86_64-normal-server-release/images/j2sdk-image mvn clean install -Djfxrt.jar=/usr/lib/jvm/java-8-oracle/jre/lib/ext/jfxrt.jar
there is a ClassCastException:
java.lang.ClassCastException: jdk.nashorn.api.scripting.ScriptObjectMirror cannot be cast to [Ljava.lang.Object;
at org.netbeans.html.ko4j.Knockout.allocJS(Knockout.java)
I will investigate the details, but clearly something changed significantly and I feel I should report that as soon as possible.
            
$ hg clone http://source.apidesign.org/hg/html~html4j/
$ cd html~html4j
$ hg up -C 444b861dc45a
$ mvn clean install
this passes OK on 1.8.0_05-b13 (my default VM), but when I execute it as
JAVA_HOME=/build-jdk8u20-b18/linux-x86_64-normal-server-release/images/j2sdk-image mvn clean install -Djfxrt.jar=/usr/lib/jvm/java-8-oracle/jre/lib/ext/jfxrt.jar
there is a ClassCastException:
java.lang.ClassCastException: jdk.nashorn.api.scripting.ScriptObjectMirror cannot be cast to [Ljava.lang.Object;
at org.netbeans.html.ko4j.Knockout.allocJS(Knockout.java)
I will investigate the details, but clearly something changed significantly and I feel I should report that as soon as possible.
- backported by
 - 
                    
JDK-8064233 Indexed or polymorphic set on global affects Object.prototype
-         
     - Resolved
 
 -         
 - 
                    
JDK-8070470 Indexed or polymorphic set on global affects Object.prototype
-         
     - Resolved
 
 -         
 - 
                    
JDK-8085729 Indexed or polymorphic set on global affects Object.prototype
-         
     - Resolved
 
 -         
 - 
                    
JDK-8058885 Indexed or polymorphic set on global affects Object.prototype
-         
     - Closed
 
 -