--- a/jdk/src/share/classes/java/time/Month.java Wed Oct 09 11:02:55 2013 -0400
+++ b/jdk/src/share/classes/java/time/Month.java Thu Sep 26 15:19:27 2013 -0700
@@ -217,7 +217,8 @@
}
return of(temporal.get(MONTH_OF_YEAR));
} catch (DateTimeException ex) {
- throw new DateTimeException("Unable to obtain Month from TemporalAccessor: " + temporal.getClass(), ex);
+ throw new DateTimeException("Unable to obtain Month from TemporalAccessor: " +
+ temporal + " of type " + temporal.getClass().getName(), ex);
}
}