jdk-24/langtools/test/tools/javac/declaration/method/MethodVoidParameter.out
Jan Lahoda 38ef229e3f 8026374: javac accepts void as a method parameter
Changing Check.validate to reject void types.

Reviewed-by: jjg, vromero
2013-11-26 15:27:19 +01:00

4 lines
141 B
Plaintext

MethodVoidParameter.java:7:17: compiler.err.void.not.allowed.here
MethodVoidParameter.java:8:17: compiler.err.void.not.allowed.here
2 errors