This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
Re: java.io.File issues.
- To: Jeremy Greiner <jeremy at win1 dot net>
- Subject: Re: java.io.File issues.
- From: Jeff Sturm <jeff dot sturm at appnet dot com>
- Date: Tue, 12 Sep 2000 12:07:03 -0400
- CC: java-discuss at sourceware dot cygnus dot com
- Organization: AppNet Inc.
- References: <00ef01c01cd1$a0ee0570$37abf486@stlgreinernt>
> Jeremy Greiner wrote:
>
> the program seems to hang (CPU jumps up to 100%) and the when I load the
> properties file.
> this program wokes fine under the standard jdk but when I try and compile it
> using gcj (compiles natively)
> it compiles fine but when it executes it gets the the props.load() statement
> and stop. I am baffled any suggestions..?
1) What gcj/libgcj are you using? A recent snapshot?
2) What configure options did you use? Did you change JC1FLAGS to build libgcj
with optimization?
Recent gcj compilers have had trouble with -On. Properties.load() is one of the
victims I found, though the usual symptom is a NullPointerException.
--
Jeff Sturm
jeff.sturm@appnet.com