Martin Choma created ELY-1214:
---------------------------------
Summary: 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: Darran Lofthouse
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
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)