unhappy jar binary
spz at serpens.de
Mon May 4 00:19:31 PDT 2009
Thus wrote Martin Buchholz (martinrb at google.com):
> It's hard for me to tell, but if this is a general bug in the JDK,
> you should report it to core-libs-dev,
> where the "jar" maintainers hang out,
> preferably with a nice test case.
If you "diff -r jdk7/jdk/src/share/classes/sun/tools/jar
bsd-port/jdk/src/share/classes/sun/tools/jar" you'll see that
the setting of the cwd string (and using it to normalize the path)
is the only difference between mainline and bsd-port.
In short, it's bsd-port specific, and comparably recent. It came in with
mid-January (a simple oversight when merging the changes from mainline
I'd guess). If you try to build the bsd-port openjdk with itself you'll
trip the bug (that's how I found it).
spz at serpens.de (S.P.Zeidler)
More information about the bsd-port-dev