9b0354380e
Java SE 9 proposed spec changes do not explicitly forbid a service interface to be an inner class - javac should follow Reviewed-by: jjg
11 lines
244 B
Java
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;
|
|
}
|