This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new 3ab044031f Better message on skipped tests
3ab044031f is described below
commit 3ab044031fb12adc3be8269700282a2d3a9a4879
Author: Mark Thomas <[email protected]>
AuthorDate: Fri Jun 19 10:47:59 2026 +0100
Better message on skipped tests
---
test/org/apache/el/parser/TestAstIdentifier.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/org/apache/el/parser/TestAstIdentifier.java
b/test/org/apache/el/parser/TestAstIdentifier.java
index 1c69c84306..10d1906d09 100644
--- a/test/org/apache/el/parser/TestAstIdentifier.java
+++ b/test/org/apache/el/parser/TestAstIdentifier.java
@@ -62,7 +62,7 @@ public class TestAstIdentifier {
*
* In Java 9, the definition of Java Letter and/or Java Digit has
changed.
*/
- Assume.assumeFalse(JreCompat.isJre9Available());
+ Assume.assumeFalse("Test only works on Java 8",
JreCompat.isJre9Available());
for (int i = 0; i < 0xFFFF; i++) {
if (Character.isJavaIdentifierStart(i)) {
testIdentifier((char) i, 'b');
@@ -87,7 +87,7 @@ public class TestAstIdentifier {
*
* In Java 9, the definition of Java Letter and/or Java Digit has
changed.
*/
- Assume.assumeFalse(JreCompat.isJre9Available());
+ Assume.assumeFalse("Test only works on Java 8",
JreCompat.isJre9Available());
for (int i = 0; i < 0xFFFF; i++) {
if (Character.isJavaIdentifierPart(i)) {
testIdentifier('b', (char) i);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]