Return-Path: Delivered-To: apmail-jakarta-bcel-user-archive@www.apache.org Received: (qmail 40867 invoked from network); 12 May 2004 22:54:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 12 May 2004 22:54:51 -0000 Received: (qmail 38613 invoked by uid 500); 12 May 2004 22:55:22 -0000 Delivered-To: apmail-jakarta-bcel-user-archive@jakarta.apache.org Received: (qmail 38595 invoked by uid 500); 12 May 2004 22:55:21 -0000 Mailing-List: contact bcel-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "BCEL Users List" Reply-To: "BCEL Users List" Delivered-To: mailing list bcel-user@jakarta.apache.org Received: (qmail 38579 invoked by uid 98); 12 May 2004 22:55:21 -0000 Received: from npfdd@gmx.net by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(213.165.64.20):. Processed in 0.364245 secs); 12 May 2004 22:55:21 -0000 X-Qmail-Scanner-Mail-From: npfdd@gmx.net via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(213.165.64.20):. Processed in 0.364245 secs) Received: from unknown (HELO mail.gmx.net) (213.165.64.20) by hermes.apache.org with SMTP; 12 May 2004 22:55:21 -0000 Received: (qmail 21194 invoked by uid 65534); 12 May 2004 22:54:42 -0000 Received: from 80-219-195-231.dclient.hispeed.ch (EHLO 80-219-195-231.dclient.hispeed.ch) (80.219.195.231) by mail.gmx.net (mp005) with SMTP; 13 May 2004 00:54:42 +0200 X-Authenticated: #1279373 Subject: Re: Modification of java.lang.Object From: Daniel Schregenberger To: BCEL Users List In-Reply-To: <200405120144.31758.asinus@heavy-metal.de> References: <1084305680.7572.29.camel@localhost> <200405120144.31758.asinus@heavy-metal.de> Content-Type: text/plain Message-Id: <1084402096.7508.16.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Thu, 13 May 2004 00:54:41 +0200 Content-Transfer-Encoding: 7bit X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello > afaik java.lang.Object is something like another primitive type. I.e. in the > jvm there are value types and there is one reference type which is > java.lang.Object. As all other classes are derived from this one, variables > having a type of class xyz are also treated as references. That's the only > thing I do know which might create a need to bind this class tightly to the > jvm and cause trouble if you add references into java.lang.Object itself. I noticed that the GNU classpath project had a note about this. ie: when you use GNU classpath for your own VM, you have to implement some stuff in your VM. But our goal is (was?) to use a standard VM. > BTW: Why the hell should anybody have to modify this class? Would be very > interesting to know. I'm implementing dynamic Type checking for the Universe Type System. This is a way of making sure object structures don't leak and nobody outside can modify anything inside and break invariants. Here's a link to a paper if you're interested: http://sct.inf.ethz.ch/publications/papers/MuellerPoetzsch-Heffter01a.pdf > There might also be some ways to solve your problem... Yeah, it looks as if I have to think of one :) -- Daniel --------------------------------------------------------------------- To unsubscribe, e-mail: bcel-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: bcel-user-help@jakarta.apache.org