This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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]

Re: Fix PR gdb/265, 64-bit pointers in Java


>>>>> "Daniel" == Daniel Jacobowitz <drow@mvista.com> writes:

Daniel> I don't know if Java allows the implicit 0x123456789 ->
Daniel> 0x123456789L conversion that we all know and love in C

Nope.  In Java an integer constant which is too big for its type is an
error.

Daniel> but it certainly behooves us to act that way on the command
Daniel> line.

If/when we implement method invocation, won't this mean we could
silently call the wrong overloaded method?

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]