japitools-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Japi] Abstract enums


From: Jeroen Frijters
Subject: RE: [Japi] Abstract enums
Date: Tue, 28 Nov 2006 15:21:52 +0100

Stuart Ballard wrote:
> You mean that an enum has a non-private constructor? Why?
> 
> Or am I misunderstanding the "finalizer attack" and it doesn't
> actually require one?

That's right. The verifier checks that any constructor that you call is
accessible, but if you don't call any base class constructor (i.e.
simply throw an exception) you can be verifiable and harvest the object
reference in the finalize method.

Regards,
Jeroen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]