Package

Source Code of Case

/*
* @test
* @bug 4278094
* @summary Ensure that setValuesCaseSensitive() does not leave name
*      in an invalid state.
*/

import com.sun.jndi.ldap.LdapName;

public class Case {

    public static void main(String[] args) throws Exception {

        LdapName name = new LdapName("cn=Kuwabatake Sanjuro");
        name.setValuesCaseSensitive(false);
        name.size();    // will throw exception if rdns is null
    }
}
TOP

Related Classes of Case

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.