changeset 53734:d1a13ced31d9 jep-334

changing the return type of MethodHandle::describeConstable
author vromero
date Mon, 03 Dec 2018 13:08:23 -0500
parents 0f5b0f28d6b0
children 2f02bcea8069 9c1624e1317b 46c50472547f
files src/java.base/share/classes/java/lang/invoke/MethodHandle.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/lang/invoke/MethodHandle.java	Fri Nov 30 15:01:57 2018 -0500
+++ b/src/java.base/share/classes/java/lang/invoke/MethodHandle.java	Mon Dec 03 13:08:23 2018 -0500
@@ -1529,7 +1529,7 @@
      * @since 12
      */
     @Override
-    public Optional<? extends ConstantDesc> describeConstable() {
+    public Optional<MethodHandleDesc> describeConstable() {
         MethodHandleInfo info;
         ClassDesc owner;
         String name;