Request for approval for CR 7049079 - NTSYSTEM CLASS IS LEAKING 3 WINDOWS TOKENS
sean.coffey at oracle.com
Mon Sep 5 03:43:20 PDT 2011
This is a forward port of a fix already in jdk5 & jdk6.
NTSystem() obtains a native Token instance for each constructor call.
This is unnecessary and Token instances should only be requested when
called for, i.e. at getImpersonationToken() time.
No auto testcase but fix has been verified though use of the MS handle
tool and a simple java testcase.
Jdk 8 code review thread :
Fix has just gone into jdk8 also and changeset will be identical to that :
More information about the jdk7u-dev