From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020827 Description of problem: Running "jar c <something>" seems to always crash. I've included a sample file which triggers it, but it seems to happen for most any file. Version-Release number of selected component (if applicable): libgcj-3.2-7 How reproducible: Always Steps to Reproduce: 1.javac PlainException.java 2.jar c PlainException.class > a.jar Actual Results: The second step crashes and creates a broken jarfile. Expected Results: a.jar should have been the same as with jar cf a.jar PlainException.class which works fine. Additional info:
Created attachment 82904 [details] The java code used in the example
http://gcc.gnu.org/ml/gcc-patches/2002-11/msg00652.html
Created attachment 85445 [details] revised patch
I had to make som minor adjustments to the patch to make it apply to gcc-3.2-7 but other than that, it seems to work fine (-:
The fix is in gcc-3.2-12 and later (ATM 3.2.1-1).