JDK-4895175 : Need to Fix problem with deleteLocalReference in awt_Component.cpp
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_nt
  • CPU: x86
  • Submitted: 2003-07-23
  • Updated: 2005-04-15
  • Resolved: 2005-04-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6Resolved
Related Reports
Duplicate :  
Description
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.




Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mustang
17-09-2004

EVALUATION will fix after current integration. ###@###.### 2003-07-23 Duplicate of the fixed bug 5076963. ###@###.### 2005-04-15 13:22:29 GMT
23-07-2003