@@ -0,0 +1,756 @@
+package org.apache.markt.leaks.ldap;%0A%0Aimport org.apache.markt.leaks.LeakBase;%0A%0A/**%0A * Java 5%0A *  - leaks%0A * Java 6%0A *  - leaks%0A * Java 7%0A *  - leaks%0A * Java 8%0A *  - leaks%0A */%0Apublic class PoolManagerLeak extends LeakBase %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A        PoolManagerLeak poolManagerLeak = new PoolManagerLeak();%0A        poolManagerLeak.doLeakTest();%0A    %7D%0A%0A%0A    @Override%0A    protected void createLeakingObjects() %7B%0A        System.setProperty(%22com.sun.jndi.ldap.connect.pool.timeout%22, %221%22);%0A        try %7B%0A            Class.forName(%22com.sun.jndi.ldap.LdapPoolManager%22);%0A        %7D catch (Exception e) %7B%0A            e.printStackTrace();%0A        %7D%0A    %7D%0A%0A%0A    @Override%0A    protected void cleanUpLeakingObjects() %7B%0A        // None%0A    %7D%0A%7D

Add ldap leak demo