# HG changeset patch # User mli # Date 1489631096 25200 # Node ID 7a9297d467e7980893b445f29853ffb0537d8507 # Parent bfbb47bd118dd154ff401c550550a86f1a0a72a9 8176563: @since value errors in apis of java.base/java.logging module Reviewed-by: alanb, chegar, dfuchs, dholmes, martin, naoto, rriggs diff -r bfbb47bd118d -r 7a9297d467e7 jdk/src/java.base/share/classes/java/io/ObjectInputFilter.java --- a/jdk/src/java.base/share/classes/java/io/ObjectInputFilter.java Wed Mar 15 18:08:46 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/io/ObjectInputFilter.java Wed Mar 15 19:24:56 2017 -0700 @@ -104,7 +104,6 @@ * @return {@link Status#ALLOWED Status.ALLOWED} if accepted, * {@link Status#REJECTED Status.REJECTED} if rejected, * {@link Status#UNDECIDED Status.UNDECIDED} if undecided. - * @since 9 */ Status checkInput(FilterInfo filterInfo); diff -r bfbb47bd118d -r 7a9297d467e7 jdk/src/java.base/share/classes/java/lang/Math.java --- a/jdk/src/java.base/share/classes/java/lang/Math.java Wed Mar 15 18:08:46 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/lang/Math.java Wed Mar 15 19:24:56 2017 -0700 @@ -1079,6 +1079,7 @@ * @param x the first value * @param y the second value * @return the result + * @since 9 */ public static long multiplyFull(int x, int y) { return (long)x * (long)y; @@ -1091,6 +1092,7 @@ * @param x the first value * @param y the second value * @return the result + * @since 9 */ public static long multiplyHigh(long x, long y) { if (x < 0 || y < 0) { diff -r bfbb47bd118d -r 7a9297d467e7 jdk/src/java.base/share/classes/java/lang/ProcessBuilder.java --- a/jdk/src/java.base/share/classes/java/lang/ProcessBuilder.java Wed Mar 15 18:08:46 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/lang/ProcessBuilder.java Wed Mar 15 19:24:56 2017 -0700 @@ -1251,6 +1251,7 @@ * If the operating system does not support the creation of processes * * @throws IOException if an I/O error occurs + * @since 9 */ public static List startPipeline(List builders) throws IOException { // Accumulate and check the builders diff -r bfbb47bd118d -r 7a9297d467e7 jdk/src/java.base/share/classes/java/time/Duration.java --- a/jdk/src/java.base/share/classes/java/time/Duration.java Wed Mar 15 18:08:46 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/time/Duration.java Wed Mar 15 19:24:56 2017 -0700 @@ -1370,6 +1370,7 @@ * @return a {@code Duration} based on this duration with the time truncated, not null * @throws DateTimeException if the unit is invalid for truncation * @throws UnsupportedTemporalTypeException if the unit is not supported + * @since 9 */ public Duration truncatedTo(TemporalUnit unit) { Objects.requireNonNull(unit, "unit"); diff -r bfbb47bd118d -r 7a9297d467e7 jdk/src/java.base/share/classes/java/time/format/DateTimeFormatterBuilder.java --- a/jdk/src/java.base/share/classes/java/time/format/DateTimeFormatterBuilder.java Wed Mar 15 18:08:46 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/time/format/DateTimeFormatterBuilder.java Wed Mar 15 19:24:56 2017 -0700 @@ -1278,6 +1278,7 @@ * * @param textStyle the text style to use, not null * @return this, for chaining, not null + * @since 9 */ public DateTimeFormatterBuilder appendGenericZoneText(TextStyle textStyle) { appendInternal(new ZoneTextPrinterParser(textStyle, null, true)); @@ -1303,6 +1304,7 @@ * @param textStyle the text style to use, not null * @param preferredZones the set of preferred zone ids, not null * @return this, for chaining, not null + * @since 9 */ public DateTimeFormatterBuilder appendGenericZoneText(TextStyle textStyle, Set preferredZones) { diff -r bfbb47bd118d -r 7a9297d467e7 jdk/src/java.logging/share/classes/java/util/logging/LogManager.java --- a/jdk/src/java.logging/share/classes/java/util/logging/LogManager.java Wed Mar 15 18:08:46 2017 -0700 +++ b/jdk/src/java.logging/share/classes/java/util/logging/LogManager.java Wed Mar 15 19:24:56 2017 -0700 @@ -1839,6 +1839,7 @@ * logging configuration file. * * @see #updateConfiguration(java.io.InputStream, java.util.function.Function) + * @since 9 */ public void updateConfiguration(Function> mapper) throws IOException { @@ -2035,6 +2036,7 @@ * @throws IOException if there are problems reading from the stream, * or the given stream is not in the * {@linkplain java.util.Properties properties file} format. + * @since 9 */ public void updateConfiguration(InputStream ins, Function> mapper)