jdk-24/test/langtools/tools/javac/modules/InvalidModuleDirective/module-info.java
2017-09-12 19:03:39 +02:00

16 lines
448 B
Java

/*
* @test /nodynamiccopyright/
* @bug 8157519
* @summary Error messages when compiling a malformed module-info.java confusing
* @compile/fail/ref=moduleinfo.out -XDrawDiagnostics module-info.java
*/
module java.transaction {
requires java.base;
resuires javax.interceptor.javax.interceptor.api;
requires transitive javax.enterprise.cdi.api;
requires transitive java.sql;
requires transitive java.rmi;
export javax.transaction;
}