From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30908 invoked by alias); 11 Feb 2002 18:24:52 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 30844 invoked from network); 11 Feb 2002 18:24:51 -0000 Received: from unknown (HELO gash2.peakpeak.com) (207.174.178.17) by sources.redhat.com with SMTP; 11 Feb 2002 18:24:51 -0000 Received: from creche.cygnus.com (ta0197.peakpeak.com [204.144.244.197] (may be forged)) by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id LAA10802; Mon, 11 Feb 2002 11:24:47 -0700 Received: (from tromey@localhost) by creche.cygnus.com (8.9.3/8.9.3) id LAA14479; Mon, 11 Feb 2002 11:47:21 -0700 To: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com, per@bothner.com Subject: Re: Fix PR gdb/265, 64-bit pointers in Java References: <20020211003818.A26546@nevyn.them.org> From: Tom Tromey Reply-To: tromey@redhat.com X-Attribution: Tom X-Zippy: As a FAD follower, my BEVERAGE choices are rich and fulfilling! Date: Mon, 11 Feb 2002 10:24:00 -0000 In-Reply-To: Daniel Jacobowitz's message of "Mon, 11 Feb 2002 00:38:18 -0500" Message-ID: <87k7tjj1on.fsf@creche.redhat.com> X-Mailer: Gnus v5.7/Emacs 20.5 X-SW-Source: 2002-02/txt/msg00329.txt.bz2 >>>>> "Daniel" == Daniel Jacobowitz 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