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

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • None
    • core-libs
    • None

      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].

            aeubanks Arthur Eubanks
            aeubanks Arthur Eubanks
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: