diff options
| author | 2016-06-09 12:09:57 +0000 | |
|---|---|---|
| committer | 2016-06-09 12:09:57 +0000 | |
| commit | 172abeb725a8acbd0c2c0130bbbd75749650218c (patch) | |
| tree | ce7a513bbee449c4e77f327520ee1acf388c5aba | |
| parent | 4b5c2901d630bf4a360aea872b04046f2de2cebc (diff) | |
| parent | 061f80b95de9c6fe505edf2c3724daeddce6906f (diff) | |
Merge "Also catch OOME from the new byte[]."
| -rw-r--r-- | test/605-new-string-from-bytes/src/Main.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/605-new-string-from-bytes/src/Main.java b/test/605-new-string-from-bytes/src/Main.java index bd24b50334..7dc0c15d99 100644 --- a/test/605-new-string-from-bytes/src/Main.java +++ b/test/605-new-string-from-bytes/src/Main.java @@ -37,6 +37,8 @@ public class Main { } else { throw e; } + } catch (OutOfMemoryError e) { + // Ignore, this is a stress test. } } } |