You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2021/06/03 20:04:27 UTC
[tomcat] branch 9.0.x updated: Correctly handle inner classes (and
fix failing test)
This is an automated email from the ASF dual-hosted git repository.
markt 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 29b7edf Correctly handle inner classes (and fix failing test)
29b7edf is described below
commit 29b7edffe423755b003c81a87b702bd0b2d880de
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Feb 17 16:41:05 2020 +0000
Correctly handle inner classes (and fix failing test)
---
test/javax/el/TestImportHandlerStandardPackages.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/javax/el/TestImportHandlerStandardPackages.java b/test/javax/el/TestImportHandlerStandardPackages.java
index 660f665..bf7e2d8 100644
--- a/test/javax/el/TestImportHandlerStandardPackages.java
+++ b/test/javax/el/TestImportHandlerStandardPackages.java
@@ -125,7 +125,7 @@ public class TestImportHandlerStandardPackages {
// Skip directories
continue;
}
- Class<?> clazz = Class.forName(packageName + "." + name);
+ Class<?> clazz = Class.forName(packageName + "." + name.replaceAll("\\.", "\\$"));
if (!Modifier.isPublic(clazz.getModifiers())) {
// Skip non-public classes
continue;
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org