From: Franklin Chou <franklinmchou@gmail.com>
To: Andrew Haley <aph@redhat.com>
Cc: java@gcc.gnu.org
Subject: Re: GCJ Porting for RTEMS Status Report
Date: Mon, 13 Jun 2011 22:12:00 -0000 [thread overview]
Message-ID: <4DF68B27.5080504@gmail.com> (raw)
In-Reply-To: <4DF5D4F1.2070300@redhat.com>
Thank you for the quick reply but I don't think they are relevant to the
question I am asking.
You see the code that you have provided compiles (using gcj) perfectly
fine. But the code I am using contains String.split() method which the
attached code does not have. The .split() is causing a runtime error
where the program terminates with:
Exception in thread "main" java.lang.Error: Not implemented
<<No stacktrace available>>
I understand that Andrew had a similar problem which he brought up in
the 2005 post, but after reading it I still have no idea how to go about
linking regexp to the jre. If anyone can shed some light on this
particular issue. That'd be great. Also I'd love to help testing, giving
bug reports etc. I do use linux both through Cygwin and through a
dedicated box every day.
Franklin
On 6/13/2011 5:14 AM, Andrew Haley wrote:
> public class HelloWorld{
>> public static void main(String args[]){
>> ThreadTest t=new ThreadTest();
>> Thread t1=new Thread(t);
>> System.out.println("GCJ For RTEMS in Java!---in HelloWorld.java");
>> try{
>> System.out.println(args[100]+"for raise an exception");
>> }catch(Exception e){
>> System.out.println(e.getMessage()+"---in an Exception");
>> }
>> t1.start();
>> }
>> }
>> class ThreadTest extends Thread{
>> public void run(){
>> System.out.println("ThreadTest from HelloWorld!---in a new thread");
>> }
>> }
prev parent reply other threads:[~2011-06-13 22:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-12 17:15 Jie Liu
2011-06-13 9:14 ` Andrew Haley
2011-06-13 22:12 ` Franklin Chou [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DF68B27.5080504@gmail.com \
--to=franklinmchou@gmail.com \
--cc=aph@redhat.com \
--cc=java@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).