|
From: Ben G. <be...@ja...> - 2005-09-23 16:39:17
|
Jost Boekemeier wrote:
>
> In general we cannot auto-convert a long to a
> java.lang.Integer without altering the value. If such
> a conversion is necessary I think the user must do
> this, for example by calling "new
> java("java.lang.Integer", $phpLongValue);"
That's what I was trying to get at - if int<->Integer conversion works,
then it is easy to instantiate an Integer from PHP code and pass that to
your Java method. There would be no need for the "php ints are java
longs" flag.
--
Ben Gollmer
Jatosoft LLC
|