-
Notifications
You must be signed in to change notification settings - Fork 232
8348986: Improve coverage of enhanced exception messages #3989
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only the copyright header changed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. Fixed
@@ -1,104 +0,0 @@ | |||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SocketExceptions becomes an empty file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. Removed
java.naming, | ||
java.rmi, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
duplicate
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change must be for jdk.internal.util
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. Moved
// connect failed, close the channel | ||
close(); | ||
throw SocketExceptions.of(ioe, sa); | ||
throw Exceptions.ioException(ioe, sa); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A similar change is needed also in AbstractPlainSocketImpl.java
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Thank you. Fixed.
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
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk17u-dev.git pull/3989/head:pull/3989
$ git checkout pull/3989
Update a local copy of the PR:
$ git checkout pull/3989
$ git pull https://git.openjdk.org/jdk17u-dev.git pull/3989/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 3989
View PR using the GUI difftool:
$ git pr show -t 3989
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk17u-dev/pull/3989.diff
Using Webrev
Link to Webrev Comment