8348986: Improve coverage of enhanced exception messages#3989
8348986: Improve coverage of enhanced exception messages#3989alexeybakhtin wants to merge 3 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back abakhtin! A progress list of the required criteria for merging this PR into |
|
❗ This change is not yet ready to be integrated. |
|
This backport pull request has now been updated with issue from the original commit. |
Webrevs
|
|
Hi @alexeybakhtin |
| @@ -1,5 +1,5 @@ | |||
| /* | |||
| * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. | |||
| * Copyright (c) 2025, Oracle and/or its affiliates. All rights reserved. | |||
There was a problem hiding this comment.
Only the copyright header changed
| @@ -1,104 +0,0 @@ | |||
| /* | |||
There was a problem hiding this comment.
SocketExceptions becomes an empty file
| java.naming, | ||
| java.rmi, |
| java.naming, | ||
| java.rmi, | ||
| java.net.http, | ||
| java.xml.crypto, | ||
| jdk.crypto.ec, | ||
| jdk.crypto.cryptoki, | ||
| jdk.httpserver, |
There was a problem hiding this comment.
This change must be for jdk.internal.util
| // connect failed, close the channel | ||
| close(); | ||
| throw SocketExceptions.of(ioe, sa); | ||
| throw Exceptions.ioException(ioe, sa); |
There was a problem hiding this comment.
A similar change is needed also in AbstractPlainSocketImpl.java
|
@alexeybakhtin This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply issue a |
|
@alexeybakhtin This pull request has been inactive for more than 8 weeks and will now be automatically closed. If you would like to continue working on this pull request in the future, feel free to reopen it! This can be done using the |
|
/open |
|
@alexeybakhtin This pull request is now open |
I'd like to backport JDK-8348986 to control sensitive information in Exception messages.
Backport from openjdk/jdk21u-dev#2132 is not clean. The following changes were applied manually:
Modified and related JTREG tests are passed
Progress
Issues
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk17u-dev.git pull/3989/head:pull/3989$ git checkout pull/3989Update a local copy of the PR:
$ git checkout pull/3989$ git pull https://git.openjdk.org/jdk17u-dev.git pull/3989/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 3989View PR using the GUI difftool:
$ git pr show -t 3989Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk17u-dev/pull/3989.diff
Using Webrev
Link to Webrev Comment