Maurizio Cimadamore 9b0354380e 8168854: javac erroneously reject a a service interface inner class in a provides clause
Java SE 9 proposed spec changes do not explicitly forbid a service interface to be an inner class - javac should follow

Reviewed-by: jjg
2016-11-07 11:16:23 +00:00

11 lines
244 B
Java

/*
* @test
* @bug 8168854
* @summary javac erroneously reject a a service interface inner class in a provides clause
* @compile module-info.java
*/
module mod {
exports pack1;
provides pack1.Outer.Inter with pack1.Outer1.Implem;
}