https://bz.apache.org/bugzilla/show_bug.cgi?id=64290

--- Comment #3 from Markus Schlegel <sch...@gmail.com> ---
"Do you
org.apache.tomcat.util.http.fileupload.FileUploadBase.FileSizeLimitExceededException
from #getCause()?"

We are using Tomcat Embedded and we have built a Jax-Rs resource for the
Fileupload, which relies on the org.apache.tomcat.util.http.fileupload.*
classes. 

>From org.apache.tomcat.util.http.fileupload.package-info.java I can read:
"While this package provides the generic functionality for file uploads, these
classes are not typically used directly. Instead, normal usage involves one of
the provided extensions of ...."

This 1.) does not state, that this is not part of the official API and 
2.) is not obvious for a developer using one of the classes/innerclasses inside
the package.

The refactored new version of it makes it better, because it places inofficial
classes inside an "impl" package, which makes that facto obvious.

After all, the changed code is what it should look like, but you should not do
this with incompatible changes in a minor release and even worse, not without
notice in the changelog.

If you think this kind of problem is isolated to our special usecase, then no
further action may be required, since we can change our maintenance code to not
rely on that classes anymore.
But if other might use these classes, they will start to get errors as soon as
they updated to a newer Tomcat version and use that functionality.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to