-
Enhancement
-
Resolution: Fixed
-
P4
-
21, 22, 23
-
b10
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8328061 | 22.0.2 | Matthias Baesken | P4 | Resolved | Fixed | b01 |
JDK-8328062 | 21.0.4 | Matthias Baesken | P4 | Resolved | Fixed | b01 |
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.
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.
- backported by
-
JDK-8328061 test/jdk/java/nio/channels/unixdomain/SocketOptions.java enhance user name output in error case
- Resolved
-
JDK-8328062 test/jdk/java/nio/channels/unixdomain/SocketOptions.java enhance user name output in error case
- Resolved
- links to
-
Commit openjdk/jdk21u-dev/d42da094
-
Commit openjdk/jdk22u/6aa344a7
-
Commit openjdk/jdk/d0039960
-
Review openjdk/jdk21u-dev/350
-
Review openjdk/jdk22u/95
-
Review openjdk/jdk/17829
(3 links to)