Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903536

jasm: the tool ignores options: -nowarn, -strict

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • asm_tools_8.0
    • asm_tools_8.0
    • tools
    • b09
    • b06

      Currently the jasm output is:

      $ jasm -v -nowarn -strict -fixcv 50:0-52:0 goto00101m1.jasm -d .
      goto00101m1.jasm (11:36) Warning: The class file version is set to 52:0 by the option "-fixcv 50:0-52:0"
      public class goto00101m1 version 45:3 {
                                          ^
      1 warning(s)

      expected result:
      $ jasm -v -nowarn -fixcv 50:0-52:0 goto00101m1.jasm -d .
      and for the command:
      $ jasm -v -nowarn -strict -fixcv 50:0-52:0 goto00101m1.jasm -d .
      goto00101m1.jasm (11:36) Error: The class file version is set to 52:0 by the option "-fixcv 50:0-52:0"
      public class goto00101m1 version 45:3 {
                                          ^
      1 error(s)

            lkuskov Leonid Kuskov
            lkuskov Leonid Kuskov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: