ICU-3301 double path separator will make finding files fail while streaming form jar files
X-SVN-Rev: 15203
This commit is contained in:
parent
d36c3d53b5
commit
49d8d8b6a7
@ -566,7 +566,7 @@ public class TestIDNA extends TestFmwk {
|
|||||||
|
|
||||||
private static final int loopCount = 100;
|
private static final int loopCount = 100;
|
||||||
private static final int maxCharCount = 15;
|
private static final int maxCharCount = 15;
|
||||||
private static final int maxCodePoint = 0x10ffff;
|
// private static final int maxCodePoint = 0x10ffff;
|
||||||
private Random random = null;
|
private Random random = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -583,7 +583,7 @@ public class TestIDNA extends TestFmwk {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private int randi(int n){
|
private int randi(int n){
|
||||||
return (int) (random.nextInt(0x7fff) % (n+1));
|
return (random.nextInt(0x7fff) % (n+1));
|
||||||
}
|
}
|
||||||
|
|
||||||
private StringBuffer getTestSource(StringBuffer fillIn) {
|
private StringBuffer getTestSource(StringBuffer fillIn) {
|
||||||
@ -598,7 +598,7 @@ public class TestIDNA extends TestFmwk {
|
|||||||
if(codepoint == 0x0000){
|
if(codepoint == 0x0000){
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
UTF16.append(fillIn, (int)codepoint);
|
UTF16.append(fillIn, codepoint);
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
return fillIn;
|
return fillIn;
|
||||||
|
Loading…
Reference in New Issue
Block a user