Class GcjHacks
java.lang.Object
GcjHacks
- public class GcjHacks
- extends Object
A class to implicitely cause gcj to include boot class files that it won't
include normally.
For instance: if a program uses the Date class, it will fail to run
correctly. This is because Date uses Calendar, but through reflection.
Gcj doesnt properly understand this, so it does not include Calendar
when compiling, and therefore there is an unresolved symbol problem when
the program runs.
We force it to include Calendar by using the line shown below in the code.
This should only be used when building using gcj, and never with javac.
This class will most likely never compile with javac, nor should it.
- Author:
- Kevin Thompson [antiduh@csh.rit.edu]
|
Field Summary |
private static Class |
c1
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
c1
private static Class c1
GcjHacks
public GcjHacks()