[Bug libgcj/20198] New: java.security.CodeSource.getLocation output is different than expected

2005-02-24 Thread bkonrath at redhat dot com
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


[Bug libgcj/27031] native Eclipse uses too much memory on startup, sometimes

2006-04-04 Thread bkonrath at redhat dot com


--- Comment #2 from bkonrath at redhat dot com  2006-04-04 20:59 ---
I get the same behaviour about 25% of the time on my machine. Traking this down
is on my list of things to do.


-- 


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



[Bug java/20044] Wrong method call semantics (maybe instanceof/invokespecial)

2005-05-04 Thread bkonrath at redhat dot com

--- Additional Comments From bkonrath at redhat dot com  2005-05-04 17:45 
---
Daniel, could you post the actual source for those classes? Thanks, Ben

-- 


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


[Bug libgcj/21637] New: URL.openStream doesn't throw a FileNotFoundException with some urls

2005-05-17 Thread bkonrath at redhat dot com
Version:

gcc-java-4.0.0-5 from FC4 rawhide

Test Case:

import java.io.IOException;
import java.io.InputStream;
import java.net.URL;

public class URLTest {
public static void main(String[] args) throws IOException {
// replace this with any jar on your system 
// that doesn't have /blah.txt in it.
String jar = "/path/to/jar/bork.jar"; 

URL url = new URL("jar:file:" + jar + "!/blah.txt");
InputStream is = url.openStream();
System.out.println("InputStream: " + is);
}
}

Result of running with gij: 

InputStream: null

Result of running with Sun's VM:

Exception in thread "main" java.io.FileNotFoundException: JAR entry blah.txt not
found in /usr/share/eclipse/plugins/org.eclipse.osgi_3.1.0.jar
at
sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:97)
at
sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:107)
at java.net.URL.openStream(URL.java:913)
at URLTest.main(URLTest.java:12)

-- 
   Summary: URL.openStream doesn't throw a FileNotFoundException
with some urls
   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=21637


[Bug libgcj/30110] New: classpath external missing from src.zip

2006-12-07 Thread bkonrath at redhat dot com
The source from classpath/external is missing from the libgcj src.zip.


-- 
   Summary: classpath external missing from src.zip
   Product: gcc
   Version: 2.95
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bkonrath at redhat dot com


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



[Bug libgcj/30110] classpath external missing from src.zip

2006-12-07 Thread bkonrath at redhat dot com


--- Comment #1 from bkonrath at redhat dot com  2006-12-07 15:47 ---
Created an attachment (id=12766)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12766&action=view)
patch to add source in classpath/external to src.zip


-- 


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