<br><br><div class="gmail_quote">On Sun, Nov 15, 2009 at 10:00 AM, Andrew John Hughes <span dir="ltr">&lt;<a href="mailto:gnu_andrew@member.fsf.org">gnu_andrew@member.fsf.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2009/11/15 Michael Franz &lt;<a href="mailto:mvfranz@gmail.com">mvfranz@gmail.com</a>&gt;:<br>
<div class="im">&gt; Eric,<br>
&gt;<br>
&gt; I have encountered this issue before.  I am not sure what I did to fix it.<br>
&gt; I think I used ecj instead of the Apple javac.  Check the javac perl script<br>
&gt; that IcedTea has.  The other option is to apply this patch in the required<br>
&gt; build files.<br>
&gt;<br>
&gt; <a href="http://cr.openjdk.java.net/%7Eandrew/ecj/01/webrev.01/make/build.xml.udiff.html" target="_blank">http://cr.openjdk.java.net/~andrew/ecj/01/webrev.01/make/build.xml.udiff.html</a><br>
&gt;<br>
<br>
</div>That patch is in OpenJDK:<br>
<a href="http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/2aa3a1cdb094" target="_blank">http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/2aa3a1cdb094</a><br>
<div class="im"><br>
&gt; Here is my initial post on this<br>
&gt; <a href="http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2009-August/006857.html" target="_blank">http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2009-August/006857.html</a><br>
&gt;<br>
&gt; If I remember correctly, there is a tool that is compiled by ant (the two in<br>
&gt; the output), but it is not compiled with Java 5 byte code.  When ant tries<br>
&gt; to run the tool you get that error.<br>
&gt;<br>
&gt; I would switch to using ecj, as you might be able to get past this issue,<br>
&gt; there is another issue that will come up and ecj acts differently than javac<br>
&gt; and you really need the ecj way of doing things.  This is my original email<br>
&gt; on this:<br>
&gt; <a href="http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2009-August/006879.html" target="_blank">http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2009-August/006879.html</a><br>
&gt;<br>
<br>
</div>ecj is currently the only supported method for doing a build without<br>
--disable-bootstrap, but that may change in the future.<br>
Note that a normal OpenJDK build requires a Sun-based implementation<br>
of Java 6, due to dependence on com.sun classes and AWT classes that<br>
are part of the 1.6 specification.  We do our best to get round this<br>
for IcedTea bootstrapping, but that testing is based on ecj+gcj not<br>
Apple&#39;s products.<br><br></blockquote><div>It is possible to build IcedTea 1.11 using Apple&#39;s JDK 5 with ecj and the bsd port repo.  There are hoops to jump through, but it works. <br>I mostly worked on this since I could no-longer build OpenJDK 7 with a previous OpenJDK 7 and could not figure out why it was not working.  Using the IcedTea bootstrap process was simpler and should help in bring zero/shark to PowerPC Macs.<br>
<br>Michael<br></div></div>