Skip to content

Commit 1d4ad0d

Browse files
committed
Add ArrayIndexOutOfBoundsException mock for RW lock test
1 parent fe25f55 commit 1d4ad0d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vm/tests/src/test/java/com/codename1/tools/translator/ReadWriteLockIntegrationTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ private void writeMockJavaClasses(Path sourceDir) throws Exception {
286286
Files.write(lang.resolve("NullPointerException.java"), "package java.lang; public class NullPointerException extends RuntimeException { public NullPointerException() {} }".getBytes(StandardCharsets.UTF_8));
287287
Files.write(lang.resolve("IllegalMonitorStateException.java"), "package java.lang; public class IllegalMonitorStateException extends RuntimeException { public IllegalMonitorStateException() {} }".getBytes(StandardCharsets.UTF_8));
288288
Files.write(lang.resolve("IllegalArgumentException.java"), "package java.lang; public class IllegalArgumentException extends RuntimeException { public IllegalArgumentException(String s) {} }".getBytes(StandardCharsets.UTF_8));
289+
Files.write(lang.resolve("ArrayIndexOutOfBoundsException.java"), "package java.lang; public class ArrayIndexOutOfBoundsException extends RuntimeException { public ArrayIndexOutOfBoundsException() {} }".getBytes(StandardCharsets.UTF_8));
289290
Files.write(lang.resolve("UnsupportedOperationException.java"), "package java.lang; public class UnsupportedOperationException extends RuntimeException { public UnsupportedOperationException() {} }".getBytes(StandardCharsets.UTF_8));
290291

291292
// java.io.Serializable

0 commit comments

Comments
 (0)