Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.0 Final
-
None
-
None
-
Operating System: All
Platform: All
-
23822
Description
The default constructor of the FileUpload class (no parameters) is said by the
documentation to use "the default factory", but the code doesn't actually create
any factory at all (fileItemFactory attribute is null), so any attempt to use
the class causes a NullPointerException. Either the documentation or the code
should be fixed. Personally, I think the code should be fixed. Why make the
class harder to use than necessary?