-
-
Notifications
You must be signed in to change notification settings - Fork 97
Open
Description
Objects created without running a constructor cannot be automatically finalized; see https://bugs.openjdk.java.net/browse/JDK-6590839. For ObjenesisStd's default strategy on OpenJDK, this isn't a concern, because it uses the munged Object constructor; but for other Objenesis strategies, including the defaults for other JVMs, it may be. It'd be nice if this was documented (and better yet if there was a way to check it at runtime). Is ReferenceQueue behavior also affected (which would mean users couldn't just implement their own finalizer either)?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels