You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.NullPointerException: Cannot read field "string" because "utf" is null
at javassist.bytecode.ConstPool.getUtf8Info(ConstPool.java:675)
at javassist.bytecode.MethodParametersAttribute.copy(MethodParametersAttribute.java:90)
at javassist.bytecode.AttributeInfo.copyAll(AttributeInfo.java:249)
at javassist.bytecode.MethodInfo.compact(MethodInfo.java:157)
at javassist.bytecode.ClassFile.compact(ClassFile.java:242)
at javassist.JvstTest4.testJdk21(JvstTest4.java:1008)
An error occurred while processing MethodParametersAttribute
In the construction method of the inner class, there are MethodParameters attributes without parameter names.
MethodParameters:
Name Flags
<no name> final mandated
The value of the name_index item must either be zero or a valid index into the constant_pool table.
If the value of the name_index item is zero, then this parameters element indicates a formal parameter with no name.
If the value of the name_index item is nonzero, the constant_pool entry at that index must be a CONSTANT_Utf8_info structure representing a valid unqualified name denoting a formal parameter ([§4.2.2](https://docs.oracle.com/javase/specs/jvms/se20/html/jvms-4.html#jvms-4.2.2)).
The text was updated successfully, but these errors were encountered:
wuwen5
changed the title
Failed to rebuild sun.net.httpserver.ServerImpl$ReqRspTimeoutTask class file for Jdk-21
In Java21, the ConstPool API throws NPE for MethodParameters attributes without parameter names
Oct 10, 2023
An error occurred while processing
MethodParametersAttribute
In the construction method of the inner class, there are
MethodParameters
attributes without parameter names.openjdk/jdk#13167 (comment)
The text was updated successfully, but these errors were encountered: