From: Godmar Back (gback@cs.utah.edu)
Date: Mon Nov 16 1998 - 11:11:26 EST
>
>
>
> On Nov 16, 1998, Alexandre Oliva <oliva@dcc.unicamp.br> wrote:
>
> > On Nov 15, 1998, Godmar Back <gback@www.transvirtual.com> wrote:
>
> >> Modified Files:
> >> Properties.java
> >> Log Message:
> >> Edouard's work-around to account for Hotjava's weird use of Properties.
>
> > Unless the Java compiler we're using is severely broken, this
> > shouldn't make any difference at all.
>
> > Only within derived.get() will super.get() use invokespecial; in any
> > other method, it will use invokevirtual, i.e., super.get() is the same
> > as get().
>
> Maybe it's just because I was reading a (very) outdated version of the
> JLS... This used to be the rule in Java 1.0; looks like it has
> changed in Java 1.1...
>
Properties is derived from Hashtable.
The super.get() ensures that we call the get in Hashtable, and not an
overridden version of get in a subclass of Properties.
- Godmar
This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:03 EDT