Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • asm asm
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • asmasm
  • asmasm
  • Issues
  • #317942
Closed
Open
Issue created Apr 09, 2021 by Oliver Wendt@ow

[ASM-Util 9.1] ClassCheckAdaptor output represents reference arrays as only their "root" component type

When using a ClassCheckAdaptor's output, locals and stack objects which are arrays of references are only shown as their "root" component type. That is to say, [Ljava/lang/String;, [[Ljava/lang/String;, and so on are only shown as String, rather than [[String or something along those lines. This does not apply to arrays whose root component type is primitive - for example, [I, [[I, and so on are output correctly.

Example: What is shown

test([C[[C[Ljava/lang/String;[[Ljava/lang/String;)V
00000 [C [[C String String  :  :     ALOAD 0
00001 [C [[C String String  : [C  :     ALOAD 1
00002 [C [[C String String  : [C [[C  :     ALOAD 2
00003 [C [[C String String  : [C [[C String  :     ALOAD 3
00004 [C [[C String String  : [C [[C String String  :     RETURN

What should be shown

test([C[[C[Ljava/lang/String;[[Ljava/lang/String;)V
00000 [C [[C [String [[String  :  :     ALOAD 0
00001 [C [[C [String [[String  : [C  :     ALOAD 1
00002 [C [[C [String [[String  : [C [[C  :     ALOAD 2
00003 [C [[C [String [[String  : [C [[C [String  :     ALOAD 3
00004 [C [[C [String [[String  : [C [[C [String [[String  :     RETURN
Assignee
Assign to
Time tracking