-
Notifications
You must be signed in to change notification settings - Fork 6.2k
8371470: Java Launcher does not fail when running compact java-file with private no-arg constructor #28291
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?
8371470: Java Launcher does not fail when running compact java-file with private no-arg constructor #28291
Conversation
…ith private no-arg constructor
|
👋 Welcome back cstein! A progress list of the required criteria for merging this PR into |
|
❗ This change is not yet ready to be integrated. |
Webrevs
|
|
/csr needed |
|
@jddarcy has indicated that a compatibility and specification (CSR) request is needed for this pull request. @sormuras please create a CSR request for issue JDK-8371470 with the correct fix version. This pull request cannot be integrated until the CSR request is approved. |
ammbra
left a comment
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 for solving this issue, Christian 🙏 . While not directly related to the core issue of this bug, could you also please check my comment?
Please review this change to synchronize the behaviour in
java's source launch mode to fail when a non-arg constructor withprivateaccess modifier is defined - like it does in class launch mode.Find the prior-art check performed in class launch mode at LauncherHelper.java#L958-L961:
Progress
Issues
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/28291/head:pull/28291$ git checkout pull/28291Update a local copy of the PR:
$ git checkout pull/28291$ git pull https://git.openjdk.org/jdk.git pull/28291/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 28291View PR using the GUI difftool:
$ git pr show -t 28291Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/28291.diff
Using Webrev
Link to Webrev Comment