undefect. CWE-407 — 63 sites patched across 27 ecosystems
Authors: russell@unturf.com · brackishbert@gmail.com · foxhop.net · TimeHexOn.com Patches, unit tests, benchmarks, whitepaper, and outreach briefs. Public domain — no copyright claimed. Use freely.
This commit is contained in:
commit
0a580b313d
70422 changed files with 17213626 additions and 0 deletions
|
|
@ -0,0 +1,15 @@
|
|||
/*
|
||||
* @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;
|
||||
}
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
module-info.java:10:3: compiler.err.invalid.module.directive
|
||||
1 error
|
||||
Loading…
Add table
Add a link
Reference in a new issue