From: Godmar Back (gback@cs.utah.edu)
Date: Sun Dec 13 1998 - 12:43:11 EST
>
> On Dec 12, 1998, Godmar Back <gback@cs.utah.edu> wrote:
>
> > I would have thought that simply changing finalize0 to have package
> > access might have fixed the access problem, why a new header file?
>
> Package access would be fine, but we'd be wasting one more method
> invocation. It could have been made private, but then the Java
> compiler would create an artificial method with package access for the
> inner class to invoke, and I thought it would be nicer to get rid of
> it. But I'm facing some trouble with `$' in identifiers; perhaps we
> should make Thread.Finalizer a top-level class instead of an inner
> class, so as to avoid the `$'... What do you think?
>
I checked in what I think.
I'm aware that Sun does some trickery (i.e., create a package access
method), but hey, given that Kaffe currently does even check public,
private, etc., don't you think we could live with that for a while?
We'd save one header file, one class file, and a lot of confusion.
I think that at some point, Sun will solve the problems with inner
classes somehow, and then we'll have to implement their solution anyway.
- Godmar
This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:14 EDT