jdk-24/hotspot/test/runtime/reflect
Chris Plummer 5306f2430a 6191224: (reflect) Misleading detail string in IllegalArgumentException thrown by Array.get<Type>
The test case shows that an exception is thrown with the message "Argument is not an array", when in fact the argument is an array, but an array of a primitive type is actually what was expected. Fixed by differentiating between failing because an array was expected and failing because an array of a primitive type was expected.

Reviewed-by: dholmes, ctornqvi, lfoltan
2014-10-23 14:43:08 -07:00
..
ArrayGetIntException.java 6191224: (reflect) Misleading detail string in IllegalArgumentException thrown by Array.get<Type> 2014-10-23 14:43:08 -07:00