Skip to content

Commit

Permalink
Allow building with Java 11
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Rauh <nathan.rauh@us.ibm.com>
  • Loading branch information
njr-11 committed Jan 18, 2022
1 parent d3849d3 commit 2abe74c
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2021 Contributors to the Eclipse Foundation
* Copyright (c) 2021,2022 Contributors to the Eclipse Foundation
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -36,7 +36,7 @@
* subclass this implementation or combine multiple <code>CronTrigger</code>
* instances in a <code>Trigger</code> implementation of your own.
* </p>
* <table width="90%">
* <table>
* <caption><b>Cron Expression Fields</b></caption>
* <tr valign="top"><td>seconds (optional)</td><td>0-59, *. When absent, 0 is assumed</td></tr>
* <tr valign="top"><td>minutes</td><td>0-59, *</td></tr>
Expand All @@ -48,7 +48,7 @@
* and 7 for consistency with {@link java.time.DayOfWeek}.</td></tr>
* </table>
* <br>
* <table width="90%">
* <table>
* <caption><b>Cron Expression Syntax</b></caption>
* <tr valign="top"><td><code>,</code></td>
* <td>delimits lists for all fields. For example, <code>MON,WED,FRI</code> or <code>MAY,SEP</code></td></tr>
Expand All @@ -68,7 +68,7 @@
* <code>2L</code> indicates the second-to-last day, and so forth.</td></tr>
* </table>
* <br>
* <table width="90%">
* <table>
* <caption><b>Cron Expression Examples</b></caption>
* <tr valign="top"><td><code>0 * * * *</code></td>
* <td>every hour at the top of the hour</td></tr>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2010, 2020 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2010, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -86,7 +86,8 @@
* For example, if a task is repeating, the lifecycle of the task would be:<br>
* (Note: See {@link ManagedTaskListener} for task lifecycle management details.)
*
* <table summary="Task Lifecycle">
* <table>
* <caption>Task Lifecycle</caption>
* <tr><td valign="top"><strong>Sequence</strong></td>
* <td valign="top"><strong>State</strong></td>
* <td valign="top"><strong>Action</strong></td>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2010, 2020 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2010, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -46,7 +46,8 @@
* <img src="doc-files/TaskListener_StateDiagram.gif" alt="Task Listener State Diagram"><p>
*
* <b>A. The task runs normally:</b>
* <table summary="Task Listener State Normal">
* <table>
* <caption>Task Listener State Normal</caption>
* <tr><td valign="top"><strong><u>Sequence</u></strong></td>
* <td valign="top"><strong><u>State</u></strong></td>
* <td valign="top"><strong><u>Action</u></strong></td>
Expand All @@ -69,7 +70,8 @@
* </table><p>
*
* <b>B. The task is cancelled during taskSubmitted():</b>
* <table summary="Task Listener State Cancelled during taskSubmitted">
* <table>
* <caption>Task Listener State Cancelled during taskSubmitted</caption>
* <tr><td valign="top"><strong><u>Sequence</u></strong></td>
* <td valign="top"><strong><u>State</u></strong></td>
* <td valign="top"><strong><u>Action</u></strong></td>
Expand All @@ -94,7 +96,8 @@
*
* <b>C. The task is cancelled or aborted after submitted, but before started:</b>
*
* <table summary="Task Listener State Cancelled after submitted but before started">
* <table>
* <caption>Task Listener State Cancelled after submitted but before started</caption>
* <tr><td valign="top"><strong><u>Sequence</u></strong></td>
* <td valign="top"><strong><u>State</u></strong></td>
* <td valign="top"><strong><u>Action</u></strong></td>
Expand All @@ -119,7 +122,8 @@
* </table> <p>
*
* <b>D. The task is cancelled when it is starting:</b>
* <table summary="Task Listener State Cancelled when starting">
* <table>
* <caption>Task Listener State Cancelled when starting</caption>
* <tr><td valign="top"><strong><u>Sequence</u></strong></td>
* <td valign="top"><strong><u>State</u></strong></td>
* <td valign="top"><strong><u>Action</u></strong></td>
Expand Down
4 changes: 2 additions & 2 deletions specification/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
<configuration>
<rules>
<requireJavaVersion>
<version>[1.8.0,1.9.0)</version>
<message>You need JDK8 or lower</message>
<version>[1.8.0,12.0)</version>
<message>You need JDK11 or lower</message>
</requireJavaVersion>
</rules>
</configuration>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2017, 2020 Contributors to the Eclipse Foundation
// Copyright (c) 2017, 2022 Contributors to the Eclipse Foundation
//

= Jakarta Concurrency
Expand Down
2 changes: 1 addition & 1 deletion specification/src/main/asciidoc/jakarta-concurrency.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
:sectnums:
= Jakarta Concurrency Specification, Version 3.0

Copyright (c) 2013, 2021 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2013, 2022 Oracle and/or its affiliates. All rights reserved.

Oracle and Java are registered trademarks of Oracle and/or its
affiliates. Other names may be trademarks of their respective owners.
Expand Down
2 changes: 1 addition & 1 deletion specification/src/main/asciidoc/license-efsl.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Status: {revremark}
Release: {revdate}
....

Copyright (c) 2018,2021 Eclipse Foundation.
Copyright (c) 2018,2022 Eclipse Foundation.

=== Eclipse Foundation Specification License

Expand Down
4 changes: 2 additions & 2 deletions tck/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

<groupId>jakarta.enterprise.concurrent</groupId>
<artifactId>jakarta.enterprise.concurrent-tck</artifactId>
<version>3.0.0-RC1</version>
<version>3.0.0</version>
<packaging>jar</packaging>

<name>Jakarta Concurrency TCK</name>
Expand All @@ -52,7 +52,7 @@
<maven.compiler.source>11</maven.compiler.source>

<jakarta.concurrent.version.ga>3.0.0</jakarta.concurrent.version.ga>
<jakarta.concurrent.version.dev>3.0.0-SNAPSHOT</jakarta.concurrent.version.dev>
<jakarta.concurrent.version.dev>3.0.0</jakarta.concurrent.version.dev>

<!-- TODO update to 6.0.0 -->
<jakarta.servlet.version>5.0.0</jakarta.servlet.version>
Expand Down

0 comments on commit 2abe74c

Please sign in to comment.