|
From: | Brian Jones |
Subject: | Re: Question about Boolean |
Date: | 19 Jul 2001 22:16:56 -0400 |
User-agent: | Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7 |
Tom Tromey <address@hidden> writes: > Today I looked at merging Boolean and Integer with libgcj. > > There's one patch I'd like to make but I don't know how valid it is. > It is appended. > Take a look at Double.java. Perhaps something like this? public static final Class TYPE; static { if (Configuration.INIT_LOAD_LIBRARY) { System.loadLibrary("javalang"); initIDs(); TYPE = VMClassLoader.getPrimitiveClass("double"); } else if (Configuration.GCJ) { TYPE = boolean.class; } } Seems like it would work... and it should compile too. -- Brian Jones <address@hidden>
[Prev in Thread] | Current Thread | [Next in Thread] |