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

test/jdk/java/nio/channels/unixdomain/SocketOptions.java enhance user name output in error case

    XMLWordPrintable

Details

    • b10
    • generic
    • generic

    Backports

      Description

        In case of a bad running LDAP we got this output from test test/jdk/java/nio/channels/unixdomain/SocketOptions.java

        java.lang.RuntimeException: wrong username
        at SocketOptions.testPeerCred(SocketOptions.java:75)
        at SocketOptions.main(SocketOptions.java:52)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
        at java.base/java.lang.Thread.run(Thread.java:1583)

        It would be better to see the compared values (user name data we compare) and get them in the exception output.

        Attachments

          Issue Links

            Activity

              People

                mbaesken Matthias Baesken
                mbaesken Matthias Baesken
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: