From a1454e6f2171465703581be777b7af70b3825ed2 Mon Sep 17 00:00:00 2001 From: Kyle Aure Date: Fri, 21 Jun 2024 17:05:32 -0500 Subject: [PATCH] Update spec in preperation for Jakarta EE 12 --- .github/workflows/ci.yml | 2 +- .github/workflows/specification.yml | 4 +- .github/workflows/update.yml | 2 +- api/README.md | 2 +- api/pom.xml | 10 +- pom.xml | 4 +- specification/README.md | 2 +- specification/pom.xml | 2 +- .../main/asciidoc/jakarta-concurrency.adoc | 4 +- tck-dist/pom.xml | 6 +- .../concurrency-tck-reference-guide.adoc | 10 +- tck-dist/src/main/starter/pom.xml | 6 +- tck/README.md | 2 +- tck/pom.xml | 10 +- .../jakarta.enterprise.concurrent.sig_17 | 474 ------------------ .../jakarta.enterprise.concurrent.sig_21 | 2 +- 16 files changed, 34 insertions(+), 508 deletions(-) delete mode 100644 tck/src/main/resources/ee/jakarta/tck/concurrent/common/signature/jakarta.enterprise.concurrent.sig_17 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dffbb7a6..13620959 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: # TODO update once 25-ea is available strategy: matrix: - java-version: [ '17', '21' ] + java-version: [ '21' ] runs-on: ubuntu-latest diff --git a/.github/workflows/specification.yml b/.github/workflows/specification.yml index 047d6434..4b4f8ef3 100644 --- a/.github/workflows/specification.yml +++ b/.github/workflows/specification.yml @@ -17,10 +17,10 @@ jobs: steps: - name: Checkout source uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1 with: - java-version: 17 + java-version: 21 distribution: 'temurin' cache: maven - name: Generate specification docs diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 17a656db..7020154c 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -12,7 +12,7 @@ jobs: strategy: max-parallel: 1 matrix: - java-version: [ '17', '21' ] + java-version: ['21'] steps: - name: Checkout source diff --git a/api/README.md b/api/README.md index 3cb5d975..07111949 100644 --- a/api/README.md +++ b/api/README.md @@ -8,7 +8,7 @@ Building Prerequisites: -* JDK 17+ +* JDK 21+ * Maven 3.8.0+ Build and test the API: diff --git a/api/pom.xml b/api/pom.xml index 7ee71b89..925a4c85 100644 --- a/api/pom.xml +++ b/api/pom.xml @@ -23,7 +23,7 @@ jakarta.enterprise.concurrent jakarta.enterprise.concurrent.parent - 3.1.1-SNAPSHOT + 3.2.0-SNAPSHOT jakarta.enterprise.concurrent-api @@ -45,7 +45,7 @@ - 3.1 + 3.2 @@ -72,8 +72,8 @@ maven-compiler-plugin 3.13.0 - 17 - 17 + 21 + 21 @@ -161,7 +161,7 @@ jar - 17 + 21 true -Xdoclint:none Jakarta Concurrency API documentation diff --git a/pom.xml b/pom.xml index 98c57ed8..50b37481 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ jakarta.enterprise.concurrent jakarta.enterprise.concurrent.parent - 3.1.1-SNAPSHOT + 3.2.0-SNAPSHOT pom Jakarta Concurrency @@ -68,7 +68,7 @@ UTF-8 UTF-8 - 17 + 21 3.4.0 10.17.0 diff --git a/specification/README.md b/specification/README.md index e1d69103..cd95cb83 100644 --- a/specification/README.md +++ b/specification/README.md @@ -8,7 +8,7 @@ Building Prerequisites: -* JDK 17+ +* JDK 21+ * Maven 3.8.5+ Run the full build: diff --git a/specification/pom.xml b/specification/pom.xml index a677776f..8ba7c530 100644 --- a/specification/pom.xml +++ b/specification/pom.xml @@ -22,7 +22,7 @@ jakarta.enterprise.concurrent jakarta.enterprise.concurrent.parent - 3.1.1-SNAPSHOT + 3.2.0-SNAPSHOT concurrency-spec diff --git a/specification/src/main/asciidoc/jakarta-concurrency.adoc b/specification/src/main/asciidoc/jakarta-concurrency.adoc index 25522667..1c59e77b 100644 --- a/specification/src/main/asciidoc/jakarta-concurrency.adoc +++ b/specification/src/main/asciidoc/jakarta-concurrency.adoc @@ -1,5 +1,5 @@ :sectnums: -= Jakarta Concurrency Specification, Version 3.1 += Jakarta Concurrency Specification, Version 3.2 Copyright (c) 2013, 2024 Oracle and/or its affiliates. All rights reserved. @@ -26,7 +26,7 @@ It is because of this behavior that application components are typically unable to reliably use other Jakarta EE platform services from a thread that is not managed by the container. -Jakarta EE Product Providers (see chapter 2.12 of the Jakarta EE 11 +Jakarta EE Product Providers (see chapter 2.12 of the Jakarta EE 12 Specification) also discourage the use of resources in a non-managed way, because it can potentially undermine the enterprise features that the platform is designed to provide such as availability, security, and diff --git a/tck-dist/pom.xml b/tck-dist/pom.xml index 169028f0..1f9278dd 100644 --- a/tck-dist/pom.xml +++ b/tck-dist/pom.xml @@ -22,7 +22,7 @@ jakarta.enterprise.concurrent jakarta.enterprise.concurrent.parent - 3.1.1-SNAPSHOT + 3.2.0-SNAPSHOT jakarta.enterprise.concurrent-tck-dist @@ -79,8 +79,8 @@ maven-compiler-plugin 3.13.0 - 17 - 17 + 21 + 21 diff --git a/tck-dist/src/main/asciidoc/concurrency-tck-reference-guide.adoc b/tck-dist/src/main/asciidoc/concurrency-tck-reference-guide.adoc index 2046a55b..ee791e0f 100644 --- a/tck-dist/src/main/asciidoc/concurrency-tck-reference-guide.adoc +++ b/tck-dist/src/main/asciidoc/concurrency-tck-reference-guide.adoc @@ -1,15 +1,15 @@ = Jakarta Concurrency TCK Reference Guide :author: Kyle Aure :email: cu-dev@eclipse.org -:revnumber: v1.1 +:revnumber: v1.2 :toc: :sectnums: :APIShortName: Concurrency :APILongName: Jakarta Concurrency -:APIVersion: 3.1.0 +:APIVersion: 3.2 -:APISpecSite: https://jakarta.ee/specifications/concurrency/3.1/ +:APISpecSite: https://jakarta.ee/specifications/concurrency/3.2/ :APIEclipseSite: https://projects.eclipse.org/projects/ee4j.cu :APIGitSite: https://github.com/jakartaee/concurrency @@ -17,8 +17,8 @@ :SigPluginVersion: 2.3 :SigPluginGAV: jakarta.tck:sigtest-maven-plugin:{SigPluginVersion} -:JavaVersion1: 17 -:JavaVersion2: 21 +:JavaVersion1: 21 +:JavaVersion2: 25 :license: Eclipse Foundation Technology Compatibility Kit License :licenseURL: https://www.eclipse.org/legal/tck.php diff --git a/tck-dist/src/main/starter/pom.xml b/tck-dist/src/main/starter/pom.xml index a473569d..9abf21b2 100644 --- a/tck-dist/src/main/starter/pom.xml +++ b/tck-dist/src/main/starter/pom.xml @@ -30,11 +30,11 @@ UTF-8 - 17 - 17 + 21 + 21 - 3.1.1 + 3.2.0 6.1.0 1.8.1.Final diff --git a/tck/README.md b/tck/README.md index fc1a284e..9c57b818 100644 --- a/tck/README.md +++ b/tck/README.md @@ -15,7 +15,7 @@ This guide will help you build and run the TCK on a supported Jakarta EE Applica ### System Requirements You will need to download and install the following software before you begin. -- JDK 17 or higher +- JDK 21 or higher - [Maven 3.8.0 or higher](https://maven.apache.org/download.cgi) - Jakarta EE Application Server or Container [Glassfish, Open Liberty, JBoss, WebLogic, etc.] diff --git a/tck/pom.xml b/tck/pom.xml index b257aef1..5e5ac84a 100644 --- a/tck/pom.xml +++ b/tck/pom.xml @@ -25,7 +25,7 @@ jakarta.enterprise.concurrent jakarta.enterprise.concurrent.parent - 3.1.1-SNAPSHOT + 3.2.0-SNAPSHOT jakarta.enterprise.concurrent-tck @@ -138,8 +138,8 @@ maven-compiler-plugin 3.13.0 - 17 - 17 + 21 + 21 @@ -185,7 +185,7 @@ jar - 17 + 21 true -Xdoclint:none @@ -208,7 +208,7 @@ - 17 + 21 diff --git a/tck/src/main/resources/ee/jakarta/tck/concurrent/common/signature/jakarta.enterprise.concurrent.sig_17 b/tck/src/main/resources/ee/jakarta/tck/concurrent/common/signature/jakarta.enterprise.concurrent.sig_17 deleted file mode 100644 index 4d7bc64e..00000000 --- a/tck/src/main/resources/ee/jakarta/tck/concurrent/common/signature/jakarta.enterprise.concurrent.sig_17 +++ /dev/null @@ -1,474 +0,0 @@ -#Signature file v4.1 -#Version 3.1.0-SNAPSHOT - -CLSS public jakarta.enterprise.concurrent.AbortedException -cons public init() -cons public init(java.lang.String) -cons public init(java.lang.String,java.lang.Throwable) -cons public init(java.lang.Throwable) -intf java.io.Serializable -supr java.util.concurrent.ExecutionException -hfds serialVersionUID - -CLSS public abstract interface !annotation jakarta.enterprise.concurrent.Asynchronous - anno 0 jakarta.interceptor.InterceptorBinding() - anno 0 java.lang.annotation.Documented() - anno 0 java.lang.annotation.Inherited() - anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) - anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD, TYPE]) -innr public final static Result -intf java.lang.annotation.Annotation -meth public abstract !hasdefault jakarta.enterprise.concurrent.Schedule[] runAt() -meth public abstract !hasdefault java.lang.String executor() - -CLSS public final static jakarta.enterprise.concurrent.Asynchronous$Result - outer jakarta.enterprise.concurrent.Asynchronous -meth public static <%0 extends java.lang.Object> java.util.concurrent.CompletableFuture<{%%0}> complete({%%0}) -meth public static <%0 extends java.lang.Object> java.util.concurrent.CompletableFuture<{%%0}> getFuture() -meth public static <%0 extends java.lang.Object> void setFuture(java.util.concurrent.CompletableFuture<{%%0}>) -supr java.lang.Object -hfds FUTURES - -CLSS public abstract interface jakarta.enterprise.concurrent.ContextService -meth public abstract !varargs java.lang.Object createContextualProxy(java.lang.Object,java.lang.Class[]) -meth public abstract !varargs java.lang.Object createContextualProxy(java.lang.Object,java.util.Map,java.lang.Class[]) -meth public abstract <%0 extends java.lang.Object, %1 extends java.lang.Object, %2 extends java.lang.Object> java.util.function.BiFunction<{%%0},{%%1},{%%2}> contextualFunction(java.util.function.BiFunction<{%%0},{%%1},{%%2}>) -meth public abstract <%0 extends java.lang.Object, %1 extends java.lang.Object> java.util.concurrent.Flow$Processor<{%%0},{%%1}> contextualProcessor(java.util.concurrent.Flow$Processor<{%%0},{%%1}>) -meth public abstract <%0 extends java.lang.Object, %1 extends java.lang.Object> java.util.function.BiConsumer<{%%0},{%%1}> contextualConsumer(java.util.function.BiConsumer<{%%0},{%%1}>) -meth public abstract <%0 extends java.lang.Object, %1 extends java.lang.Object> java.util.function.Function<{%%0},{%%1}> contextualFunction(java.util.function.Function<{%%0},{%%1}>) -meth public abstract <%0 extends java.lang.Object> java.util.concurrent.Callable<{%%0}> contextualCallable(java.util.concurrent.Callable<{%%0}>) -meth public abstract <%0 extends java.lang.Object> java.util.concurrent.CompletableFuture<{%%0}> withContextCapture(java.util.concurrent.CompletableFuture<{%%0}>) -meth public abstract <%0 extends java.lang.Object> java.util.concurrent.CompletionStage<{%%0}> withContextCapture(java.util.concurrent.CompletionStage<{%%0}>) -meth public abstract <%0 extends java.lang.Object> java.util.concurrent.Flow$Subscriber<{%%0}> contextualSubscriber(java.util.concurrent.Flow$Subscriber<{%%0}>) -meth public abstract <%0 extends java.lang.Object> java.util.function.Consumer<{%%0}> contextualConsumer(java.util.function.Consumer<{%%0}>) -meth public abstract <%0 extends java.lang.Object> java.util.function.Supplier<{%%0}> contextualSupplier(java.util.function.Supplier<{%%0}>) -meth public abstract <%0 extends java.lang.Object> {%%0} createContextualProxy({%%0},java.lang.Class<{%%0}>) -meth public abstract <%0 extends java.lang.Object> {%%0} createContextualProxy({%%0},java.util.Map,java.lang.Class<{%%0}>) -meth public abstract java.lang.Runnable contextualRunnable(java.lang.Runnable) -meth public abstract java.util.Map getExecutionProperties(java.lang.Object) -meth public abstract java.util.concurrent.Executor currentContextExecutor() - -CLSS public abstract interface !annotation jakarta.enterprise.concurrent.ContextServiceDefinition - anno 0 java.lang.annotation.Repeatable(java.lang.Class value=class jakarta.enterprise.concurrent.ContextServiceDefinition$List) - anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) - anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) -fld public final static java.lang.String ALL_REMAINING = "Remaining" -fld public final static java.lang.String APPLICATION = "Application" -fld public final static java.lang.String SECURITY = "Security" -fld public final static java.lang.String TRANSACTION = "Transaction" -innr public abstract interface static !annotation List -intf java.lang.annotation.Annotation -meth public abstract !hasdefault java.lang.Class[] qualifiers() -meth public abstract !hasdefault java.lang.String[] cleared() -meth public abstract !hasdefault java.lang.String[] propagated() -meth public abstract !hasdefault java.lang.String[] unchanged() -meth public abstract java.lang.String name() - -CLSS public abstract interface static !annotation jakarta.enterprise.concurrent.ContextServiceDefinition$List - outer jakarta.enterprise.concurrent.ContextServiceDefinition - anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) - anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) -intf java.lang.annotation.Annotation -meth public abstract jakarta.enterprise.concurrent.ContextServiceDefinition[] value() - -CLSS public jakarta.enterprise.concurrent.CronTrigger -cons public init(java.lang.String,java.time.ZoneId) -cons public init(java.time.ZoneId) -intf jakarta.enterprise.concurrent.ZonedTrigger -meth protected java.time.ZonedDateTime next(java.time.ZonedDateTime) -meth public !varargs jakarta.enterprise.concurrent.CronTrigger daysOfMonth(int[]) -meth public !varargs jakarta.enterprise.concurrent.CronTrigger daysOfWeek(java.time.DayOfWeek[]) -meth public !varargs jakarta.enterprise.concurrent.CronTrigger hours(int[]) -meth public !varargs jakarta.enterprise.concurrent.CronTrigger minutes(int[]) -meth public !varargs jakarta.enterprise.concurrent.CronTrigger months(java.time.Month[]) -meth public !varargs jakarta.enterprise.concurrent.CronTrigger seconds(int[]) -meth public final java.time.ZoneId getZoneId() -meth public jakarta.enterprise.concurrent.CronTrigger daysOfMonth(java.lang.String) -meth public jakarta.enterprise.concurrent.CronTrigger daysOfWeek(java.lang.String) -meth public jakarta.enterprise.concurrent.CronTrigger hours(java.lang.String) -meth public jakarta.enterprise.concurrent.CronTrigger minutes(java.lang.String) -meth public jakarta.enterprise.concurrent.CronTrigger months(java.lang.String) -meth public jakarta.enterprise.concurrent.CronTrigger seconds(java.lang.String) -meth public java.lang.String toString() -meth public java.time.ZonedDateTime getNextRunTime(jakarta.enterprise.concurrent.LastExecution,java.time.ZonedDateTime) -supr java.lang.Object -hfds ALL_DAYS_OF_MONTH,ALL_DAYS_OF_WEEK,ALL_MONTHS,DAYS_OF_WEEK,LAST,MONTHS,ZERO,daysOfMonth,daysOfWeek,hours,minutes,months,seconds,zone - -CLSS public abstract interface jakarta.enterprise.concurrent.LastExecution -meth public abstract java.lang.Object getResult() -meth public abstract java.lang.String getIdentityName() -meth public abstract java.time.ZonedDateTime getRunEnd(java.time.ZoneId) -meth public abstract java.time.ZonedDateTime getRunStart(java.time.ZoneId) -meth public abstract java.time.ZonedDateTime getScheduledStart(java.time.ZoneId) -meth public java.util.Date getRunEnd() -meth public java.util.Date getRunStart() -meth public java.util.Date getScheduledStart() - -CLSS public abstract interface jakarta.enterprise.concurrent.ManageableThread -meth public abstract boolean isShutdown() - -CLSS public abstract interface !annotation jakarta.enterprise.concurrent.ManagedExecutorDefinition - anno 0 java.lang.annotation.Repeatable(java.lang.Class value=class jakarta.enterprise.concurrent.ManagedExecutorDefinition$List) - anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) - anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) -innr public abstract interface static !annotation List -intf java.lang.annotation.Annotation -meth public abstract !hasdefault boolean virtual() -meth public abstract !hasdefault int maxAsync() -meth public abstract !hasdefault java.lang.Class[] qualifiers() -meth public abstract !hasdefault java.lang.String context() -meth public abstract !hasdefault long hungTaskThreshold() -meth public abstract java.lang.String name() - -CLSS public abstract interface static !annotation jakarta.enterprise.concurrent.ManagedExecutorDefinition$List - outer jakarta.enterprise.concurrent.ManagedExecutorDefinition - anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) - anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) -intf java.lang.annotation.Annotation -meth public abstract jakarta.enterprise.concurrent.ManagedExecutorDefinition[] value() - -CLSS public abstract interface jakarta.enterprise.concurrent.ManagedExecutorService -intf java.util.concurrent.ExecutorService -meth public abstract <%0 extends java.lang.Object> java.util.concurrent.CompletableFuture<{%%0}> completedFuture({%%0}) -meth public abstract <%0 extends java.lang.Object> java.util.concurrent.CompletableFuture<{%%0}> copy(java.util.concurrent.CompletableFuture<{%%0}>) -meth public abstract <%0 extends java.lang.Object> java.util.concurrent.CompletableFuture<{%%0}> failedFuture(java.lang.Throwable) -meth public abstract <%0 extends java.lang.Object> java.util.concurrent.CompletableFuture<{%%0}> newIncompleteFuture() -meth public abstract <%0 extends java.lang.Object> java.util.concurrent.CompletableFuture<{%%0}> supplyAsync(java.util.function.Supplier<{%%0}>) -meth public abstract <%0 extends java.lang.Object> java.util.concurrent.CompletionStage<{%%0}> completedStage({%%0}) -meth public abstract <%0 extends java.lang.Object> java.util.concurrent.CompletionStage<{%%0}> copy(java.util.concurrent.CompletionStage<{%%0}>) -meth public abstract <%0 extends java.lang.Object> java.util.concurrent.CompletionStage<{%%0}> failedStage(java.lang.Throwable) -meth public abstract jakarta.enterprise.concurrent.ContextService getContextService() -meth public abstract java.util.concurrent.CompletableFuture runAsync(java.lang.Runnable) - -CLSS public final jakarta.enterprise.concurrent.ManagedExecutors -meth public static <%0 extends java.lang.Object> java.util.concurrent.Callable<{%%0}> managedTask(java.util.concurrent.Callable<{%%0}>,jakarta.enterprise.concurrent.ManagedTaskListener) -meth public static <%0 extends java.lang.Object> java.util.concurrent.Callable<{%%0}> managedTask(java.util.concurrent.Callable<{%%0}>,java.util.Map,jakarta.enterprise.concurrent.ManagedTaskListener) -meth public static boolean isCurrentThreadShutdown() -meth public static java.lang.Runnable managedTask(java.lang.Runnable,jakarta.enterprise.concurrent.ManagedTaskListener) -meth public static java.lang.Runnable managedTask(java.lang.Runnable,java.util.Map,jakarta.enterprise.concurrent.ManagedTaskListener) -supr java.lang.Object -hfds NULL_TASK_ERROR_MSG -hcls Adapter,CallableAdapter,RunnableAdapter - -CLSS public abstract interface !annotation jakarta.enterprise.concurrent.ManagedScheduledExecutorDefinition - anno 0 java.lang.annotation.Repeatable(java.lang.Class value=class jakarta.enterprise.concurrent.ManagedScheduledExecutorDefinition$List) - anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) - anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) -innr public abstract interface static !annotation List -intf java.lang.annotation.Annotation -meth public abstract !hasdefault boolean virtual() -meth public abstract !hasdefault int maxAsync() -meth public abstract !hasdefault java.lang.Class[] qualifiers() -meth public abstract !hasdefault java.lang.String context() -meth public abstract !hasdefault long hungTaskThreshold() -meth public abstract java.lang.String name() - -CLSS public abstract interface static !annotation jakarta.enterprise.concurrent.ManagedScheduledExecutorDefinition$List - outer jakarta.enterprise.concurrent.ManagedScheduledExecutorDefinition - anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) - anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) -intf java.lang.annotation.Annotation -meth public abstract jakarta.enterprise.concurrent.ManagedScheduledExecutorDefinition[] value() - -CLSS public abstract interface jakarta.enterprise.concurrent.ManagedScheduledExecutorService -intf jakarta.enterprise.concurrent.ManagedExecutorService -intf java.util.concurrent.ScheduledExecutorService -meth public abstract <%0 extends java.lang.Object> java.util.concurrent.ScheduledFuture<{%%0}> schedule(java.util.concurrent.Callable<{%%0}>,jakarta.enterprise.concurrent.Trigger) -meth public abstract java.util.concurrent.ScheduledFuture schedule(java.lang.Runnable,jakarta.enterprise.concurrent.Trigger) - -CLSS public abstract interface jakarta.enterprise.concurrent.ManagedTask -fld public final static java.lang.String IDENTITY_NAME = "jakarta.enterprise.concurrent.IDENTITY_NAME" -fld public final static java.lang.String LONGRUNNING_HINT = "jakarta.enterprise.concurrent.LONGRUNNING_HINT" -fld public final static java.lang.String SUSPEND = "SUSPEND" -fld public final static java.lang.String TRANSACTION = "jakarta.enterprise.concurrent.TRANSACTION" -fld public final static java.lang.String USE_TRANSACTION_OF_EXECUTION_THREAD = "USE_TRANSACTION_OF_EXECUTION_THREAD" -meth public abstract jakarta.enterprise.concurrent.ManagedTaskListener getManagedTaskListener() -meth public abstract java.util.Map getExecutionProperties() - -CLSS public abstract interface jakarta.enterprise.concurrent.ManagedTaskListener -meth public abstract void taskAborted(java.util.concurrent.Future,jakarta.enterprise.concurrent.ManagedExecutorService,java.lang.Object,java.lang.Throwable) -meth public abstract void taskDone(java.util.concurrent.Future,jakarta.enterprise.concurrent.ManagedExecutorService,java.lang.Object,java.lang.Throwable) -meth public abstract void taskStarting(java.util.concurrent.Future,jakarta.enterprise.concurrent.ManagedExecutorService,java.lang.Object) -meth public abstract void taskSubmitted(java.util.concurrent.Future,jakarta.enterprise.concurrent.ManagedExecutorService,java.lang.Object) - -CLSS public abstract interface jakarta.enterprise.concurrent.ManagedThreadFactory -intf java.util.concurrent.ForkJoinPool$ForkJoinWorkerThreadFactory -intf java.util.concurrent.ThreadFactory - -CLSS public abstract interface !annotation jakarta.enterprise.concurrent.ManagedThreadFactoryDefinition - anno 0 java.lang.annotation.Repeatable(java.lang.Class value=class jakarta.enterprise.concurrent.ManagedThreadFactoryDefinition$List) - anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) - anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) -innr public abstract interface static !annotation List -intf java.lang.annotation.Annotation -meth public abstract !hasdefault boolean virtual() -meth public abstract !hasdefault int priority() -meth public abstract !hasdefault java.lang.Class[] qualifiers() -meth public abstract !hasdefault java.lang.String context() -meth public abstract java.lang.String name() - -CLSS public abstract interface static !annotation jakarta.enterprise.concurrent.ManagedThreadFactoryDefinition$List - outer jakarta.enterprise.concurrent.ManagedThreadFactoryDefinition - anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) - anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) -intf java.lang.annotation.Annotation -meth public abstract jakarta.enterprise.concurrent.ManagedThreadFactoryDefinition[] value() - -CLSS public abstract interface !annotation jakarta.enterprise.concurrent.Schedule - anno 0 java.lang.annotation.Documented() - anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) - anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[ANNOTATION_TYPE]) -intf java.lang.annotation.Annotation -meth public abstract !hasdefault int[] daysOfMonth() -meth public abstract !hasdefault int[] hours() -meth public abstract !hasdefault int[] minutes() -meth public abstract !hasdefault int[] seconds() -meth public abstract !hasdefault java.lang.String cron() -meth public abstract !hasdefault java.lang.String zone() -meth public abstract !hasdefault java.time.DayOfWeek[] daysOfWeek() -meth public abstract !hasdefault java.time.Month[] months() -meth public abstract !hasdefault long skipIfLateBy() - -CLSS public jakarta.enterprise.concurrent.SkippedException -cons public init() -cons public init(java.lang.String) -cons public init(java.lang.String,java.lang.Throwable) -cons public init(java.lang.Throwable) -intf java.io.Serializable -supr java.util.concurrent.ExecutionException -hfds serialVersionUID - -CLSS public abstract interface jakarta.enterprise.concurrent.Trigger -meth public abstract boolean skipRun(jakarta.enterprise.concurrent.LastExecution,java.util.Date) -meth public abstract java.util.Date getNextRunTime(jakarta.enterprise.concurrent.LastExecution,java.util.Date) - -CLSS public abstract interface jakarta.enterprise.concurrent.ZonedTrigger -intf jakarta.enterprise.concurrent.Trigger -meth public abstract java.time.ZonedDateTime getNextRunTime(jakarta.enterprise.concurrent.LastExecution,java.time.ZonedDateTime) -meth public boolean skipRun(jakarta.enterprise.concurrent.LastExecution,java.time.ZonedDateTime) -meth public boolean skipRun(jakarta.enterprise.concurrent.LastExecution,java.util.Date) -meth public java.time.ZoneId getZoneId() -meth public java.util.Date getNextRunTime(jakarta.enterprise.concurrent.LastExecution,java.util.Date) - -CLSS abstract interface jakarta.enterprise.concurrent.package-info - -CLSS public abstract interface jakarta.enterprise.concurrent.spi.ThreadContextProvider -meth public abstract jakarta.enterprise.concurrent.spi.ThreadContextSnapshot clearedContext(java.util.Map) -meth public abstract jakarta.enterprise.concurrent.spi.ThreadContextSnapshot currentContext(java.util.Map) -meth public abstract java.lang.String getThreadContextType() - -CLSS public abstract interface jakarta.enterprise.concurrent.spi.ThreadContextRestorer - anno 0 java.lang.FunctionalInterface() -meth public abstract void endContext() - -CLSS public abstract interface jakarta.enterprise.concurrent.spi.ThreadContextSnapshot - anno 0 java.lang.FunctionalInterface() -meth public abstract jakarta.enterprise.concurrent.spi.ThreadContextRestorer begin() - -CLSS abstract interface jakarta.enterprise.concurrent.spi.package-info - -CLSS public abstract interface !annotation jakarta.interceptor.InterceptorBinding - anno 0 java.lang.annotation.Documented() - anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) - anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[ANNOTATION_TYPE]) -intf java.lang.annotation.Annotation - -CLSS public abstract interface java.io.Serializable - -CLSS public java.lang.Exception -cons protected init(java.lang.String,java.lang.Throwable,boolean,boolean) -cons public init() -cons public init(java.lang.String) -cons public init(java.lang.String,java.lang.Throwable) -cons public init(java.lang.Throwable) -supr java.lang.Throwable -hfds serialVersionUID - -CLSS public abstract interface !annotation java.lang.FunctionalInterface - anno 0 java.lang.annotation.Documented() - anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) - anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) -intf java.lang.annotation.Annotation - -CLSS public java.lang.Object -cons public init() -meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException -meth protected void finalize() throws java.lang.Throwable - anno 0 java.lang.Deprecated(boolean forRemoval=false, java.lang.String since="9") -meth public boolean equals(java.lang.Object) -meth public final java.lang.Class getClass() -meth public final void notify() -meth public final void notifyAll() -meth public final void wait() throws java.lang.InterruptedException -meth public final void wait(long) throws java.lang.InterruptedException -meth public final void wait(long,int) throws java.lang.InterruptedException -meth public int hashCode() -meth public java.lang.String toString() - -CLSS public java.lang.Throwable -cons protected init(java.lang.String,java.lang.Throwable,boolean,boolean) -cons public init() -cons public init(java.lang.String) -cons public init(java.lang.String,java.lang.Throwable) -cons public init(java.lang.Throwable) -intf java.io.Serializable -meth public final java.lang.Throwable[] getSuppressed() -meth public final void addSuppressed(java.lang.Throwable) -meth public java.lang.StackTraceElement[] getStackTrace() -meth public java.lang.String getLocalizedMessage() -meth public java.lang.String getMessage() -meth public java.lang.String toString() -meth public java.lang.Throwable fillInStackTrace() -meth public java.lang.Throwable getCause() -meth public java.lang.Throwable initCause(java.lang.Throwable) -meth public void printStackTrace() -meth public void printStackTrace(java.io.PrintStream) -meth public void printStackTrace(java.io.PrintWriter) -meth public void setStackTrace(java.lang.StackTraceElement[]) -supr java.lang.Object -hfds CAUSE_CAPTION,EMPTY_THROWABLE_ARRAY,NULL_CAUSE_MESSAGE,SELF_SUPPRESSION_MESSAGE,SUPPRESSED_CAPTION,SUPPRESSED_SENTINEL,UNASSIGNED_STACK,backtrace,cause,depth,detailMessage,serialVersionUID,stackTrace,suppressedExceptions -hcls PrintStreamOrWriter,SentinelHolder,WrappedPrintStream,WrappedPrintWriter - -CLSS public abstract interface java.lang.annotation.Annotation -meth public abstract boolean equals(java.lang.Object) -meth public abstract int hashCode() -meth public abstract java.lang.Class annotationType() -meth public abstract java.lang.String toString() - -CLSS public abstract interface !annotation java.lang.annotation.Documented - anno 0 java.lang.annotation.Documented() - anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) - anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[ANNOTATION_TYPE]) -intf java.lang.annotation.Annotation - -CLSS public abstract interface !annotation java.lang.annotation.Inherited - anno 0 java.lang.annotation.Documented() - anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) - anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[ANNOTATION_TYPE]) -intf java.lang.annotation.Annotation - -CLSS public abstract interface !annotation java.lang.annotation.Repeatable - anno 0 java.lang.annotation.Documented() - anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) - anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[ANNOTATION_TYPE]) -intf java.lang.annotation.Annotation -meth public abstract java.lang.Class value() - -CLSS public abstract interface !annotation java.lang.annotation.Retention - anno 0 java.lang.annotation.Documented() - anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) - anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[ANNOTATION_TYPE]) -intf java.lang.annotation.Annotation -meth public abstract java.lang.annotation.RetentionPolicy value() - -CLSS public abstract interface !annotation java.lang.annotation.Target - anno 0 java.lang.annotation.Documented() - anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) - anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[ANNOTATION_TYPE]) -intf java.lang.annotation.Annotation -meth public abstract java.lang.annotation.ElementType[] value() - -CLSS public abstract java.util.concurrent.AbstractExecutorService -cons public init() -intf java.util.concurrent.ExecutorService -meth protected <%0 extends java.lang.Object> java.util.concurrent.RunnableFuture<{%%0}> newTaskFor(java.lang.Runnable,{%%0}) -meth protected <%0 extends java.lang.Object> java.util.concurrent.RunnableFuture<{%%0}> newTaskFor(java.util.concurrent.Callable<{%%0}>) -meth public <%0 extends java.lang.Object> java.util.List> invokeAll(java.util.Collection>) throws java.lang.InterruptedException -meth public <%0 extends java.lang.Object> java.util.List> invokeAll(java.util.Collection>,long,java.util.concurrent.TimeUnit) throws java.lang.InterruptedException -meth public <%0 extends java.lang.Object> java.util.concurrent.Future<{%%0}> submit(java.lang.Runnable,{%%0}) -meth public <%0 extends java.lang.Object> java.util.concurrent.Future<{%%0}> submit(java.util.concurrent.Callable<{%%0}>) -meth public <%0 extends java.lang.Object> {%%0} invokeAny(java.util.Collection>) throws java.lang.InterruptedException,java.util.concurrent.ExecutionException -meth public <%0 extends java.lang.Object> {%%0} invokeAny(java.util.Collection>,long,java.util.concurrent.TimeUnit) throws java.lang.InterruptedException,java.util.concurrent.ExecutionException,java.util.concurrent.TimeoutException -meth public java.util.concurrent.Future submit(java.lang.Runnable) -supr java.lang.Object - -CLSS public java.util.concurrent.ExecutionException -cons protected init() -cons protected init(java.lang.String) -cons public init(java.lang.String,java.lang.Throwable) -cons public init(java.lang.Throwable) -supr java.lang.Exception -hfds serialVersionUID - -CLSS public abstract interface java.util.concurrent.Executor -meth public abstract void execute(java.lang.Runnable) - -CLSS public abstract interface java.util.concurrent.ExecutorService -intf java.util.concurrent.Executor -meth public abstract <%0 extends java.lang.Object> java.util.List> invokeAll(java.util.Collection>) throws java.lang.InterruptedException -meth public abstract <%0 extends java.lang.Object> java.util.List> invokeAll(java.util.Collection>,long,java.util.concurrent.TimeUnit) throws java.lang.InterruptedException -meth public abstract <%0 extends java.lang.Object> java.util.concurrent.Future<{%%0}> submit(java.lang.Runnable,{%%0}) -meth public abstract <%0 extends java.lang.Object> java.util.concurrent.Future<{%%0}> submit(java.util.concurrent.Callable<{%%0}>) -meth public abstract <%0 extends java.lang.Object> {%%0} invokeAny(java.util.Collection>) throws java.lang.InterruptedException,java.util.concurrent.ExecutionException -meth public abstract <%0 extends java.lang.Object> {%%0} invokeAny(java.util.Collection>,long,java.util.concurrent.TimeUnit) throws java.lang.InterruptedException,java.util.concurrent.ExecutionException,java.util.concurrent.TimeoutException -meth public abstract boolean awaitTermination(long,java.util.concurrent.TimeUnit) throws java.lang.InterruptedException -meth public abstract boolean isShutdown() -meth public abstract boolean isTerminated() -meth public abstract java.util.List shutdownNow() -meth public abstract java.util.concurrent.Future submit(java.lang.Runnable) -meth public abstract void shutdown() - -CLSS public java.util.concurrent.ForkJoinPool -cons public init() -cons public init(int) -cons public init(int,java.util.concurrent.ForkJoinPool$ForkJoinWorkerThreadFactory,java.lang.Thread$UncaughtExceptionHandler,boolean) -cons public init(int,java.util.concurrent.ForkJoinPool$ForkJoinWorkerThreadFactory,java.lang.Thread$UncaughtExceptionHandler,boolean,int,int,int,java.util.function.Predicate,long,java.util.concurrent.TimeUnit) -fld public final static java.util.concurrent.ForkJoinPool$ForkJoinWorkerThreadFactory defaultForkJoinWorkerThreadFactory -innr public abstract interface static ForkJoinWorkerThreadFactory -innr public abstract interface static ManagedBlocker -meth protected <%0 extends java.lang.Object> java.util.concurrent.RunnableFuture<{%%0}> newTaskFor(java.lang.Runnable,{%%0}) -meth protected <%0 extends java.lang.Object> java.util.concurrent.RunnableFuture<{%%0}> newTaskFor(java.util.concurrent.Callable<{%%0}>) -meth protected int drainTasksTo(java.util.Collection>) -meth protected java.util.concurrent.ForkJoinTask pollSubmission() -meth public <%0 extends java.lang.Object> java.util.List> invokeAll(java.util.Collection>) -meth public <%0 extends java.lang.Object> java.util.List> invokeAll(java.util.Collection>,long,java.util.concurrent.TimeUnit) throws java.lang.InterruptedException -meth public <%0 extends java.lang.Object> java.util.concurrent.ForkJoinTask<{%%0}> submit(java.lang.Runnable,{%%0}) -meth public <%0 extends java.lang.Object> java.util.concurrent.ForkJoinTask<{%%0}> submit(java.util.concurrent.Callable<{%%0}>) -meth public <%0 extends java.lang.Object> java.util.concurrent.ForkJoinTask<{%%0}> submit(java.util.concurrent.ForkJoinTask<{%%0}>) -meth public <%0 extends java.lang.Object> {%%0} invoke(java.util.concurrent.ForkJoinTask<{%%0}>) -meth public <%0 extends java.lang.Object> {%%0} invokeAny(java.util.Collection>) throws java.lang.InterruptedException,java.util.concurrent.ExecutionException -meth public <%0 extends java.lang.Object> {%%0} invokeAny(java.util.Collection>,long,java.util.concurrent.TimeUnit) throws java.lang.InterruptedException,java.util.concurrent.ExecutionException,java.util.concurrent.TimeoutException -meth public boolean awaitQuiescence(long,java.util.concurrent.TimeUnit) -meth public boolean awaitTermination(long,java.util.concurrent.TimeUnit) throws java.lang.InterruptedException -meth public boolean getAsyncMode() -meth public boolean hasQueuedSubmissions() -meth public boolean isQuiescent() -meth public boolean isShutdown() -meth public boolean isTerminated() -meth public boolean isTerminating() -meth public int getActiveThreadCount() -meth public int getParallelism() -meth public int getPoolSize() -meth public int getQueuedSubmissionCount() -meth public int getRunningThreadCount() -meth public java.lang.String toString() -meth public java.lang.Thread$UncaughtExceptionHandler getUncaughtExceptionHandler() -meth public java.util.List shutdownNow() -meth public java.util.concurrent.ForkJoinPool$ForkJoinWorkerThreadFactory getFactory() -meth public java.util.concurrent.ForkJoinTask submit(java.lang.Runnable) -meth public long getQueuedTaskCount() -meth public long getStealCount() -meth public static int getCommonPoolParallelism() -meth public static java.util.concurrent.ForkJoinPool commonPool() -meth public static void managedBlock(java.util.concurrent.ForkJoinPool$ManagedBlocker) throws java.lang.InterruptedException -meth public void execute(java.lang.Runnable) -meth public void execute(java.util.concurrent.ForkJoinTask) -meth public void shutdown() -supr java.util.concurrent.AbstractExecutorService -hfds ADD_WORKER,COMMON_MAX_SPARES,COMMON_PARALLELISM,CTL,DEFAULT_COMMON_MAX_SPARES,DEFAULT_KEEPALIVE,FIFO,INITIAL_QUEUE_CAPACITY,INNOCUOUS,MAX_CAP,MODE,POOLIDS,QUIET,RC_MASK,RC_SHIFT,RC_UNIT,SHUTDOWN,SMASK,SP_MASK,SRC,SS_SEQ,STOP,SWIDTH,TC_MASK,TC_SHIFT,TC_UNIT,TERMINATED,THREADIDS,TIMEOUT_SLOP,UC_MASK,UNCOMPENSATE,UNSIGNALLED,bounds,common,ctl,factory,keepAlive,mode,modifyThreadPermission,poolIds,queues,registrationLock,saturate,scanRover,stealCount,termination,threadIds,ueh,workerNamePrefix -hcls DefaultCommonPoolForkJoinWorkerThreadFactory,DefaultForkJoinWorkerThreadFactory,InvokeAnyRoot,InvokeAnyTask,WorkQueue - -CLSS public abstract interface static java.util.concurrent.ForkJoinPool$ForkJoinWorkerThreadFactory - outer java.util.concurrent.ForkJoinPool -meth public abstract java.util.concurrent.ForkJoinWorkerThread newThread(java.util.concurrent.ForkJoinPool) - -CLSS public abstract interface java.util.concurrent.ScheduledExecutorService -intf java.util.concurrent.ExecutorService -meth public abstract <%0 extends java.lang.Object> java.util.concurrent.ScheduledFuture<{%%0}> schedule(java.util.concurrent.Callable<{%%0}>,long,java.util.concurrent.TimeUnit) -meth public abstract java.util.concurrent.ScheduledFuture schedule(java.lang.Runnable,long,java.util.concurrent.TimeUnit) -meth public abstract java.util.concurrent.ScheduledFuture scheduleAtFixedRate(java.lang.Runnable,long,long,java.util.concurrent.TimeUnit) -meth public abstract java.util.concurrent.ScheduledFuture scheduleWithFixedDelay(java.lang.Runnable,long,long,java.util.concurrent.TimeUnit) - -CLSS public abstract interface java.util.concurrent.ThreadFactory -meth public abstract java.lang.Thread newThread(java.lang.Runnable) - diff --git a/tck/src/main/resources/ee/jakarta/tck/concurrent/common/signature/jakarta.enterprise.concurrent.sig_21 b/tck/src/main/resources/ee/jakarta/tck/concurrent/common/signature/jakarta.enterprise.concurrent.sig_21 index 5e7e8c1e..af4b5150 100644 --- a/tck/src/main/resources/ee/jakarta/tck/concurrent/common/signature/jakarta.enterprise.concurrent.sig_21 +++ b/tck/src/main/resources/ee/jakarta/tck/concurrent/common/signature/jakarta.enterprise.concurrent.sig_21 @@ -1,5 +1,5 @@ #Signature file v4.1 -#Version 3.1.0-SNAPSHOT +#Version 3.2.0-SNAPSHOT CLSS public jakarta.enterprise.concurrent.AbortedException cons public init()