JDK-4836743 - Java Issue Tracker
Calls to the JNI function Get<type>ArrayElements() normally return a pointer to a copy of the specified array. Callers can use this pointer to access ...
Calls to the JNI function Get<type>ArrayElements() normally return a pointer to a copy of the specified array. Callers can use this pointer to access ...
Oracle Java is the #1 programming language and development platform. It reduces costs, shortens development timeframes, drives innovation, and improves application services.
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
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.
EVALUATION The Tie throws an UnknownException containing the ClassCastException because the return object is not Serializable. After doing some debugging, it seems like the server successfully sends a reply message containing the UnknownException, but the client is still hanging...
As per the contented/owned monitor functions in 6213473 this function returns JNI refs which are created in the VM thread but the handle block for the calling thread isn't used when creating the references. 2. GetThreadListStackTraces is provided with a thread list (array of jthread).