<core-libs-dev> New constructor in sun.tools.java.ClassPath builds a path using File.separator instead of File.pathSeparatorChar

Deven You youdwei at linux.vnet.ibm.com
Wed Apr 11 07:44:34 UTC 2012


On 04/10/2012 04:12 PM, Alan Bateman wrote:
> On 09/04/2012 10:32, Deven You wrote:
>> :
>>
>> The issue is reported by one of our test team which maintains  a set 
>> of ORB test cases.
> Okay but I guess I'm still a bit curious as it's not obvious that rmic 
> (or rmic --iiop) invokes toString, maybe this is a white box test or a 
> test that is using sun.tools.java.*?
>
> -Alan.
>
Hi Alan,

Though I am not very sure, I guess it is a white box test. I find some 
code snippet which may cause this errors, like:

     sun.misc.URLClassPath.pathToURLs(classPath.toString()));

I think if anyone use above like code, it will fail.

Thanks a lot!

-- 
Best Regards,

Deven




More information about the core-libs-dev mailing list