aim42 / htmlSanityCheck

Standalone (batch- and command-line) and Gradle-plugin html sanity checker - detects missing images, dead links and cross-references, duplicate link targets (anchors) and the like.
Apache License 2.0
70 stars 47 forks source link

Version 1.1.4 does not work with Java 8 or Java 11 #288

Closed mernst closed 3 years ago

mernst commented 3 years ago

Version 1.1.4 requires Java 14. It does not work with Java 8 or Java 11. (Here is a pull request that shows the incompatibilities.) If this is intentional, please prominently document this requirement. If this is not intentional, it would be helpful to make a new release that supports the LTS versions of Java.

Thanks for the htmlSanityCheck project!

gernotstarke commented 3 years ago

@mernst - that was definitely NOT a requirement, and is solely my own fault (didn't think of compatibilty issues and didn't test..).

Such things happen when people (me..) release software "in a hurry" and not fully automated. Mea culpa.

I'll have a look into it, and hopefully release a 1.1.15 in a few days...

gernotstarke commented 3 years ago

aah - found the culprit: I (accidently) compiled it in a shell that uses Java 14 as default...

When compiling the plugin with Java 8, it runs on Java 8 without issues (to be more precise: without any additional ones).

gernotstarke commented 3 years ago

just published v 1.1.6, compiled with jdk 8.

@mernst hope it works for you (too)... sorry again for me messing up v 1.1.4

mernst commented 3 years ago

1.1.6 works for me. Thank you for the fix, and thanks again for the Html Sanity Check plugin.