diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index 0ddad865..a366449a 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/assets/javascripts/templates/pages/about_tmpl.coffee @@ -619,7 +619,7 @@ credits = [ 'https://octave.org/doc/v7.1.0/' ], [ 'OpenJDK', - '1993, 2021, Oracle and/or its affiliates. All rights reserved.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses.
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.', + '1993, 2022, Oracle and/or its affiliates. All rights reserved.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses.
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.', 'GPLv2', 'http://openjdk.java.net/legal/gplv2+ce.html' ], [ diff --git a/lib/docs/scrapers/openjdk.rb b/lib/docs/scrapers/openjdk.rb index 03142aca..6a8fdb96 100644 --- a/lib/docs/scrapers/openjdk.rb +++ b/lib/docs/scrapers/openjdk.rb @@ -28,7 +28,7 @@ module Docs ] options[:attribution] = <<-HTML - © 1993, 2021, Oracle and/or its affiliates. All rights reserved.
+ © 1993, 2022, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
@@ -37,6 +37,16 @@ module Docs NEWFILTERS = ['openjdk/entries_new', 'openjdk/clean_html_new'] + version '18' do + self.release = '18' + self.root_path = 'index.html' + self.base_url = 'https://docs.oracle.com/en/java/javase/18/docs/api/' + + html_filters.push NEWFILTERS + + options[:container] = 'main' + end + version '17' do self.release = '17' self.root_path = 'index.html'