]
Farah Juma reassigned ELY-1214:
-------------------------------
Assignee: Farah Juma (was: Darran Lofthouse)
Elytron LocalUserServer Overrides finalize method
-------------------------------------------------
Key: ELY-1214
URL:
https://issues.jboss.org/browse/ELY-1214
Project: WildFly Elytron
Issue Type: Bug
Reporter: Martin Choma
Assignee: Farah Juma
Priority: Critical
{{finalize()}} method can be called even when object is still in use [1]. Please change
LocalUserServer not to rely on {{finalize()}} method
{code:java|title=LocalUserServer.java}
@Override
protected void finalize() throws Throwable {
deleteChallenge();
}
{code}
[1]
https://www.infoq.com/articles/Fatal-Flaw-Finalizers-Phantoms