Hi Baptiste,<div><br></div><div>Just to let you know that I have just fixed the problem. You can now either use trunk or release 0.32 and the program now runs.</div><div><br></div><div>Cheers,</div><div>Nicolas</div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Dec 3, 2012 at 8:09 PM, Baptiste Saleil <span dir="ltr"><<a href="mailto:baptiste.saleil@gmail.com" target="_blank">baptiste.saleil@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Nicolas, thanks for your answer.<div><br><div>The swing hello world is the following (Running perfectly with OpenJDK) :</div><div><br></div><div><div>public class HelloSwing {</div><div> public static void main(String[] args) {</div>
<div> JFrame frame = new JFrame("HelloWorldSwing");</div><div> final JLabel label = new JLabel("Hello World");</div><div> frame.getContentPane().add(label);</div><div><br></div><div> frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);</div>
<div> frame.pack();</div><div> frame.setVisible(true);</div><div> }</div><div>}</div></div><div><br></div><div>I'm running j3 on a 32 bit machine, with an x86 OpenSuse 12.2 System.</div></div><div>Other informations required ?</div>
<div><br></div><div>I have this information with j3 -version :</div><div>J3 for Java 1.1 -- 1.5<br></div><div><br></div><div>Maybe the previous Swing example require java > 1.5 ?</div><div>Thanks.</div><div class="HOEnZb">
<div class="h5"><div class="gmail_extra">
<br><br><div class="gmail_quote">2012/12/3 Nicolas Geoffray <span dir="ltr"><<a href="mailto:nicolas.geoffray@gmail.com" target="_blank">nicolas.geoffray@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Baptiste,<div><br></div><div>Maybe you're not doing anything wrong, and j3 has a bug. Could you send me the swing hello world app that crashes? I could then take a look and see what's going wrong.</div><div><br>
</div><div>Are you on a 64 or 32bits machine?</div><div><br></div><div>Thanks!</div><div>Nicolas</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Sat, Dec 1, 2012 at 11:10 PM, Baptiste Saleil <span dir="ltr"><<a href="mailto:baptiste.saleil@gmail.com" target="_blank">baptiste.saleil@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div>Hi all,</div><div><br></div><div>I have a question about vmkit and especially j3 VM.</div>
<div>I compiled and installed it without any problems.</div>
<div><br></div><div>But I have this error as soon as I try to launch a Swing application (Swing HelloWorld) :</div>
<div><br></div><div>j3: ctthread.cpp :71 : void vmkit::Thread::endKnownFrame(): Assertion failed. « lastKnownFrame->currentIP == 0 »</div><div><br></div><div>What I'm doing wrong ?</div><div>Thanks in advance,</div>
<div><br></div><div>Baptiste.</div>
<br></div></div>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>