This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push:
new 0c6247b Correctly handle inner classes (and fix failing test)
0c6247b is described below
commit 0c6247b6bd1fe91b820f9420433f29b22ef8bd07
Author: Mark Thomas <[email protected]>
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 30b0886..2f40de8 100644
--- a/test/javax/el/TestImportHandlerStandardPackages.java
+++ b/test/javax/el/TestImportHandlerStandardPackages.java
@@ -132,7 +132,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: [email protected]
For additional commands, e-mail: [email protected]