This is the mail archive of the java-discuss@sources.redhat.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: java.io.File issues.


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]