Tests failed to compile after JDK-8011044: 1.5 is no longer supported

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • None
    • Affects Version/s: 9
    • Component/s: core-libs

      java/lang/Class/forName/NonJavaNames.sh
      tools/pack200/PackageVersionTest.java

      Above tests start failing after JDK-8011044:

      ----------System.err:(19/956)----------
      warning: [options] bootstrap class path not set in conjunction with -source 1.5
      error: Source option 1.5 is no longer supported. Use 1.6 or later.
      error: Target option 1.5 is no longer supported. Use 1.6 or later.
      2 errors
      1 warning
      java.lang.RuntimeException: compilation failed

            Assignee:
            Xueming Shen
            Reporter:
            Amy Lu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: