8176563: @since value errors in apis of java.base/java.logging module
Reviewed-by: alanb, chegar, dfuchs, dholmes, martin, naoto, rriggs
This commit is contained in:
parent
333fe2286b
commit
3f0efdf53e
@ -104,7 +104,6 @@ public interface ObjectInputFilter {
|
||||
* @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);
|
||||
|
||||
|
@ -1079,6 +1079,7 @@ public final class Math {
|
||||
* @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 @@ public final class Math {
|
||||
* @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) {
|
||||
|
@ -1251,6 +1251,7 @@ public final class ProcessBuilder
|
||||
* If the operating system does not support the creation of processes
|
||||
*
|
||||
* @throws IOException if an I/O error occurs
|
||||
* @since 9
|
||||
*/
|
||||
public static List<Process> startPipeline(List<ProcessBuilder> builders) throws IOException {
|
||||
// Accumulate and check the builders
|
||||
|
@ -1370,6 +1370,7 @@ public final class Duration
|
||||
* @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");
|
||||
|
@ -1278,6 +1278,7 @@ public final class DateTimeFormatterBuilder {
|
||||
*
|
||||
* @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 @@ public final class DateTimeFormatterBuilder {
|
||||
* @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<ZoneId> preferredZones) {
|
||||
|
@ -1839,6 +1839,7 @@ public class LogManager {
|
||||
* logging configuration file.
|
||||
*
|
||||
* @see #updateConfiguration(java.io.InputStream, java.util.function.Function)
|
||||
* @since 9
|
||||
*/
|
||||
public void updateConfiguration(Function<String, BiFunction<String,String,String>> mapper)
|
||||
throws IOException {
|
||||
@ -2035,6 +2036,7 @@ public class LogManager {
|
||||
* @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<String, BiFunction<String,String,String>> mapper)
|
||||
|
Loading…
Reference in New Issue
Block a user