From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18900 invoked by alias); 24 Jul 2005 19:49:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 18784 invoked by uid 48); 24 Jul 2005 19:49:01 -0000 Date: Sun, 24 Jul 2005 22:01:00 -0000 Message-ID: <20050724194901.18783.qmail@sourceware.org> From: "green at redhat dot com" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050224180020.20198.bkonrath@redhat.com> References: <20050224180020.20198.bkonrath@redhat.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug libgcj/20198] java.security.CodeSource.getLocation output is different than expected X-Bugzilla-Reason: CC X-SW-Source: 2005-07/txt/msg03115.txt.bz2 List-Id: ------- Additional Comments From green at redhat dot com 2005-07-24 19:49 ------- Created an attachment (id=9352) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9352&action=view) Proposed patch This patch makes your test program emit an absolute path. I'm not sure it's 100% correct. For instance, perhaps we should canonicalize the path in addition to makeing it absolute. Also, perhaps this should happen in URLClassLoader instead of the system loader. Hopefully a discussion will happen on this thread: http://gcc.gnu.org/ml/java-patches/2005-q3/msg00144.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20198