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

build-test-lib target is broken

    XMLWordPrintable

Details

    • b14

    Backports

      Description

        The 'build-test-lib' target seems to be broken:

        - make/test/BuildTestLib.gmk references the directory $(TEST_LIB_SOURCE_DIR)/sun which does not seem to exist. This can be fixed by removing the reference.
        - Some test-lib sources use preview-features which is not enabled by make/test/BuildTestLib.gmk. This is fixed by adding a JAVAC_FLAGS with --enable-preview and also adding 'preview' to DISABLED_WARNINGS
        - ASN1Formatter.annotate has a possible lossy conversion from long to int which can be fixed by adding an explicit cast

        Attachments

          Issue Links

            Activity

              People

                eirbjo Eirik Bjørsnøs
                eirbjo Eirik Bjørsnøs
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: