author | duke |
Sat, 01 Dec 2007 00:00:00 +0000 | |
changeset 2 | 90ce3da70b43 |
child 8177 | 7f5ce6c05820 |
permissions | -rw-r--r-- |
2 | 1 |
/* |
2 |
* @test |
|
3 |
* @bug 4278094 |
|
4 |
* @summary Ensure that setValuesCaseSensitive() does not leave name |
|
5 |
* in an invalid state. |
|
6 |
*/ |
|
7 |
||
8 |
import com.sun.jndi.ldap.LdapName; |
|
9 |
||
10 |
public class Case { |
|
11 |
||
12 |
public static void main(String[] args) throws Exception { |
|
13 |
||
14 |
LdapName name = new LdapName("cn=Kuwabatake Sanjuro"); |
|
15 |
name.setValuesCaseSensitive(false); |
|
16 |
name.size(); // will throw exception if rdns is null |
|
17 |
} |
|
18 |
} |