I agree with you that it is natural to copy RI behavior in this case,
and I even don't think this is a bug, in the same reason with one of the
bugs' evaluation [1],
<quote>An empty path component is always (in both Unix/Posix-like and Windows systems) treated
as "."</quote>
Arzhan Kinzhalin wrote:
URLClassLoader can't load this class because searchURLs parameter in
findClassImpl does not contain current directory and includes only
"p:/". So, IMO problem is inside VM kernel classes.
What do you think we should do with this issue?
It actually has corresponding bug report [1] which provides some
background to the story.
Names and behaviour of command-line arguments is not a part of the
spec. It's just that everyone follows well-established conventions. In
this case it would seem natural to copy the behavior.
[1] http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4515984
--
Arzhan
Intel Middleware Products Division
--
Paulex Yang
China Software Development Lab
IBM