[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-classpath] [Bug classpath/22963] custom-made CharsetProvider cannot
From: |
kaz at maczuka dot gcd dot org |
Subject: |
[bug-classpath] [Bug classpath/22963] custom-made CharsetProvider cannot be loaded |
Date: |
27 Jul 2005 21:39:37 -0000 |
------- Additional Comments From kaz at maczuka dot gcd dot org 2005-07-27
21:39 -------
> And, I don't see why the context class loader should be used -- it seems > to
> me that the system class loader is a reasonable choice, but that, > in
> addition, we should write a test case to see which is correct. I think the
> context class loader should be used because (1) Sun's API document of
> java.nio.charset.spi.CharsetProvider says: Charset providers are
> looked up via the current thread's context class loader. (2) If
> charset providers are to be loaded via the system class loader, the
> user may have to specify -bootclasspath or something. Just putting the
> custom-made provider somewhere in the classpath may not work.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22963