In Java 9, can I split sub-packages across modules? For example, can I have com.example.foo
in one module and com.example.foo.bar
in another module?
This seems like a simple question, but for some reason I'm not able to find a direct answer after some searching. An authoritative reference would be appreciated.
I assume I can have sibling sub-packages in different modules, e.g. com.example.foo
and com.example.other
.