-
Bug
-
Resolution: Fixed
-
Normal
-
9.0.0, 8.6.3
-
Security Level: Jimmy
-
None
-
ZK 9.0.1 S1
-
None
Steps to Reproduce
run the attached test case (isolated example)
zkfiddle: http://zkfiddle.org/sample/1e8gaj7/14-EL-exception-on-import (more integrated with ZK)
Current Result
importing a previously failed/cached class name causes an exception
The class [zk.support.test.ImportHandlerTest] could not be imported as it conflicts with [org.zkoss.zel.ImportHandler$NotFound] which has already been imported org.zkoss.zel.ELException: The class [zk.support.test.ImportHandlerTest] could not be imported as it conflicts with [org.zkoss.zel.ImportHandler$NotFound] which has already been imported at org.zkoss.zel.ImportHandler.importClass(ImportHandler.java:135) at zk.support.test.ImportHandlerTest.testReImportAfterFailedResolve(ImportHandlerTest.java:15)
Expected Result
a cached ImportHandler$NotFound should not prevent a correct import later
instead the successfully imported class can replace the cached NotFound
Debug Information
side effect of ZK-4200
Workaround
- relates to
-
ZK-4200 Improve ZEL ImportHandler performance
- Closed