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

Cannot compile jtreg with jdk-19

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • jtreg7.1
    • jtreg7.0
    • 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

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

              Created:
              Updated:
              Resolved: