Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-11240

Elytron LocalUserServer Overrides finalize method

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 7.1.0.ER1
    • 7.1.0.DR19
    • Security
    • 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: