RFR: 8160000: Runtime.version() cause startup regressions in 9+119
Mandy Chung
mandy.chung at oracle.com
Mon Jun 27 22:04:21 UTC 2016
> On Jun 27, 2016, at 2:43 PM, Claes Redestad <claes.redestad at oracle.com> wrote:
>
> To accommodate your change request w.r.t. unmodifiableList above I took the liberty of cleaning up VersionBuilder.parse() a bit, though. Hope you don't mind:
>
> http://cr.openjdk.java.net/~redestad/8160000/webrev.6/
Moving Collections.unmodifiableList to the Version constructor is a good idea. But I don’t see that change in the webrev.6 though - is that updated?
940 List<Integer> versionNumbers = VersionProps.versionNumbers();
941 version = new Version(Collections.unmodifiableList(versionNumbers),
942 VersionProps.pre(),
943 VersionProps.build(),
944 VersionProps.optional());
1090 this.version = version;
1509 version = Collections.unmodifiableList(list);
Mandy
More information about the core-libs-dev
mailing list