Compile-time error is expected if there is "provides with" statement in module-info.java of one module and service implementation is declared in another module. Error is expected due to jigsaw-1.1.3-220
The service implementation must be declared in the current module, or a compile-time error occurs.
            
The service implementation must be declared in the current module, or a compile-time error occurs.
- duplicates
- 
                    JDK-8145013 Javac doesn't report warnings/errors if module provides unexported service and doesn't use it itself -           
- Resolved
 
-         
 P2
  P2