--- old/src/java.base/share/classes/java/time/chrono/ChronoPeriodImpl.java 2016-10-07 20:49:40.000000000 +0000 +++ new/src/java.base/share/classes/java/time/chrono/ChronoPeriodImpl.java 2016-10-07 20:49:40.000000000 +0000 @@ -77,8 +77,6 @@ import java.time.temporal.TemporalUnit; import java.time.temporal.UnsupportedTemporalTypeException; import java.time.temporal.ValueRange; -import java.util.Arrays; -import java.util.Collections; import java.util.List; import java.util.Objects; @@ -105,8 +103,7 @@ /** * The set of supported units. */ - private static final List SUPPORTED_UNITS = - Collections.unmodifiableList(Arrays.asList(YEARS, MONTHS, DAYS)); + private static final List SUPPORTED_UNITS = List.of(YEARS, MONTHS, DAYS); /** * The chronology.