8326951: since-checker - missing @ since tags

Reviewed-by: jpai
This commit is contained in:
Nizar Benalla 2024-06-04 16:51:39 +00:00 committed by Jaikiran Pai
parent 31f70391e5
commit e0bab78640
7 changed files with 22 additions and 5 deletions

View file

@ -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);

View file

@ -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);