Classes from servlet container (such as HttpServletRequest) are not guaranteed to be remotable. For example, it could be because the container classloader hides the class file from RemoteClassLoader. Or it could be that the servlet container uses a newer versions of JDK than the slave JVM.
Therefore, instead of letting these classes transferred to slave JVM, we should come up with a blacklist that causes the master to immediately refuse to send the class file image.
That way, the tests we run can catch the problem, instead of leaving it up to a small number of unlucky users to discover them.
This is expected to improve the "I got NoClassDefFoundError: class Xyz failed to load but I don't know why it failed to load" problem, which is hard to diagnose because the exception is missing the root cause.
|Priority||Minor [ 4 ]||Major [ 3 ]|
|Workflow||JNJira [ 160752 ]||JNJira + In-Review [ 180473 ]|
|Remote Link||This issue links to "PR 3778 (Web Link)" [ 22061 ]|