RFR: JDK-8308398 Move SunEC crypto provider into java.base [v2]
Anthony Scarpino
ascarpino at openjdk.org
Mon Jun 26 22:52:18 UTC 2023
> Hi,
>
> I need a code review for moving the contents of the jdk.crypto.ec module into java.base. This moves the SunEC JCE Provider (Elliptic Curve) into java.base. EC has always been separate from the base module/pkg because of its dependence on a native library. That library was removed in JDK 16. An empty jdk.crypto.ec module will remain for compatibility, but marked as deprecated with the intent to be removed in a future release.
>
> There should be no compatibility risk for application using EC through JCE. There are no public API changes to EC, XEC, and EdDSA classes . Applications that unwisely accessing internal EC classes will need to use the java.base module.
>
> Thanks
>
> Tony
Anthony Scarpino has updated the pull request incrementally with one additional commit since the last revision:
update for review: changed test, removed commented out code in module, fixed switch statement, added --limit-modules
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/14457/files
- new: https://git.openjdk.org/jdk/pull/14457/files/85870520..32b4cee1
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=14457&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=14457&range=00-01
Stats: 34 lines in 5 files changed: 13 ins; 3 del; 18 mod
Patch: https://git.openjdk.org/jdk/pull/14457.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/14457/head:pull/14457
PR: https://git.openjdk.org/jdk/pull/14457
More information about the core-libs-dev
mailing list