Small questions about @RequireOptionalModule
Alexey Fedorov
alexey.x.fedorov at oracle.com
Mon Mar 26 15:41:45 PDT 2012
Hello,
I have small question about current state of Jigsaw implementation:
Suppose we have the following code fragment:
> class A {
> @RequireOptionalModule("absent.module")
> public void foo(){
> //do nothing
> }
> }
>
> new A().foo();
@RequireOptionalModule javadoc alludes that if module "absent.module" is
absent, this code throws ModuleNotPresentException, but it doesn't. Is
it a bug?
--
Thank you,
Alexey
More information about the jigsaw-dev
mailing list