public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "bero at arklinux dot org" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug java/24698] [4.1 regression] Apparent problem getting non-.class files out of jars
Date: Sat, 19 Nov 2005 15:16:00 -0000	[thread overview]
Message-ID: <20051119151633.25202.qmail@sourceware.org> (raw)
In-Reply-To: <bug-24698-5606@http.gcc.gnu.org/bugzilla/>



------- Comment #4 from bero at arklinux dot org  2005-11-19 15:16 -------
Also try:

gcj -O2 -fPIC -fjni -shared -o libtestcase.so test.jar
gcj -o testcase test1.java --main=test1 -L. -ltestcase
LD_LIBRARY_PATH=. ./testcase

Works as expected in 4.0.x, current SVN acts up: Generating libtestcase.so
doesn't produce an error, but after that things get strange.

$ gcj -o testcase test1.java --main=test1 -L. -ltestcase
test1.java:1: error: Can't find default package 'org.arklinux.test'. Check the
CLASSPATH environment variable and the access to the archives
1 error
test1.java:0: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions

Similar error if I tell it where to find the jar:
$ CLASSPATH=test.jar gcj -o testcase test1.java --main=test1 -L. -ltestcase
test1.java:3: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24698


  parent reply	other threads:[~2005-11-19 15:16 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-06 19:53 [Bug java/24698] New: " bero at arklinux dot org
2005-11-19 15:00 ` [Bug java/24698] " bero at arklinux dot org
2005-11-19 15:02 ` bero at arklinux dot org
2005-11-19 15:03 ` bero at arklinux dot org
2005-11-19 15:16 ` bero at arklinux dot org [this message]
2005-11-24 18:07 ` [Bug java/24698] [4.1/4.2 regression] Failure locating .properties files inside jars bero at arklinux dot org
2005-11-29 22:37 ` tromey at gcc dot gnu dot org
2005-12-12 19:16 ` bero at arklinux dot org
2005-12-12 19:18 ` [Bug java/24698] [4.1/4.2 regression] CLASSPATH . no longer implied for class specified on the command line bero at arklinux dot org
2005-12-12 20:02 ` bero at arklinux dot org
2005-12-12 21:00 ` bero at arklinux dot org
2005-12-16  1:01 ` [Bug java/24698] [4.1/4.2 regression] SIGABRT when trying to read properties files from jars; and " bero at arklinux dot org
2005-12-16  1:17 ` bero at arklinux dot org
2005-12-16  1:24 ` bero at arklinux dot org
2005-12-16  9:59 ` [Bug java/24698] [4.1/4.2 regression] SIGABRT when using ResourceBundle.getBundle with a nonexistant key bero at arklinux dot org
2005-12-16 13:22 ` bero at arklinux dot org
2006-01-08 18:41 ` tromey at gcc dot gnu dot org
2006-01-08 21:50 ` bero at arklinux dot org
2006-01-17 18:25 ` bero at arklinux dot org
2006-02-05 15:44 ` pinskia at gcc dot gnu dot org
2006-06-04 19:34 ` jsm28 at gcc dot gnu dot org
2006-06-04 19:50 ` mmitchel at gcc dot gnu dot org
2007-02-14  9:35 ` [Bug java/24698] [4.1/4.2/4.3 " mmitchel at gcc dot gnu dot org
2008-07-04 20:06 ` [Bug java/24698] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
2009-03-31 19:01 ` [Bug java/24698] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
2009-08-04 12:30 ` rguenth at gcc dot gnu dot org
2010-05-22 18:13 ` [Bug java/24698] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot org

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=20051119151633.25202.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=java-prs@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).