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

html4 flag does not work with OpenJDK 14 #7

Open
externl opened this issue May 26, 2020 · 0 comments
Open

html4 flag does not work with OpenJDK 14 #7

externl opened this issue May 26, 2020 · 0 comments

Comments

@externl
Copy link
Member

externl commented May 26, 2020

> Task :freeze-compat:javadoc
Task ':freeze-compat:javadoc' is not up-to-date because:
  No history is available.
Starting process 'command '/Library/Java/JavaVirtualMachines/openjdk-14.0.1.jdk/Contents/Home/bin/javadoc''. Working directory: /Users/vagrant/workspace/freeze-dist/3.7/dist-utils/build/freeze/builds/freeze-demos-clang-x64-default/java/src/Freeze Command: /Library/Java/JavaVirtualMachines/openjdk-14.0.1.jdk/Contents/Home/bin/javadoc @/Users/vagrant/workspace/freeze-dist/3.7/dist-utils/build/freeze/builds/freeze-demos-clang-x64-default/java/src/Freeze/build/tmp/javadoc/javadoc.options
Successfully started process 'command '/Library/Java/JavaVirtualMachines/openjdk-14.0.1.jdk/Contents/Home/bin/javadoc''
javadoc: error - invalid flag: -html4
Usage:
    javadoc [options] [packagenames] [sourcefiles] [@files]

We have

if(JavaVersion.current() > JavaVersion.VERSION_1_8) {
        // Add -quiet to workaround Gradle bug https://github.com/gradle/gradle/issues/2354
        options.addStringOption("html4", "-quiet")
 }

We should probably just remove this.

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

No branches or pull requests

1 participant