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 2
    • Issues 2
    • 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
  • Merge requests
  • !289

Shorts, Bytes, Chars and Booleans are int values

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Idan Horowitz requested to merge idanho/asm:idanho-master-patch-67059 into master Apr 16, 2020
  • Overview 3
  • Commits 1
  • Pipelines 1
  • Changes 1

This change fixes an exception that is thrown when analyzing load instructions with Short/Byte/Character/Boolean values.

Example stack trace:

Caused by: java.lang.IllegalArgumentException: Illegal LDC constant 10 at org.objectweb.asm.tree.analysis.BasicInterpreter.newOperation(BasicInterpreter.java:145) at org.objectweb.asm.tree.analysis.BasicInterpreter.newOperation(BasicInterpreter.java:52) at org.objectweb.asm.tree.analysis.Frame.execute(Frame.java:270) at org.objectweb.asm.tree.analysis.Analyzer.analyze(Analyzer.java:200) ... 8 more

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: idanho-master-patch-67059