public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/20198] New: java.security.CodeSource.getLocation output is different than expected
@ 2005-02-24 22:31 bkonrath at redhat dot com
  2005-07-24 22:01 ` [Bug libgcj/20198] " green at redhat dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: bkonrath at redhat dot com @ 2005-02-24 22:31 UTC (permalink / raw)
  To: gcc-bugs

GCJ version:

% gij4 --version
gij (GNU libgcj) version 4.0.0 20050217 (Red Hat 4.0.0-0.27)

Test class:

public class Test {
	public static void main(String[] args) {
		System.out.println(Test.class.getProtectionDomain().
                getCodeSource().getLocation());
	}
}

With Sun VM 1.4.2_06 I get:

% j2sdk1.4.2_06/bin/java Test
file:/home/bkonrath/

With GCJ I get: 

% gij4 Test
file:./

I also noticed that the SUN vm returns a URL that has symlinks resolved. Let me
know if you need more info or if I should file this bug somewhere else.

-- 
           Summary: java.security.CodeSource.getLocation output is different
                    than expected
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bkonrath at redhat dot com
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


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


^ permalink raw reply	[flat|nested] 11+ messages in thread
[parent not found: <bug-20198-10161@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2006-01-18  0:20 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-24 22:31 [Bug libgcj/20198] New: java.security.CodeSource.getLocation output is different than expected bkonrath at redhat dot com
2005-07-24 22:01 ` [Bug libgcj/20198] " green at redhat dot com
2005-07-26 22:11 ` pinskia at gcc dot gnu dot org
2005-07-26 23:29 ` [Bug classpath/20198] " pinskia at gcc dot gnu dot org
2005-09-16 23:11 ` green at redhat dot com
2005-09-16 23:12 ` cvs-commit at developer dot classpath dot org
     [not found] <bug-20198-10161@http.gcc.gnu.org/bugzilla/>
2006-01-17  1:17 ` tromey at gcc dot gnu dot org
2006-01-17 19:59 ` tromey at gcc dot gnu dot org
2006-01-17 23:25 ` tromey at gcc dot gnu dot org
2006-01-18  0:19 ` tromey at gcc dot gnu dot org
2006-01-18  0:20 ` cvs-commit at developer dot classpath dot org

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).