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

some GetByteArrayElements calls miss corresponding Release

XMLWordPrintable

    • b01
    • generic
    • generic

        There are a few GetByteArrayElements calls missing sometimes the corresponding Release call on some code paths.
        One example :

        https://hg.openjdk.java.net/jdk/jdk/file/8180809085a4/src/jdk.attach/windows/native/libattach/VirtualMachineImpl.c#l452

        (we have an early return shortly after the GetByteArrayElements call where we do not Release)

              mbaesken Matthias Baesken
              mbaesken Matthias Baesken
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: