mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8339631: Fix block @jls and @jvms tags
Reviewed-by: liach, darcy, jjg
This commit is contained in:
parent
615a24f216
commit
88cccc14db
22 changed files with 53 additions and 53 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2021, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2021, 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
|
||||
|
@ -528,7 +528,7 @@ public enum AccessFlag {
|
|||
|
||||
/**
|
||||
* Method location.
|
||||
* @jvms 4.6 Method
|
||||
* @jvms 4.6 Methods
|
||||
*/
|
||||
METHOD,
|
||||
|
||||
|
@ -540,31 +540,31 @@ public enum AccessFlag {
|
|||
|
||||
/**
|
||||
* Method parameter location.
|
||||
* @jvms 4.7.24. The MethodParameters Attribute
|
||||
* @jvms 4.7.24 The MethodParameters Attribute
|
||||
*/
|
||||
METHOD_PARAMETER,
|
||||
|
||||
/**
|
||||
* Module location
|
||||
* @jvms 4.7.25. The Module Attribute
|
||||
* @jvms 4.7.25 The Module Attribute
|
||||
*/
|
||||
MODULE,
|
||||
|
||||
/**
|
||||
* Module requires location
|
||||
* @jvms 4.7.25. The Module Attribute
|
||||
* @jvms 4.7.25 The Module Attribute
|
||||
*/
|
||||
MODULE_REQUIRES,
|
||||
|
||||
/**
|
||||
* Module exports location
|
||||
* @jvms 4.7.25. The Module Attribute
|
||||
* @jvms 4.7.25 The Module Attribute
|
||||
*/
|
||||
MODULE_EXPORTS,
|
||||
|
||||
/**
|
||||
* Module opens location
|
||||
* @jvms 4.7.25. The Module Attribute
|
||||
* @jvms 4.7.25 The Module Attribute
|
||||
*/
|
||||
MODULE_OPENS;
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1999, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1999, 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
|
||||
|
@ -254,7 +254,7 @@ public interface InvocationHandler {
|
|||
* @throws Throwable anything thrown by the default method
|
||||
|
||||
* @since 16
|
||||
* @jvms 5.4.3. Method Resolution
|
||||
* @jvms 5.4.3 Resolution
|
||||
*/
|
||||
@CallerSensitive
|
||||
public static Object invokeDefault(Object proxy, Method method, Object... args)
|
||||
|
|
|
@ -755,7 +755,7 @@ public final class Method extends Executable {
|
|||
* {@link Class} and no definition can be found for the
|
||||
* default class value.
|
||||
* @since 1.5
|
||||
* @jls 9.6.2 Defaults for Annotation Type Elements
|
||||
* @jls 9.6.2 Defaults for Annotation Interface Elements
|
||||
*/
|
||||
public Object getDefaultValue() {
|
||||
if (annotationDefault == null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue