Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing exports section in module-info.java #335

Closed
mkelly1495 opened this issue May 24, 2018 · 3 comments
Closed

Missing exports section in module-info.java #335

mkelly1495 opened this issue May 24, 2018 · 3 comments

Comments

@mkelly1495
Copy link

Expected behavior and actual behavior:

The module-info.java does not export any packages and therefore, none of the classes are accessible when using Java 9. The module-info.java file needs to have export statements for all public packages:

exports org.joog.lambda;
exports org.jooq.lambda.tuple;
exports org.jooq.lambda.function;
...

Steps to reproduce the problem:

Attempt to access any of the classes in the org.jooq.lambda package. Java 9 does not permit it.

Versions:

  • jOOλ: 0.9.13
  • Java: 9
@lukaseder
Copy link
Member

Thanks, you're absolutely right - what an oversight :-/ We tested jOOλ on JDK 9 on the class path, not on the module path.

@lukaseder
Copy link
Member

... The other libraries are also affected

@lukaseder lukaseder changed the title All jOOL classes are inaccessible when using Java 9 Missing exports section in module-info.java Jun 12, 2018
@lukaseder
Copy link
Member

This is an important enough issue to release 0.9.14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants