--- a/jdk/src/share/classes/java/time/chrono/Era.java Tue Jul 09 21:35:04 2013 +0100
+++ b/jdk/src/share/classes/java/time/chrono/Era.java Tue Oct 15 13:14:03 2013 -0400
@@ -73,6 +73,7 @@
import java.time.temporal.TemporalAccessor;
import java.time.temporal.TemporalAdjuster;
import java.time.temporal.TemporalField;
+import java.time.temporal.TemporalQueries;
import java.time.temporal.TemporalQuery;
import java.time.temporal.ValueRange;
import java.util.Locale;
@@ -265,7 +266,7 @@
@SuppressWarnings("unchecked")
@Override
default <R> R query(TemporalQuery<R> query) {
- if (query == TemporalQuery.precision()) {
+ if (query == TemporalQueries.precision()) {
return (R) ERAS;
}
return TemporalAccessor.super.query(query);