Update ASM to 8.0.1 for Java 14 support

Description

Currently, SonarJava 6.0 relies on ASM 7.1.

ASM is currently still used to read bytecode, when executing X-File Symbolic Execution engine.

Changelog of ASM (https://asm.ow2.io/versions.html):

  • 8.0.1:

    • bug fixes
      317898: ASM 8 does not support writing of empty records

  • 8.0:

    • Java 14 support (RecordComponent)

    • bug fixes:
      317896: Performance degradation when using dynamic constants as a static paramet to another InDy/ConDy

  • 7.3.1:

    • new V15 constant

    • experimental support for PermittedSubtypes and RecordComponent

    • bug fixes
      317885: SKIP_DEBUG now skips MethodParameters attributes

  • 7.2:

    • add support for Java 14

    • fix missing 'final' on some ClassWriter methods

    • InsnList now implements Iterable interface

    • ASMifiable and Textifiable moved to asm-deprecated.jar

    • small refactors to reduce code duplication

    • delete unused code and constants

    • bug fixes:
      317872: Throw an exception if visitFrame used incorrectly
      317873: Add support for RET instruction in AdviceAdapter
      317875: Infinite loop when parsing invalid method descriptor

Note that the 7.3 release of ASM is invalid and should not be used.

is depended upon by

is related to

Activity

Michael GumowskiJune 30, 2020 at 6:13 AM

LGTM!

Evgeny MandrikovFebruary 26, 2020 at 3:52 PM

FYI ASM 7.3.1 can't be easily used for Java 14 class files with preview features - see https://bugs.eclipse.org/bugs/show_bug.cgi?id=559150#c1

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Fix versions

Due date

Priority

Sentry

Created January 15, 2020 at 10:26 AM
Updated October 16, 2024 at 2:09 PM
Resolved June 30, 2020 at 6:13 AM