On Wed, 2 Dec 2026 11:52:55 GMT, Adam Sotona <[email protected]> wrote:

>> xiaotaonan has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   fix: Modify according to the review comments.
>
> src/java.base/share/classes/jdk/internal/classfile/impl/verifier/VerifierImpl.java
>  line 265:
> 
>> 263:         var errors = new ArrayList<VerifyError>();
>> 264:         for (VerificationWrapper.MethodWrapper m : _klass.methods()) {
>> 265:             if (m.isNative() || m.isAbstract() || m.isOverpass()) {
> 
> Class-File API verifier incorrectly skips bridge method bodies at the point 
> where HotSpot’s verifier skips VM-generated overpass methods. Overpass flag 
> is not present in physical class files and overpass methods never appear at 
> this point.  
> 
> Suggestion:
> 
>             if (m.isNative() || m.isAbstract()) {

@asotona I have added the Overpass method to the file located at 
src/java.base/share/classes/jdk/internal/classfile/impl/verifier/VerificationWrapper.java.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/34176#discussion_r4769783457

Reply via email to