Add jdk28-preview module: JDK 28 early-access build, value classes, strict init flag, PEM, JSON incubator
Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gth99spB1CzQmBFofXmU4Z
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
# 04-pem-encodings (JEP 542): PemRoundTrip.java
|
||||
--- JDK 28, no flags:
|
||||
-----BEGIN PUBLIC KEY-----
|
||||
round trip equal: true
|
||||
--- JDK 25, no flags:
|
||||
src/PemRoundTrip.java:10: error: PEMEncoder is a preview API and is disabled by default.
|
||||
String pem = PEMEncoder.of().encodeToString(kp.getPublic());
|
||||
^
|
||||
--- JDK 25, --enable-preview:
|
||||
-----BEGIN PUBLIC KEY-----
|
||||
round trip equal: true
|
||||
Reference in New Issue
Block a user