From owner-freebsd-java@FreeBSD.ORG Sun Oct 23 23:19:42 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ADD7C16A41F for ; Sun, 23 Oct 2005 23:19:42 +0000 (GMT) (envelope-from steve.joynt@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 473BB43D46 for ; Sun, 23 Oct 2005 23:19:42 +0000 (GMT) (envelope-from steve.joynt@gmail.com) Received: by xproxy.gmail.com with SMTP id h32so206595wxd for ; Sun, 23 Oct 2005 16:19:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ShcwYKi2dvhjqW2PeinkZk4U0hCALbyyXkTtMP9DCH9RJ2i6vlcVOs5CfcKwJS/Yv9aLoO3eWP7eXPqSEFcH14iRaSQLAwM7hby8nV3TF9YsUi9v83voAnFWNsd0XedzG4EPzps0IDLI8RPTzQgHE0sGFomuyW5VPgl85kcqioY= Received: by 10.70.56.6 with SMTP id e6mr77535wxa; Sun, 23 Oct 2005 16:19:41 -0700 (PDT) Received: by 10.70.55.17 with HTTP; Sun, 23 Oct 2005 16:19:41 -0700 (PDT) Message-ID: <17dbe5f00510231619u1eb684bat@mail.gmail.com> Date: Mon, 24 Oct 2005 09:19:41 +1000 From: Steve Joynt To: freebsd-java@freebsd.org In-Reply-To: <17dbe5f00510231618g5e53edebt@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <426b510c0510230351k718c38ffr43273a31204414e6@mail.gmail.com> <17dbe5f00510231618g5e53edebt@mail.gmail.com> Subject: Re: "An unexpected error" when i run class with constructor creatingitself. (jdk1.5.0-p2) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Oct 2005 23:19:42 -0000 On 24/10/05, Manfred Riem wrote: > This is a completely normal error. You are recursive constructing an obje= ct > in the constructor. This will always generate a StackOverflowError. Since > you are not catching Errors the VM can have a default implementation that > prints out a message (just like it does). I think his point is that in jdk1.4.2-p7 it prints out the StackOverflowError message as expected, but in jdk1.5.0-p2 it core dumps. - steve