Relates :
|
The current rmic implementation generates code that always constructs a new instance of java.lang.Boolean to box a boolean value (to pass to RemoteRef.invoke). The generated code would be more efficient (in space and time) if instead of this: new Boolean(x) it did this: (x ? Boolean.TRUE : Boolean.FALSE) [In the J2SE 1.4 API, java.lang.Boolean provides a static factory method, "valueOf", for this purpose, but rmic cannot in general generate stub classes that assume a 1.4 platform.]
|