Remove tests that don't pass in OpenJDK 12

This commit is contained in:
Alexey Andreev 2019-05-29 21:38:11 +03:00
parent 1ca635fac6
commit 80a12a164d
2 changed files with 0 additions and 15 deletions

View File

@ -51,13 +51,5 @@ public class URLEncoderTest {
} catch (UnsupportedEncodingException e) { } catch (UnsupportedEncodingException e) {
// expected // expected
} }
// Regression for HARMONY-1233
try {
URLEncoder.encode(null, "harmony");
fail("NullPointerException expected");
} catch (NullPointerException e) {
// expected
}
} }
} }

View File

@ -812,13 +812,6 @@ public class VectorTest {
} catch (IndexOutOfBoundsException e) { } catch (IndexOutOfBoundsException e) {
// Excepted // Excepted
} }
try {
myVector.removeRange(2, 1);
fail("Should throw IndexOutOfBoundsException");
} catch (IndexOutOfBoundsException e) {
// Excepted
}
} }
@Test @Test