public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
From: "jari dot korva at iki dot fi" <gcc-bugzilla@gcc.gnu.org> To: java-prs@gcc.gnu.org Subject: [Bug java/16899] Gcj does not produce working executables for big endian ARMs Date: Mon, 16 Aug 2004 08:37:00 -0000 [thread overview] Message-ID: <20040816083703.23290.qmail@sourceware.org> (raw) In-Reply-To: <20040806144324.16899.jari.korva@iki.fi> ------- Additional Comments From jari dot korva at iki dot fi 2004-08-16 08:36 ------- By chance, I found out that by commenting out a few lines from ClassLoader.getSystemClassLoader(), I'm able to produce working binaries for armv5b. I didn't include a patch because this does not seem look like a real solution: public static ClassLoader getSystemClassLoader() { // Check if we may return the system classloader // SecurityManager sm = System.getSecurityManager(); // if (sm != null) { Class c = VMSecurityManager.getClassContext()[1]; ClassLoader cl = c.getClassLoader(); // if (cl != null && cl != systemClassLoader) // sm.checkPermission(new RuntimePermission("getClassLoader")); } return systemClassLoader; } Does anyone who has more knowlegde about gcj internals have any idea what is the real reason behind this? I also confirmed that the bug still exists in gcj 3.4.1. -- What |Removed |Added ---------------------------------------------------------------------------- Version|3.4.0 |3.4.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16899
next prev parent reply other threads:[~2004-08-16 8:37 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-08-06 14:43 [Bug java/16899] New: " jari dot korva at iki dot fi 2004-08-16 8:37 ` jari dot korva at iki dot fi [this message] 2004-08-16 18:07 ` [Bug java/16899] " mckinlay at redhat dot com 2004-08-17 8:06 ` jari dot korva at iki dot fi 2004-08-17 15:43 ` mckinlay at redhat dot com 2004-08-17 15:53 ` mckinlay at redhat dot com 2004-08-17 15:55 ` mckinlay at redhat dot com 2004-08-18 5:27 ` pinskia at gcc dot gnu dot org 2004-08-18 9:57 ` jari dot korva at iki dot fi 2004-08-18 15:16 ` mckinlay at redhat dot com 2004-08-19 10:20 ` [Bug libgcj/16899] " jari dot korva at iki dot fi 2004-08-19 14:42 ` mckinlay at redhat dot com 2004-08-20 7:30 ` jari dot korva at iki dot fi 2004-08-20 7:35 ` pinskia 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=20040816083703.23290.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: linkBe 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).