Adding upstream version 2:9.1.1230.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
This commit is contained in:
parent
95f88d82e6
commit
0985b09abd
6270 changed files with 2000183 additions and 0 deletions
35
runtime/syntax/testdir/input/java_module_info.java
Normal file
35
runtime/syntax/testdir/input/java_module_info.java
Normal file
|
@ -0,0 +1,35 @@
|
|||
// This module declaration belongs to the sample project published at
|
||||
// https://github.com/zzzyxwvut/module-info.git .
|
||||
import module java.base;
|
||||
import java.util.ServiceLoader;
|
||||
|
||||
/**
|
||||
* Defines demo related support.
|
||||
*
|
||||
* Note that the {@code Testable} service is not exported.
|
||||
*
|
||||
* @uses org.demo.internal.Testable
|
||||
* @provides org.demo.internal.Testable
|
||||
* @see ServiceLoader
|
||||
*/
|
||||
module org.module.info.demo // JDK 23+ (--enable-preview --release 23).
|
||||
{
|
||||
requires static jdk.jfr;
|
||||
requires java.base;
|
||||
requires transitive java.logging;
|
||||
requires transitive static org.module.info.tester;
|
||||
|
||||
exports org.demo;
|
||||
exports org.demo.internal to
|
||||
org.module.info.demo;
|
||||
|
||||
opens org.demo.internal to
|
||||
org.module.info.demo;
|
||||
opens org.demo.tests to
|
||||
org.module.info.demo, org.module.info.tester;
|
||||
|
||||
uses org.demo.internal.Testable;
|
||||
|
||||
provides org.demo.internal.Testable with
|
||||
org.demo.tests.ArithmeticOperationTests;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue