< prev index next >

src/java.base/share/classes/java/lang/constant/PrimitiveClassDescImpl.java

Print this page

        

*** 23,32 **** --- 23,33 ---- * questions. */ package java.lang.constant; import java.lang.invoke.MethodHandles; + import java.util.Optional; import sun.invoke.util.Wrapper; import static java.util.Objects.requireNonNull;
*** 69,74 **** --- 70,80 ---- @Override public String toString() { return String.format("PrimitiveClassDesc[%s]", displayName()); } + + @Override + public Optional<? extends ConstantDesc> describeConstable() { + return Optional.empty(); + } }
< prev index next >