Add java28-features module: the JDK 28 JEP list so far, one example per JEP on 28-ea+26, behaviour changes against JDK 27
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b7N4ZDbUtA3ofqAqRV
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
c0062ea398
commit
d4b8552957
@@ -0,0 +1,10 @@
|
||||
$ java --add-modules jdk.incubator.json src/JsonDemo.java
|
||||
WARNING: Using incubator modules: jdk.incubator.json
|
||||
service : orders
|
||||
replicas : 3
|
||||
tags : [java, jdk28]
|
||||
owner : (none)
|
||||
missing : (absent)
|
||||
JsonValueException: JsonNumber is not a JsonString. Path: "{replicas". Location: line 0, position 31.
|
||||
JsonParseException: Duplicate member name: "a" was already parsed. Path: "{". Location: line 0, position 7.
|
||||
{"ok":true}
|
||||
Reference in New Issue
Block a user