Cross Reference: T6857948.java
xref
: /
openjdk7
/
langtools
/
test
/
tools
/
javac
/
6857948
/
T6857948.java
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
383
N/A
/*
383
N/A
* @test /nodynamiccopyright/
214
N/A
* @bug 6857948
214
N/A
* @summary 6857948: Calling a constructor with a doubly bogus argument causes an internal error
160
N/A
* @author Maurizio Cimadamore
*
* @
compile
/
fail
/
ref
=T6857948.out -XDrawDiagnostics
T6857948.java
*/
class
Foo
{
Foo
(
String
v) {}
};
class
Test
{
public
static
void
main
() {
Foo
f =
new
Foo
(
"Hello!"
,
nosuchfunction
()) {};
}
}