This is an automated email from the ASF dual-hosted git repository. jungm pushed a commit to branch ee11 in repository https://gitbox.apache.org/repos/asf/tomee-tck.git
commit 323d555e5be8b6155decb51ce3a3c0ba62b8e0be Author: Markus Jung <[email protected]> AuthorDate: Sat Jul 18 21:13:51 2026 +0200 Set the EL TCK variable.mapper porting property and clear the exclusions --- KNOWN_ISSUES.md | 14 ++++---------- runner-standalone/README.md | 2 +- runner-standalone/el/pom.xml | 4 ++++ runner-standalone/exclusions/el.txt | 28 +++++----------------------- 4 files changed, 14 insertions(+), 34 deletions(-) diff --git a/KNOWN_ISSUES.md b/KNOWN_ISSUES.md index 6af215a..8e42686 100644 --- a/KNOWN_ISSUES.md +++ b/KNOWN_ISSUES.md @@ -31,7 +31,7 @@ Detail lives next to each runner: | validation | 1,049 tests, 124 F | 124 tests | Apache BVal gaps | | cdi (core) | 1,388 run, 90 F | 63 methods + 27 deploy-failing classes | OpenWebBeans 4.1 gaps | | cdi-ee | 1,829 run, 117 F | 87 methods + 30 deploy-failing classes | OpenWebBeans 4.1 + EE integration | -| el | 361 tests, 9 E | 9 tests | Tomcat EL 6.0 gaps (provider-level confirmation of the Platform findings) | +| el | 361/361 pass (incl. signature test) | — | — | | persistence | 2,135/2,135 pass (incl. signature test) | — | — (standalone/SE vehicle on Plume's EclipseLink) | | transactions | 49 tests, 40 pass, 9 F (all 3 signature vehicles pass) | 22 test ids (3 client files) | TomEE UserTransaction rollback/timeout state leaks | | jsonp | 197/197 pass (incl. pluggability + signature) | — | — | @@ -127,18 +127,12 @@ Need triage/fixes in the upstream projects TomEE ships. 3. **Tomcat Jakarta Authentication SPI** — `ServletProfileSPITest` fails 50 of 57 AuthConfigFactory/ServerAuthConfig conformance assertions. [authentication.txt](runner-standalone/exclusions/authentication.txt). -4. **Tomcat EL 6.0** — `MethodExpression` overload selection and the missing - `StandardELContext` `VariableMapper` (webprofile `expression-language` - partition). Confirmed at provider level by the standalone EL 6.0 TCK: - the same two gaps account for all 9 errors in - [el.txt](runner-standalone/exclusions/el.txt); the other 352 tests and - the signature test pass. -5. **Johnzon/CXF integration** — CDI injection into `@JsonbTypeDeserializer` +4. **Johnzon/CXF integration** — CDI injection into `@JsonbTypeDeserializer` fields, JSON-P scalar writers, Bean Validation interceptors, and CDI resource-class handling in the REST stack ([TOMEE-4436](https://issues.apache.org/jira/browse/TOMEE-4436), [TOMEE-4166](https://issues.apache.org/jira/browse/TOMEE-4166)). -6. **Apache Johnzon 2.1.0 (JSON Binding 3.0)** — confirmed at provider level +5. **Apache Johnzon 2.1.0 (JSON Binding 3.0)** — confirmed at provider level by the standalone JSON-B TCK: `JsonbDeserializer` instances are not resolved through CDI, leaving `@Inject` fields null (the adapter and serializer CDI tests pass — the deserializer half of TOMEE-4436); @@ -153,7 +147,7 @@ Need triage/fixes in the upstream projects TomEE ships. `tck/jsonb-standalone`), so BigDecimal/BigInteger serialize as the JSON numbers §3.4.1 requires instead of Johnzon's precision-preserving string default. JSON-P (johnzon-core) passes its TCK completely. -7. **OpenJPA** (webprofile classifier only) — 249 persistence classes fail; +6. **OpenJPA** (webprofile classifier only) — 249 persistence classes fail; none reproduce on Plume/EclipseLink, tracked partly as [OPENJPA-2940](https://issues.apache.org/jira/browse/OPENJPA-2940). Kept visible via the `persistence-javatest (webprofile)` CI branch. diff --git a/runner-standalone/README.md b/runner-standalone/README.md index 3c714df..3ecc3ca 100644 --- a/runner-standalone/README.md +++ b/runner-standalone/README.md @@ -67,7 +67,7 @@ derived from; with the default exclusions applied these suites run green. | Debugging Support 2.0 | EFTL zip (installed as `jakartatck:jakarta-debugging-tck:2.0.0`) | `debugging` | **Passes** (2026-07-18). The runner compiles the TCK's `testclient.war` JSPs offline with the Jasper compiler bundled in the TomEE distribution (SMAP generation and dumping enabled, no server needed) and the TCK's `VerifySMAP` validates the embedded `SourceDebugExtension` of both generated classes plus both dumped `.smap` files. The Platform catalog's Pages debugging classes also pass | | Enterprise Beans 4.0 Lite | Covered by the Platform TCK catalog (`runner-webprofile`, `ejb30`/`ejb32`) | — | See `runner-webprofile/KNOWN_FAILURES.md` | | Standard Tag Library 3.0 | Covered by the Platform TCK catalog (`tags-tck`) | — | Blocked by the Jakarta Tags TLD registration gap | -| Expression Language 6.0 | EFTL zip (installed as `jakarta.tck:jakarta-expression-language-tck:6.0.1`, the jar's own embedded coordinates) | `el` | **Runs: 361 tests, 9 errors, signature test passing** (2026-07-18) against Tomcat's Jasper EL, the implementation every TomEE distribution bundles, in the local JVM. The 9 errors are the provider-level confirmation of the two Tomcat EL 6.0 gaps already known from the Platform catalog (MethodExpression overload selection, `StandardELContext` [...] +| Expression Language 6.0 | EFTL zip (installed as `jakarta.tck:jakarta-expression-language-tck:6.0.1`, the jar's own embedded coordinates) | `el` | **Passes 361/361 (no exclusions)** (2026-07-18) against Tomcat's Jasper EL, the implementation every TomEE distribution bundles, in the local JVM: 360 functional tests plus the signature test. The runner supplies the vendor VariableMapper the TCK's `VarMapperELContext` instantiates through the `variable.mapper` porting property (`org.apache. [...] | Transactions 2.0 | EFTL zip 2.0.1 (JavaTest harness, prebuilt servlet/jsp vehicle WARs) | `transactions` (Maven module) | **Runs: 49 tests, 40 pass, 9 fail; all three signature-test vehicles pass** (2026-07-18). The runner provisions TomEE, predeploys the vehicle WARs (the TCK's `none` deployment handler), and drives JavaTest in the web vehicles; the no-container `standalone` vehicle (RI-local JTA stack) stays out except for the signature test. The 9 failures are TomEE UserTransaction [...] | Persistence 3.2 | EFTL zip 3.2.1 (installed as `jakarta.tck:persistence-tck-*`) | `persistence` | **Passes 2,135/2,135 (0 failures, 0 errors, 4 skipped, signature test included, no exclusions)** (2026-07-18) in the TCK's standalone (SE) vehicle against the EclipseLink build bundled in TomEE Plume, on the harness Derby with the TCK schema and stored procedures (`-Dtck.derby.port` overridable). Not a Web Profile certification input; the Platform catalog covers the EE integration half | diff --git a/runner-standalone/el/pom.xml b/runner-standalone/el/pom.xml index aac43f7..ce302bd 100644 --- a/runner-standalone/el/pom.xml +++ b/runner-standalone/el/pom.xml @@ -130,6 +130,10 @@ <systemPropertyVariables> <jimage.dir>${project.build.directory}/jimage</jimage.dir> <sigTestClasspath>${el.sig.api.jar}${path.separator}${project.build.directory}/jimage/java.base${path.separator}${project.build.directory}/jimage/java.rmi${path.separator}${project.build.directory}/jimage/java.sql${path.separator}${project.build.directory}/jimage/java.naming</sigTestClasspath> + <!-- Vendor VariableMapper implementation the TCK's + VarMapperELContext instantiates; Tomcat's Jasper EL provides + it in the bundled tomcat-jasper-el jar. --> + <variable.mapper>org.apache.el.lang.VariableMapperImpl</variable.mapper> </systemPropertyVariables> </configuration> </plugin> diff --git a/runner-standalone/exclusions/el.txt b/runner-standalone/exclusions/el.txt index a58aca6..45ba217 100644 --- a/runner-standalone/exclusions/el.txt +++ b/runner-standalone/exclusions/el.txt @@ -1,27 +1,9 @@ # Jakarta Expression Language 6.0 TCK (jakarta-expression-language-tck -# 6.0.1) against Apache Tomcat's Jasper EL 11.0.23 (the implementation -# bundled in the TomEE distribution), Java 21, 2026-07-18: 361 tests, -# 9 errors, signature test passing. The 9 tests below are the provider-level -# confirmation of the two Tomcat EL 6.0 gaps already visible in the -# Platform catalog's expression-language partition (see KNOWN_ISSUES.md, -# upstream provider gaps): they are product results, not compatibility -# passes. +# 6.0.1) against Apache Tomcat's Jasper EL, the implementation bundled in +# the TomEE distribution. The suite runs green with no exclusions: 361 tests +# pass (360 functional plus the signature test). The runner supplies the +# vendor VariableMapper implementation the TCK requires through the +# variable.mapper porting property (see runner-standalone/el/pom.xml). # # Format: maven-surefire excludesFile patterns, applied through # -Dtck.exclusions.file (see runner-standalone/README.md). - -# MethodExpression overload selection: Jasper EL resolves overloaded -# method invocations (exact/coercion/varargs preference order) differently -# from the EL 6.0 resolution algorithm. -**/com/sun/ts/tests/el/api/jakarta_el/methodexpression/ELClientIT.java#methodExpressionMatchingAmbiguousTest -**/com/sun/ts/tests/el/api/jakarta_el/methodexpression/ELClientIT.java#methodExpressionMatchingCoercionBeatsExactVarArgsTest -**/com/sun/ts/tests/el/api/jakarta_el/methodexpression/ELClientIT.java#methodExpressionMatchingExactPreferredTest -**/com/sun/ts/tests/el/api/jakarta_el/methodexpression/ELClientIT.java#methodExpressionMatchingOverloadBeatsCoercionTest -**/com/sun/ts/tests/el/api/jakarta_el/methodexpression/ELClientIT.java#methodExpressionMatchingOverloadBeatsExactVarArgsTest -**/com/sun/ts/tests/el/api/jakarta_el/methodexpression/ELClientIT.java#methodExpressionMatchingVarArgsTest - -# Tomcat's StandardELContext returns null from getVariableMapper(); the -# TCK expects a usable VariableMapper on the default context. -**/com/sun/ts/tests/el/api/jakarta_el/methodreference/ELClientIT.java#methodReferenceTest -**/com/sun/ts/tests/el/api/jakarta_el/variablemapper/ELClientIT.java#variableMapperTest -**/com/sun/ts/tests/el/spec/mapper/ELClientIT.java#ELVariableBindingTest
