stefanbirkner/system-rules

Java 9 compatibility?

Closed this issue · 4 comments

szpak commented

I use the system-rules in some framework dependent projects to test "untestable" things. As Java 9 is approaching quickly I was wondering if system-rules can be used with it, especially that there is a lot of "hack" used to do the things.

I wanted to give it a try, but it seems there are some Maven plugins required to be upgraded (probably the same as some libraries) I decided to just create that issue to consider checking that compatibility one sunny day.

I built System Rules with Java 9 and it was successful (all tests are green): https://travis-ci.org/stefanbirkner/system-rules/builds/279670791 Next step is to enable JDK9 on Travis.

szpak commented

Great to hear!

Btw, did you mean "AppVeyor" instead of "Travis"? In the aforementioned link there is already a Travis build with Java 9.

No, I mean Travis. The branch under test has three commits and you only see the last one. Here is the diff of the branch: https://github.com/stefanbirkner/system-rules/compare/java9