-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pid,
On 01/02/2012 11:50, Ivan wrote:
2012/2/1 Christopher Schultz ch...@christopherschultz.net
Of course, you still need to check for null after the loop, so
it's not like the change really affects anything other than minor
readability.
No
No sure whether I understood you clearly, if a context is binding on the
current thread, and current context classloader has parent classloader,
current get method will throw an IllegalStateException. So my question is
that, in this scenario, should the context binded on the thread be ignored ?
I
On 01/02/2012 11:50, Ivan wrote:
Here's what the reply should have looked like, without the top-posting.
2012/2/1 Christopher Schultz ch...@christopherschultz.net
Ivan,
On 1/27/12 11:40 PM, Ivan wrote:
if (result != null) return result;
// Checking thread biding result =
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ivan,
On 1/27/12 11:40 PM, Ivan wrote:
if (result != null) return result;
// Checking thread biding result =
threadBindings.get(currentThread); -- Here, the value
from threadBindings is always ignored ? is there something like if
of the method.
2012/1/28 Caldarale, Charles R chuck.caldar...@unisys.com
From: Ivan [mailto:xhh...@gmail.com]
Subject: Correct behavior while checking the thread binding in
DirContextURLStreamHandler ?
result = threadBindings.get(currentThread);
-- Here, the value from
From: Ivan [mailto:xhh...@gmail.com]
Subject: Correct behavior while checking the thread binding in
DirContextURLStreamHandler ?
result = threadBindings.get(currentThread);
-- Here, the value from threadBindings is always ignored ?
No, it's not always ignored
...@gmail.com]
Subject: Correct behavior while checking the thread binding in
DirContextURLStreamHandler ?
result = threadBindings.get(currentThread);
-- Here, the value from threadBindings is always ignored ?
No, it's not always ignored