Re: RFR: 8317609: Classfile API fails to verify /jdk.jcmd/sun/tools/jstat/Alignment.class

2023-10-31 Thread Adam Sotona
On Tue, 31 Oct 2023 16:08:54 GMT, Alan Bateman wrote: >> JImageValidator has been recently converted to use ClassFile API and >> original weak validation of class files was replaced with full class >> verification. >> Unfortunately full class verification is too strong as it includes class >>

Re: RFR: 8317609: Classfile API fails to verify /jdk.jcmd/sun/tools/jstat/Alignment.class

2023-10-31 Thread Alan Bateman
On Tue, 10 Oct 2023 15:09:41 GMT, Adam Sotona wrote: > JImageValidator has been recently converted to use ClassFile API and original > weak validation of class files was replaced with full class verification. > Unfortunately full class verification is too strong as it includes class >

RFR: 8317609: Classfile API fails to verify /jdk.jcmd/sun/tools/jstat/Alignment.class

2023-10-11 Thread Adam Sotona
JImageValidator has been recently converted to use ClassFile API and original weak validation of class files was replaced with full class verification. Unfortunately full class verification is too strong as it includes class assignability verification according to class hierarchy resolution.

Re: RFR: 8317609: Classfile API fails to verify /jdk.jcmd/sun/tools/jstat/Alignment.class

2023-10-11 Thread Adam Sotona
On Wed, 11 Oct 2023 05:44:42 GMT, Chen Liang wrote: > Maybe we can consider moving verify to Class-File object for a new RFE? Yes, that would be appropriate. - PR Comment: https://git.openjdk.org/jdk/pull/16123#issuecomment-1756874646

Re: RFR: 8317609: Classfile API fails to verify /jdk.jcmd/sun/tools/jstat/Alignment.class

2023-10-11 Thread Chen Liang
On Tue, 10 Oct 2023 15:09:41 GMT, Adam Sotona wrote: > JImageValidator has been recently converted to use ClassFile API and original > weak validation of class files was replaced with full class verification. > Unfortunately full class verification is too strong as it includes class >