RFR(XS): 8150632: jdk.jshell.TaskFactory should use jdk.Version to check for java.specification.version
robert.field at oracle.com
Wed Mar 9 16:59:29 UTC 2016
On March 9, 2016 1:26:56 AM Volker Simonis <volker.simonis at gmail.com> wrote:
> Can I please have a review for this trivial change?
> Thank you and best regards,
> On Mon, Feb 29, 2016 at 10:20 AM, Volker Simonis
> <volker.simonis at gmail.com> wrote:
>> Also forwarding to kulla-dev which may be more appropriate than compiler-dev.
>> ---------- Forwarded message ----------
>> From: Volker Simonis <volker.simonis at gmail.com>
>> Date: Thu, Feb 25, 2016 at 1:11 PM
>> Subject: RFR(XS): 8150632: jdk.jshell.TaskFactory should use
>> jdk.Version to check for java.specification.version
>> To: compiler-dev at openjdk.java.net
>> can I please have a review for the following small patch which fixes a
>> problem with the jshell java.specification.version check:
>> Currently, jdk.jshell.TaskFactory does a hard check against
>> java.specification.version being "9". Until JDK-8149519  will be
>> resolved, this check will fail for any newer Java release (i.e.
>> But even if JDK-8149519 will be resolved, I think the compare should
>> actually check that java.specification.version is greater or equal to
>> "9". This can be easily done with the new jdk.Version API.
>> Thank you and best regards,
>>  https://bugs.openjdk.java.net/browse/JDK-8149519
More information about the compiler-dev