8326951: since-checker - missing @ since tags
Reviewed-by: jpai
This commit is contained in:
parent
31f70391e5
commit
e0bab78640
@ -679,8 +679,6 @@ public class PrintStream extends FilterOutputStream
|
||||
*
|
||||
* @see #writeBytes(byte[])
|
||||
* @see #write(byte[],int,int)
|
||||
*
|
||||
* @since 14
|
||||
*/
|
||||
@Override
|
||||
public void write(byte[] buf) throws IOException {
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2008, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2008, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -7919,6 +7919,8 @@ assertEquals("boojum", (String) catTrace.invokeExact("boo", "jum"));
|
||||
* handles is not {@code int}, or if the types of
|
||||
* the fallback handle and all of target handles are
|
||||
* not the same.
|
||||
*
|
||||
* @since 17
|
||||
*/
|
||||
public static MethodHandle tableSwitch(MethodHandle fallback, MethodHandle... targets) {
|
||||
Objects.requireNonNull(fallback);
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -50,6 +50,8 @@ public class MalformedParameterizedTypeException extends RuntimeException {
|
||||
* Constructs a {@code MalformedParameterizedTypeException} with
|
||||
* the given detail message.
|
||||
* @param message the detail message; may be {@code null}
|
||||
*
|
||||
* @since 10
|
||||
*/
|
||||
public MalformedParameterizedTypeException(String message) {
|
||||
super(message);
|
||||
|
@ -397,6 +397,8 @@ public abstract sealed class MappedByteBuffer
|
||||
* {@code force()} on the returned buffer, will only act on the sub-range
|
||||
* of this buffer that the returned buffer represents, namely
|
||||
* {@code [position(),limit())}.
|
||||
*
|
||||
* @since 17
|
||||
*/
|
||||
@Override
|
||||
public abstract MappedByteBuffer slice();
|
||||
@ -410,12 +412,16 @@ public abstract sealed class MappedByteBuffer
|
||||
* of this buffer that the returned buffer represents, namely
|
||||
* {@code [index,index+length)}, where {@code index} and {@code length} are
|
||||
* assumed to satisfy the preconditions.
|
||||
*
|
||||
* @since 17
|
||||
*/
|
||||
@Override
|
||||
public abstract MappedByteBuffer slice(int index, int length);
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*
|
||||
* @since 17
|
||||
*/
|
||||
@Override
|
||||
public abstract MappedByteBuffer duplicate();
|
||||
@ -423,6 +429,8 @@ public abstract sealed class MappedByteBuffer
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @throws ReadOnlyBufferException {@inheritDoc}
|
||||
*
|
||||
* @since 17
|
||||
*/
|
||||
@Override
|
||||
public abstract MappedByteBuffer compact();
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1995, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1995, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -185,6 +185,7 @@ public class Properties extends Hashtable<Object,Object> {
|
||||
* accommodate this many elements
|
||||
* @throws IllegalArgumentException if the initial capacity is less than
|
||||
* zero.
|
||||
* @since 10
|
||||
*/
|
||||
public Properties(int initialCapacity) {
|
||||
this(null, initialCapacity);
|
||||
|
@ -500,6 +500,8 @@ public final class ThreadLocalRandom extends Random {
|
||||
* {@inheritDoc}
|
||||
* @throws IllegalArgumentException {@inheritDoc}
|
||||
* @implNote {@inheritDoc}
|
||||
*
|
||||
* @since 17
|
||||
*/
|
||||
@Override
|
||||
public float nextFloat(float bound) {
|
||||
@ -510,6 +512,8 @@ public final class ThreadLocalRandom extends Random {
|
||||
* {@inheritDoc}
|
||||
* @throws IllegalArgumentException {@inheritDoc}
|
||||
* @implNote {@inheritDoc}
|
||||
*
|
||||
* @since 17
|
||||
*/
|
||||
@Override
|
||||
public float nextFloat(float origin, float bound) {
|
||||
|
@ -336,6 +336,8 @@ public class Deflater {
|
||||
* @param dictionary the dictionary data bytes
|
||||
* @see Inflater#inflate
|
||||
* @see Inflater#getAdler()
|
||||
*
|
||||
* @since 11
|
||||
*/
|
||||
public void setDictionary(ByteBuffer dictionary) {
|
||||
synchronized (zsRef) {
|
||||
|
Loading…
Reference in New Issue
Block a user