On 09/04/2012 08:01, Deven You wrote:
Hi core-libs-devs,

There are 2 sun bugs related to this issue:

http://bugs.sun.com/view_bug.do;jsessionid=663548580556affffffffe43f50bf92c75b5?bug_id=6695325^and http://bugs.sun.com/view_bug.do;jsessionid=663548580556affffffffe43f50bf92c75b5?bug_id=6610897^

The basic problem is that the new constructor

    public ClassPath(String[] patharray)  which calls new private method

    private void init(String}[] patharray)

The init method builds a pathstr using File.separator instead of File.pathSeparatorChar.

Since it is really a bug and the fix is simple, I have made a patch[1] for this issue and a test case[2] to recreated this issue.

The patch just uses File.pathSeparatorChar to replace File.separator.

Please anyone can review it?
No issue with the proposed change but I'm curious how you ran into this. Is it with rmic or something else?

-Alan

Reply via email to