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

Remove -source 1.4 -target 1.4 from tests

XMLWordPrintable

    • b75
    • Verified


      The following tests should be checked to see if it really necessary to specify -source and/or -target in the @compile tag:

      closed/java/security/cert/X509CRLSelector/MatchCRLWithNonStdIssuerDN.java
      java/security/cert/PKIXBuilderParameters/InvalidParameters.java
      java/security/cert/PKIXParameters/InvalidParameters.java

      Another one is sun/security/util/Oid/S11N.sh, which calls javac with -source and -target 1.4.

      The motivation for this bug is that these options are not compatible with the -profile option and so the tests are marked in error when run on profile builds.

            juh Jason Uh (Inactive)
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: