[Bug java/22377] BC compilation fails to detect abstract instantiation
mckinlay at redhat dot com
gcc-bugzilla@gcc.gnu.org
Mon Jul 11 15:57:00 GMT 2005
------- Additional Comments From mckinlay at redhat dot com 2005-07-11 15:44 -------
There might be a way to implement this without additional _Jv_AllocObject cost
and without adding new ABI tables.
If abstract classes and interfaces were given a zero or negative value in their
size field, I think the GC will call GC_oom_fn if an attempt were made to
allocate them. We could then throw InstantiationException instead of
OutOfMemoryError in this case.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22377
More information about the Gcc-bugs
mailing list