[
https://issues.apache.org/jira/browse/DERBY-7110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17401537#comment-17401537
]
Zeyuan Hu edited comment on DERBY-7110 at 8/19/21, 9:29 AM:
------------------------------------------------------------
[~rhillegas] I'm new to Derby and want to play around with source code. When
you mention "Full tests with the classpath run on JDK 11." and "Full tests with
the modulepath run on JDK 11." can you please provide some instructions or
pointers on how you run those tests?
I tried "ant junit-all" with Java 11 using the current trunk and see test
failure
{code:java}
junit-core:
[junit] Running org.apache.derbyTesting.junit.EnvTest
[junit] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.418
sec
[junit] Running org.apache.derbyTesting.functionTests.tests.derbynet._Suite
[junit] Tests run: 331, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
241.112 sec
[junit] Running org.apache.derbyTesting.functionTests.tests.tools._Suite
[junit] Tests run: 129, Failures: 0, Errors: 6, Skipped: 0, Time elapsed:
188.296 sec
[junit] Test org.apache.derbyTesting.functionTests.tests.tools._Suite FAILED
[junit] Running org.apache.derbyTesting.functionTests.tests.demo._Suite
{code}
I'm not sure if I omit some steps.
Thanks!
was (Author: ferrishu3886):
[~rhillegas] I'm new to Derby and want to play around with source code. When
you mention "Full tests with the classpath run on JDK 11." and "Full tests with
the modulepath run on JDK 11." can you please provide some instructions or
pointers on how you run those tests?
I tried "ant junit-all" with Java 11 using the current trunk and see test
failure
```
junit-core:
[junit] Running org.apache.derbyTesting.junit.EnvTest
[junit] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.418
sec
[junit] Running org.apache.derbyTesting.functionTests.tests.derbynet._Suite
[junit] Tests run: 331, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
241.112 sec
[junit] Running org.apache.derbyTesting.functionTests.tests.tools._Suite
[junit] Tests run: 129, Failures: 0, Errors: 6, Skipped: 0, Time elapsed:
188.296 sec
[junit] Test org.apache.derbyTesting.functionTests.tests.tools._Suite FAILED
[junit] Running org.apache.derbyTesting.functionTests.tests.demo._Suite
```
I'm not sure if I omit some steps.
Thanks!
> Make it possible to build and test Derby cleanly with OpenJDK 17
> ----------------------------------------------------------------
>
> Key: DERBY-7110
> URL: https://issues.apache.org/jira/browse/DERBY-7110
> Project: Derby
> Issue Type: Task
> Components: Build tools
> Affects Versions: 10.16.0.0
> Reporter: Richard N. Hillegas
> Assignee: Richard N. Hillegas
> Priority: Major
> Attachments: derby-7110-01-aa-removeAngleBrackets.diff,
> derby-7110-02-aa-suppressWarnings.diff,
> derby-7110-03-aa-forkAntJavaTask.diff, derby-7110-03-ab-forkAntJavaTask.diff
>
>
> Releases of Open JDK 17 can be found at https://jdk.java.net/17/. We should
> adjust Derby as necessary so that it builds cleanly (including javadoc) and
> tests cleanly with this version of the platform.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)