Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-1214

Elytron LocalUserServer Overrides finalize method

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 1.1.0.Beta51
    • None
    • None
    • None

      finalize() method can be called even when object is still in use [1]. Please change LocalUserServer not to rely on finalize() method

      LocalUserServer.java
          @Override
          protected void finalize() throws Throwable {
              deleteChallenge();
          }
      

      [1] https://www.infoq.com/articles/Fatal-Flaw-Finalizers-Phantoms

              fjuma1@redhat.com Farah Juma
              mchoma@redhat.com Martin Choma
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: