< prev index next >
src/java.base/share/classes/sun/reflect/annotation/AnnotationInvocationHandler.java
Print this page
*** 159,168 ****
--- 159,171 ----
/**
* Translates a member value (in "dynamic proxy return form") into a string
*/
private static String memberValueToString(Object value) {
+ if (value instanceof ExceptionProxy) {
+ return ((ExceptionProxy)value).memberToString();
+ }
Class<?> type = value.getClass();
if (!type.isArray()) // primitive, string, class, enum const,
// or annotation
return value.toString();
< prev index next >