8316851: Add @sealedGraph to Executable

Reviewed-by: darcy
This commit is contained in:
Per Minborg 2023-09-26 06:00:58 +00:00
parent 3fe6e0faca
commit 9e6cb62048

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2012, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 2023, 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
@ -46,6 +46,7 @@ import sun.reflect.generics.repository.ConstructorRepository;
* A shared superclass for the common functionality of {@link Method}
* and {@link Constructor}.
*
* @sealedGraph
* @since 1.8
*/
public abstract sealed class Executable extends AccessibleObject