Compilation of jasm files leads to class file version warning

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • jtreg8.1.1
    • Affects Version/s: jtreg8.0
    • Component/s: tools
    • None

      When compiling some jasm files, through the "@compile" jtreg test action, the following warning message gets printed:

      mexit02a.jasm (24:19) Warning: Class file version not specified in file or by -cv parameter. Defaulting to version "45:3"

      jtreg upgraded to 8.1 version of asmtools recently and this appears to be a new behaviour in this version of asmtools (as compared to 7.0-b09).

      jtreg, when launching jasm tool for compiling the jasm file, should pass along the "-cv" option to specify the default class file version to use in the absence of an explicit one in the jasm file being compiled. Doing so will prevent these warnings.

            Assignee:
            Jaikiran Pai
            Reporter:
            Jaikiran Pai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: