8059848: Test java/awt/GraphicsDevice/CloneConfigsTest.java causes JVM crash in OEL 7.0
Reviewed-by: bae, serb
/*
* @test /nodynamiccopyright/
* @bug 4391330
* @summary compiler accepted (Integer).toString(123)
* @author gafter
*
* @compile/fail/ref=Parens1.out -XDrawDiagnostics Parens1.java
*/
class Parens1 {
void f() {
String s = (Integer).toString(123);
}
}