Verona spec: Update "API" section to reflect changes in 8072379 and 8144062
Iris Clark
iris.clark at oracle.com
Wed Jun 1 20:23:33 UTC 2016
Hi.
The "API" section of the JEP should be aligned with the implementation
of the jdk.Version API (8072379) and subsequent changes to move it to
java.lang.Runtime.Version (8144062).
The attached diffs will be applied to the JEP shortly.
Thanks,
Iris
-----
253c253
< strings will be defined:
---
> strings will be defined ([8072379][8072379], [8144062][8144062]):
255c255,258
< package jdk;
---
> [8072379]: https://bugs.openjdk.java.net/browse/JDK-8072379
> [8144062]: https://bugs.openjdk.java.net/browse/JDK-8144062
>
> package java.lang;
259,261c262,268
< public class Version
< implements Comparable<Version>
< {
---
> public class Runtime {
>
> public static Version version();
>
> public static class Version
> implements Comparable<Version>
> {
263c270,271
< public static Version parse(String);
---
> public static Version parse(String);
> public static Version current();
265,267c273,275
< public int major();
< public int minor();
< public int security();
---
> public int major();
> public int minor();
> public int security();
269,272c277,280
< public List<Integer> version();
< public Optional<String> pre();
< public Optional<Integer> build();
< public Optional<String> optional();
---
> public List<Integer> version();
> public Optional<String> pre();
> public Optional<Integer> build();
> public Optional<String> optional();
274,275c282,283
< public int compareTo(Version o);
< public int compareToIgnoreOpt(Version o);
---
> public int compareTo(Version o);
> public int compareToIgnoreOpt(Version o);
277,278c285,286
< public boolean equals(Object o);
< public boolean equalsIgnoreOpt(Object o);
---
> public boolean equals(Object o);
> public boolean equalsIgnoreOpt(Object o);
280,281c288,290
< public String toString();
< public int hashCode();
---
> public String toString();
> public int hashCode();
> }
More information about the verona-dev
mailing list