[lworld] javac is generating a class file with the Preload attribute but with minor version '0'

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • repo-valhalla
    • Affects Version/s: repo-valhalla
    • Component/s: tools

      if these files are compiled:

      value class Val {}

      class Ident {
          Val val;
      }

      when compiling these classes as in:
      javac -d out --enable-preview -source 23 myTests/Val.java myTests/Ident.java

      Ident.class will have a Preload attribute but its minor version is `0` instead of `65535`

            Assignee:
            Vicente Arturo Romero Zaldivar
            Reporter:
            Vicente Arturo Romero Zaldivar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: