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.
28 lines
409 B
Text
28 lines
409 B
Text
package p;
|
|
|
|
public class P {
|
|
|
|
public static class P1 extends p.P {
|
|
|
|
public P1();
|
|
}
|
|
|
|
public static class P2 extends p.P {
|
|
|
|
public P2();
|
|
}
|
|
|
|
public P();
|
|
}
|
|
/**
|
|
* Printing of modules
|
|
*/
|
|
@java.lang.Deprecated
|
|
module printing {
|
|
requires java.base;
|
|
requires static transitive java.compiler;
|
|
exports p to m.m1, m.m2;
|
|
opens p to m.m1, m.m2;
|
|
uses p.P;
|
|
provides p.P with p.P.P1, p.P.P2;
|
|
}
|