[
https://issues.apache.org/jira/browse/ARIES-2080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17581817#comment-17581817
]
Gjøran Voldengen edited comment on ARIES-2080 at 8/19/22 9:36 PM:
------------------------------------------------------------------
-Perhaps this will be fixed with ARIES-2074?-
This fails for versions including the fix in ARIES-2074, so please ignore
above comment.
was (Author: gjoranv):
Perhaps this will be fixed with ARIES-2074?
> TCCLSetterVisitor fails visitation of classes containing records
> ----------------------------------------------------------------
>
> Key: ARIES-2080
> URL: https://issues.apache.org/jira/browse/ARIES-2080
> Project: Aries
> Issue Type: Bug
> Components: SPI Fly
> Affects Versions: spifly-1.3.5
> Reporter: Bjørn C Seime
> Priority: Major
> Attachments: stacktrace-aries-spifly-asm8.txt
>
>
> {{TCCLSetterVisitor}} class overrides {{ClassVisitor}} passing API version
> {{Opcodes.ASM7}} as argument to its super class's constructor. The effect is
> that {{TCCLSetterVisitor}} fails whenever it visits byte code requiring ASM
> API version >7 - even on ASM 9.3. This results in the weaving hook failing
> during class loading for classes using records from JDK16.
> {noformat}
> [2022-07-07 13:22:05.080] WARNING : container stderr Caused by:
> java.lang.UnsupportedOperationException: Records requires ASM8
> [2022-07-07 13:22:05.080] WARNING : container stderr at
> com.yahoo.vespa.spifly.repackaged.asm.ClassVisitor.visit(ClassVisitor.java:111)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)