Cannot compile jtreg with jdk-19

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • jtreg7.1
    • Affects Version/s: jtreg7.0
    • Component/s: tools
    • None

      ../src/share/classes/com/sun/javatest/diff/SuperDiff.java:243: warning: [serial] non-transient instance field of a serializable class declared with a non-serializable type
                  platforms.add(platform);
                  ^
      ../src/share/classes/com/sun/javatest/diff/SuperDiff.java:262: warning: [serial] non-transient instance field of a serializable class declared with a non-serializable type
                  infoTable.put(dir.getPath(), new Info(platform, date));
                  ^
      error: warnings found and -Werror specified
      1 error
      2 warnings

            Assignee:
            Jonathan Gibbons
            Reporter:
            Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: