JDK-8134302 : jdk.nashorn.internal.runtime.JSObjectListAdapter no longer present
  • Type: Bug
  • Component: core-libs
  • Sub-Component: jdk.nashorn
  • Affected Version: 8u60
  • Priority: P3
  • Status: Resolved
  • Resolution: Not an Issue
  • OS: linux
  • CPU: x86_64
  • Submitted: 2015-08-21
  • Updated: 2016-02-02
  • Resolved: 2015-08-24
Related Reports
Relates :  
Description
FULL PRODUCT VERSION :
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) VM 64-Bit Server VM (build 25.60-b23, mixed mode)

ADDITIONAL OS VERSION INFORMATION :
Ubuntu 14.04 LTS

A DESCRIPTION OF THE PROBLEM :
The class jdk.nashorn.internal.runtime.JSObjectListAdapter appears to no longer present in the JDK.

REGRESSION.  Last worked in version 8u45

ADDITIONAL REGRESSION INFORMATION: 
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) VM 64-Bit Server VM (build 25.45-b02, mixed mode)

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
import jdk.nashorn.internal.runtime.JSObjectListAdapter into a class

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
jdk.nashorn.internal.runtime.JSObjectListAdapter is present and imports successfully.
ACTUAL -
jdk.nashorn.internal.runtime.JSObjectListAdapter is not present, and cannot be imported.

REPRODUCIBILITY :
This bug can be reproduced always.


Comments
Email sent to user informing him about the fix as part of which this file was removed and pointing him to the list of bug fixes for the release.
24-08-2015

With JDK-8081062 , JSObjectListAdapter class was deleted. As mentioned in the description of JDK-8081062 , this was to simplify the code - ListAdapter's wrapped "obj" field will always be a JSObject ever since the fix for JDK-8027150, so there wasn't a need for a separate JSObjectListAdapter class. The same fix was back-ported to 8u60 with JDK-8081303. The list of bug fixes included in 8u60 can be found here : http://www.oracle.com/technetwork/java/javase/2col/8u60-bugfixes-2620228.html
24-08-2015