[LLVMdev] Problem executing Swing application with j3
Nicolas Geoffray
nicolas.geoffray at gmail.com
Fri Dec 21 16:10:30 PST 2012
Hi Baptiste,
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.
Cheers,
Nicolas
On Mon, Dec 3, 2012 at 8:09 PM, Baptiste Saleil
<baptiste.saleil at gmail.com>wrote:
> Hi Nicolas, thanks for your answer.
>
> The swing hello world is the following (Running perfectly with OpenJDK) :
>
> public class HelloSwing {
> public static void main(String[] args) {
> JFrame frame = new JFrame("HelloWorldSwing");
> final JLabel label = new JLabel("Hello World");
> frame.getContentPane().add(label);
>
> frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
> frame.pack();
> frame.setVisible(true);
> }
> }
>
> I'm running j3 on a 32 bit machine, with an x86 OpenSuse 12.2 System.
> Other informations required ?
>
> I have this information with j3 -version :
> J3 for Java 1.1 -- 1.5
>
> Maybe the previous Swing example require java > 1.5 ?
> Thanks.
>
>
> 2012/12/3 Nicolas Geoffray <nicolas.geoffray at gmail.com>
>
>> Hi Baptiste,
>>
>> 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.
>>
>> Are you on a 64 or 32bits machine?
>>
>> Thanks!
>> Nicolas
>>
>>
>> On Sat, Dec 1, 2012 at 11:10 PM, Baptiste Saleil <
>> baptiste.saleil at gmail.com> wrote:
>>
>>> Hi all,
>>>
>>> I have a question about vmkit and especially j3 VM.
>>> I compiled and installed it without any problems.
>>>
>>> But I have this error as soon as I try to launch a Swing application
>>> (Swing HelloWorld) :
>>>
>>> j3: ctthread.cpp :71 : void vmkit::Thread::endKnownFrame(): Assertion
>>> failed. « lastKnownFrame->currentIP == 0 »
>>>
>>> What I'm doing wrong ?
>>> Thanks in advance,
>>>
>>> Baptiste.
>>>
>>> _______________________________________________
>>> LLVM Developers mailing list
>>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121222/831db021/attachment.html>
More information about the llvm-dev
mailing list