22e233b2e9
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com> Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com> Co-authored-by: Mandy Chung <mandy.chung@oracle.com> Co-authored-by: Bhavesh Patel <bhavesh.x.patel@oracle.com> Co-authored-by: Andrey Nazarov <andrey.x.nazarov@oracle.com> Reviewed-by: mcimadamore, jjg, mchung, anazarov
16 lines
448 B
Java
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;
|
|
}
|