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

test/jdk/java/security/SecureClassLoader/DefineClass.java hardcodes 127.0.0.1 - try #2

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
      None

      Description

      test/jdk/java/security/SecureClassLoader/DefineClass.java checks that a security manager works with "http://127.0.0.1". This fails on IPv6-only systems.

      This was "fixed" in https://bugs.openjdk.java.net/browse/JDK-8224256, then reverted in https://bugs.openjdk.java.net/browse/JDK-8224635.

      With the JDK-8224256 change, the test consistently fails on Linux and Windows and intermittently on Solaris in the test farm. It passes locally on my Linux machine.
      There may be multiple causes to the different failures, e.g. the Linux machines in the test farm don't have localhost mapped to [::1].

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              aeubanks Arthur Eubanks
              Reporter:
              aeubanks Arthur Eubanks
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: