[Bug 57420] Wrong class names generated since URL_ENCODER in DirContextURLConnection is not thread safe

2015-01-22 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57420 Felix Schumacher felix.schumac...@internetallee.de changed: What|Removed |Added Status|NEW

[Bug 57420] Wrong class names generated since URL_ENCODER in DirContextURLConnection is not thread safe

2015-01-21 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57420 --- Comment #11 from Violeta Georgieva violet...@apache.org --- (In reply to Felix Schumacher from comment #9) Created attachment 32382 [details] Make UEncoder a local variable and introduce a default safe charset enum This patch uses

[Bug 57420] Wrong class names generated since URL_ENCODER in DirContextURLConnection is not thread safe

2015-01-21 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57420 --- Comment #10 from Violeta Georgieva violet...@apache.org --- (In reply to Konstantin Kolinko from comment #7) (In reply to Violeta Georgieva from comment #6) (In reply to Konstantin Kolinko from comment #4) UEncoder is used in

[Bug 57420] Wrong class names generated since URL_ENCODER in DirContextURLConnection is not thread safe

2015-01-20 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57420 --- Comment #7 from Konstantin Kolinko knst.koli...@gmail.com --- (In reply to Violeta Georgieva from comment #6) (In reply to Konstantin Kolinko from comment #4) UEncoder is used in list(). While it is possible to call list() multiple

[Bug 57420] Wrong class names generated since URL_ENCODER in DirContextURLConnection is not thread safe

2015-01-20 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57420 --- Comment #8 from Felix Schumacher felix.schumac...@internetallee.de --- What if we add another constructor which sets the bitset to use (or add a method to set it)? Or make the initial bitset static and clone that on construction? --

[Bug 57420] Wrong class names generated since URL_ENCODER in DirContextURLConnection is not thread safe

2015-01-19 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57420 --- Comment #6 from Violeta Georgieva violet...@apache.org --- (In reply to Konstantin Kolinko from comment #4) 1) As far as I see, UDecoder does not have any fields and thus is thread-safe. The thread safety is not documented, though.

[Bug 57420] Wrong class names generated since URL_ENCODER in DirContextURLConnection is not thread safe

2015-01-19 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57420 --- Comment #4 from Konstantin Kolinko knst.koli...@gmail.com --- 1) As far as I see, UDecoder does not have any fields and thus is thread-safe. The thread safety is not documented, though. As such, I do not mind creating an instance of

[Bug 57420] Wrong class names generated since URL_ENCODER in DirContextURLConnection is not thread safe

2015-01-19 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57420 Violeta Georgieva violet...@apache.org changed: What|Removed |Added Attachment #32378|0 |1

[Bug 57420] Wrong class names generated since URL_ENCODER in DirContextURLConnection is not thread safe

2015-01-19 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57420 --- Comment #3 from Violeta Georgieva violet...@apache.org --- Created attachment 32378 -- https://issues.apache.org/bugzilla/attachment.cgi?id=32378action=edit Patch Hi, What do you think if we switch to UEncoder/UDecoder as regular

[Bug 57420] Wrong class names generated since URL_ENCODER in DirContextURLConnection is not thread safe

2015-01-19 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57420 --- Comment #5 from Felix Schumacher felix.schumac...@internetallee.de --- I came up with the same patch as Violeta and it fixes the reported problem (unpackWARs has to be set to false, if you want to reproduce it and of course it helps if

[Bug 57420] Wrong class names generated since URL_ENCODER in DirContextURLConnection is not thread safe

2015-01-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57420 --- Comment #2 from matthias.kel...@ergon.ch --- We're starting it from command line using catalina run. The scenario I was able to (sometimes) reproduce the problem hat two WAR files with lots of classes inside the WEB-INF/classes

[Bug 57420] Wrong class names generated since URL_ENCODER in DirContextURLConnection is not thread safe

2015-01-17 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57420 --- Comment #1 from Felix Schumacher felix.schumac...@internetallee.de --- Could you tell us, how you are starting the application? For example: Is it inside eclipse, as a war, ...? Are you using parallel startup with the startStopThreads

[Bug 57420] Wrong class names generated since URL_ENCODER in DirContextURLConnection is not thread safe

2015-01-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57420 Marc Buetikofer marc.buetiko...@ergon.ch changed: What|Removed |Added CC|