google-code-export / impala

Automatically exported from code.google.com/p/impala
1 stars 0 forks source link

StateProtectingHttpSession should do null check on class's classloader #324

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Applies as or r5514

The call:

ClassLoader attributeClassLoader = attribute.getClass().getClassLoader();

can be null with some implementations, interpreted as the class having been
loaded by the bootstrap class loaer. In this case, the state protecting
cloning and serialization code should not be called.

Original issue reported on code.google.com by philzoio...@googlemail.com on 27 Apr 2010 at 9:54

GoogleCodeExporter commented 9 years ago
Fixed with r5516

Original comment by philzoio...@googlemail.com on 27 Apr 2010 at 9:58