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

Elytron LocalUserServer Overrides finalize method

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: