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

Need to Fix problem with deleteLocalReference in awt_Component.cpp

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 6
    • 6
    • client-libs
    • None
    • x86
    • windows_nt

      During the PIT testing of the Tiger build we found that the tests failed
      because of renamed shared native functions. We fixed this problem and resent
      the PIT, but we left out the following piece of code :


      awt_Component.cpp
      4859 if (activeWindow != NULL) {
      4860 env->DeleteLocalRef(activeWindow);
      4861 }
      This code should be removed(it might result in crash) if activeWindow is used again. and passing ofactiveWindow should also be removed - awt_Component.cpp doesn't use this object.


      We should fix this before the next integration. Since the activeWindow is not
      being used again, it turns out that there is no harm, but nevertheless, it
      should still be fixed.



            agerasimsunw Alexander Gerasimov (Inactive)
            bino Bino George
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: