[ 
https://issues.apache.org/jira/browse/DERBY-7087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17217074#comment-17217074
 ] 

Davide Grandi commented on DERBY-7087:
--------------------------------------

Hello, until java 11 there's a specific patch ... but not for more recent 
versions.
so .. it bombs.
should I update it ?

bye

--

{{public JavaVersionHolder(String javaVersion)}}
{{ throws java.lang.NumberFormatException}}
{{ {}}
{{ // handle early access versions of JDK 9}}
{{ if (javaVersion.startsWith( "9" ))}}
{{ {}}
{{ javaVersion = "1.9.0";}}
{{ }}}
{{// handle JDK 10}}
{{ if (javaVersion.equals( "10" ))}}
{{ {}}
{{ javaVersion = "1.10.0";}}
{{ }}}
{{// handle JDK 11}}
{{if (javaVersion.startsWith( "11" ))}}
{{ {}}
{{ javaVersion = "1.11.0";}}
{{ }}}
{{// check for jdk12 or higher}}
{{ int i = javaVersion.indexOf('.');}}
{{ int j = javaVersion.indexOf('.', i+1);}}
{{ majorVersion = javaVersion.substring(0, i);}}

 

> Make it possible to build and run tests cleanly on Java 15
> ----------------------------------------------------------
>
>                 Key: DERBY-7087
>                 URL: https://issues.apache.org/jira/browse/DERBY-7087
>             Project: Derby
>          Issue Type: Task
>          Components: Build tools
>    Affects Versions: 10.16.0.0
>            Reporter: Richard N. Hillegas
>            Assignee: Richard N. Hillegas
>            Priority: Major
>
> Make the following possible:
> * Be able to use Java 15 to cleanly run tests against jars which were built 
> using JDK 11.
> * Make it possible to cleanly build and run tests using JDK 15.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to