Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8264809

test-lib fails to build due to some warnings in ASN1Formatter and jfr

    XMLWordPrintable

Details

    • b18

    Description

      Reproduce: make build-test-lib

      ```
      * For target support_test_lib_test-lib_classes__the.BUILD_TEST_LIB_JAR_batch:
      /jdk/test/lib/jdk/test/lib/hexdump/ASN1Formatter.java:250: warning: [fallthrough] possible fall-through into case
                      case TAG_PrintableString:
                      ^
      error: warnings found and -Werror specified
      /jdk/test/lib/jdk/test/lib/jfr/GCHelper.java:336: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
                              openGcIds.push(new Integer(gcId));
                                             ^
      /jdk/test/lib/jdk/test/lib/jfr/SimpleEventHelper.java:80: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
                  missingIds.remove(new Integer(id));
                                    ^
      ```

      Attachments

        Issue Links

          Activity

            People

              jiefu Jie Fu
              jiefu Jie Fu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: