Results for “java function return array based on date error example javascript site:bugs.java.com”
bugs.java.com
Bug ID: JDK-4034116 Functions that return multiple values
Java SE. Community. Bug Database.Description. Name: mc57594 Date: 02/24/97. It would be nice if functions could return more than one object for example. public (int, File) getData(int p_stuff){ return m_anInt, m_aFile
bugs.java.com
Bug ID: JDK-8062030 Nashorn bug retrieving array property ...
FULL PRODUCT VERSION : java version "1.8.0_25" Java (TM) SE Runtime Environment (build 1.8.0_25-b18) Java HotSpot (TM) 64-Bit Server VM (build 25.25-b02, mixed mode) ADDITIONAL OS VERSION INFORMATION : Windows 7 x64 A DESCRIPTION OF THE PROBLEM : Nashorn returns 'null' when externally binded array is called with key concatenated from several ...
bugs.java.com
Bug ID: JDK-8160406 Collection.toArray() spec should be explicit about...
Collection.toArray() is specified to return an object of type Object[], but since arrays are covariant, that requirement is met by any array of a subtype of Object, for example, String[]. It's subtle, but it's clearly, if not explicitly, a bug to return an array of a subtype. See JDK-6260652.
bugs.java.com
Bug ID: JDK-4052638 GetTimeInstance returns wrong values in some...
If I run java with -Duser.timezone=ECT, both lines return the right time, both on '95 and NT. import java.text.DateFormat; import java.util.TimeZone; import java.util.DateDate now = new Date(); DateFormat dateFormat = DateFormat.getTimeInstance(DateFormat.FULL)