Out of the 6 negative tools tests for javac/varargs, there are two tests that are not covered in regression and jck testbase.
The test cases are:
1. Misplaced ellipsis: void foo( String s, Object o... ) { }
2. Varargs is not the last argument: void foo(String... s, int i){}
The above two tests are candidates for colocation.
The test cases are:
1. Misplaced ellipsis: void foo( String s, Object o... ) { }
2. Varargs is not the last argument: void foo(String... s, int i){}
The above two tests are candidates for colocation.
- is blocked by
-
JDK-8030091 Request to update error messages from javac for negative varargs test cases
-
- Closed
-