This is the mail archive of the java-patches@gcc.gnu.org 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] |
| Other format: | [Raw text] | |
Tom Tromey wrote: > >>>>> "Gary" == Gary Benson <gbenson@redhat.com> writes: > > Gary> The special cases are six years old, and GCJ seems to run fine > Gary> without them, passing make check, etc, but I wanted to see if > Gary> anyone knows of special weird cases in which this could break. > > I remember adding this to fix a bug (perhaps a false memory, since > the ChangeLog says Andrew did it :-), but I don't remember exactly > what it was. Something about Class.forName requiring URL which > required Class.forName, resulting in a crash. > > I did some digging but it wasn't very helpful... this change came > in via a jumbo patch back in the day: > > http://gcc.gnu.org/ml/java-patches/2000-q2/msg00194.html Yeah, I saw some of that. From the comment it looked as though it might have had something to do with statically linked executables, but the attached test program shows handlers for both file and core have been created by the time main() is called, so... Cheers, Gary
Attachment:
Test.java
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |