Skip to content
How to use JSR-305 on Java 9
Shell Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

JSR 305 on Java 9

Demo project for my post Making JSR 305 Work On Java 9.

Your options for a non-modular project:

  • mixed_cp_0...: fails due to missing module for javax.annotation.Generated
  • mixed_cp_1...: adds the module; fails due to split package
  • mixed_cp_2...: patches the modules; succeeds
  • mixed_cp_3...: adds a second dependency; succeeds

If you're creating modules:

  • mixed_mp_0...: depends on two modules; fails due to split package
  • mixed_mp_1...: patches one of the modules; succeeds
You can’t perform that action at this time.