-
Notifications
You must be signed in to change notification settings - Fork 146
JDK-8269351: Proxy::newProxyInstance and MethodHandleProxies::asInterfaceInstance should reject sealed interfaces #148
Conversation
…aceInstance should reject sealed interfaces
👋 Welcome back mchung! A progress list of the required criteria for merging this PR into |
/csr |
@mlchung this pull request will not be integrated until the CSR request JDK-8269396 for issue JDK-8269351 has been approved. |
@mlchung This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 6 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the ➡️ To integrate this PR with the above commit message to the |
/integrate |
Going to push as commit 3d0d27c.
Your commit was automatically rebased without conflicts. |
java.lang.reflect.Proxy::newProxyInstance
andjava.lang.invoke.MethodHandleProxies::asInterfaceInstance
do not specify how to deal with sealed interfaces. These APIs should reject sealed interface withIllegalArgumentException
which is thrown if the given interface is invalid.Please review CSR:
https://bugs.openjdk.java.net/browse/JDK-8269396
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk17 pull/148/head:pull/148
$ git checkout pull/148
Update a local copy of the PR:
$ git checkout pull/148
$ git pull https://git.openjdk.java.net/jdk17 pull/148/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 148
View PR using the GUI difftool:
$ git pr show -t 148
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk17/pull/148.diff