changeset 52892:8b0bd1ee3674 jep-334

add LinkageError to ConstantDesc::resolveConstantDesc
author vromero
date Mon, 15 Oct 2018 14:45:46 -0700
parents db399ba166ac
children 7f2d95b14b4a 7485ade5ea80
files src/java.base/share/classes/java/lang/constant/ConstantDesc.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/lang/constant/ConstantDesc.java	Thu Oct 11 13:29:09 2018 -0700
+++ b/src/java.base/share/classes/java/lang/constant/ConstantDesc.java	Mon Oct 15 14:45:46 2018 -0700
@@ -94,6 +94,7 @@
      * @return the resolved constant value
      * @throws ReflectiveOperationException if a class, method, or field
      * could not be reflectively resolved in the course of resolution
+     * @throws LinkageError if a linkage error occurs
      * @jvms 5.4.3 Resolution
      * @jvms 5.4.4 Access Control
      */