RFR: 8301367: Add exception handler method to the BaseLdapServer
Aleksei Efimov
aefimov at openjdk.org
Tue Jan 31 16:27:59 UTC 2023
The proposed change adds a new exception handler method to the `test/jdk/com/sun/jndi/ldap/lib/BaseLdapServer.java` LDAP test library class. It will allow LDAP tests to customize the handling of server-side exceptions.
The current `BaseLdapTestServer` implementation prints an exception and its stack trace to the standard error stream.
Existing tests in `test/jdk/com/sun/jndi/ldap` that use the modified library class are passing with the modified version.
-------------
Commit messages:
- 8301367: Add exception handler method to the BaseLdapServer
Changes: https://git.openjdk.org/jdk/pull/12347/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12347&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8301367
Stats: 11 lines in 1 file changed: 9 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/12347.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/12347/head:pull/12347
PR: https://git.openjdk.org/jdk/pull/12347
More information about the core-libs-dev
mailing list