Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8294986

Possible mismatched acquire/release in binding specializer

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • None
    • repo-panama
    • core-libs

      During an experiment to change the implementation, it was discovered that if a call to acquire0 in the BindingSepcializer fails with an exception, the corresponding cleanup code in the 'finally block' will still call release on the session.

      We should only call release on a session when acquire succeeds.

            jvernee Jorn Vernee
            jvernee Jorn Vernee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: