Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-5127

Remove DBCursorCleaner abstraction

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Internal

      The legacy driver includes an abstraction for cursor cleaning that relies on finalization for Java 8 and reflective use of java.lang.ref.Cleaner on Java 9+.

      Once Java 11 is the minimum, the finalization-based mechanism can be removed, the reflective implementation replaced with a normal one, and the DBCursorCleaner abstraction removed.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: