8231912: Use https for URLs in help and error messages JDK-8200758-branch
authorherrick
Tue, 15 Oct 2019 13:44:36 -0400
branchJDK-8200758-branch
changeset 58607 7451b17b40d3
parent 58606 6e02ff008c16
child 58608 a561014c28d0
8231912: Use https for URLs in help and error messages Reviewed-by: asemenyuk, kcr
src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxPackageBundler.java
src/jdk.jpackage/linux/classes/jdk/jpackage/internal/resources/template.postinst
src/jdk.jpackage/linux/classes/jdk/jpackage/internal/resources/template.postrm
src/jdk.jpackage/linux/classes/jdk/jpackage/internal/resources/template.preinst
src/jdk.jpackage/linux/classes/jdk/jpackage/internal/resources/template.prerm
src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacDmgBundler.java
src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/Info-lite.plist.template
src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/MacAppStore.entitlements
src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/MacAppStore_Inherit.entitlements
src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/Runtime-Info.plist.template
src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/lic_template.plist
src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WinMsiBundler.java
src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/WinResources.properties
src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/WinResources_ja.properties
src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/WinResources_zh_CN.properties
--- a/src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxPackageBundler.java	Tue Oct 15 13:39:58 2019 -0400
+++ b/src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxPackageBundler.java	Tue Oct 15 13:44:36 2019 -0400
@@ -699,7 +699,7 @@
                 xml.writeStartDocument();
                 xml.writeStartElement("mime-info");
                 xml.writeNamespace("xmlns",
-                        "http://www.freedesktop.org/standards/shared-mime-info");
+                      "https://www.freedesktop.org/standards/shared-mime-info");
 
                 for (var assoc : associations) {
                     appendFileAssociation(xml, assoc);
--- a/src/jdk.jpackage/linux/classes/jdk/jpackage/internal/resources/template.postinst	Tue Oct 15 13:39:58 2019 -0400
+++ b/src/jdk.jpackage/linux/classes/jdk/jpackage/internal/resources/template.postinst	Tue Oct 15 13:44:36 2019 -0400
@@ -14,7 +14,7 @@
 #        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
 #          <failed-install-package> <version> `removing'
 #          <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
+# for details, see https://www.debian.org/doc/debian-policy/ or
 # the debian-policy package
 
 case "$1" in
--- a/src/jdk.jpackage/linux/classes/jdk/jpackage/internal/resources/template.postrm	Tue Oct 15 13:39:58 2019 -0400
+++ b/src/jdk.jpackage/linux/classes/jdk/jpackage/internal/resources/template.postrm	Tue Oct 15 13:44:36 2019 -0400
@@ -15,7 +15,7 @@
 #        * <new-postrm> `abort-upgrade' <old-version>
 #        * <disappearer's-postrm> `disappear' <overwriter>
 #          <overwriter-version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
+# for details, see https://www.debian.org/doc/debian-policy/ or
 # the debian-policy package
 
 case "$1" in
--- a/src/jdk.jpackage/linux/classes/jdk/jpackage/internal/resources/template.preinst	Tue Oct 15 13:39:58 2019 -0400
+++ b/src/jdk.jpackage/linux/classes/jdk/jpackage/internal/resources/template.preinst	Tue Oct 15 13:44:36 2019 -0400
@@ -10,7 +10,7 @@
 #        * <new-preinst> `install' <old-version>
 #        * <new-preinst> `upgrade' <old-version>
 #        * <old-preinst> `abort-upgrade' <new-version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
+# for details, see https://www.debian.org/doc/debian-policy/ or
 # the debian-policy package
 
 
--- a/src/jdk.jpackage/linux/classes/jdk/jpackage/internal/resources/template.prerm	Tue Oct 15 13:39:58 2019 -0400
+++ b/src/jdk.jpackage/linux/classes/jdk/jpackage/internal/resources/template.prerm	Tue Oct 15 13:44:36 2019 -0400
@@ -13,7 +13,7 @@
 #        * <deconfigured's-prerm> `deconfigure' `in-favour'
 #          <package-being-installed> <version> `removing'
 #          <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
+# for details, see https://www.debian.org/doc/debian-policy/ or
 # the debian-policy package
 
 
--- a/src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacDmgBundler.java	Tue Oct 15 13:39:58 2019 -0400
+++ b/src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacDmgBundler.java	Tue Oct 15 13:44:36 2019 -0400
@@ -343,7 +343,6 @@
                     // The "creator" attribute on a file is a legacy attribute
                     // but it seems Finder excepts these bytes to be
                     // "icnC" for the volume icon
-                    // http://endrift.com/blog/2010/06/14/dmg-files-volume-icons-cli
                     // (might not work on Mac 10.13 with old XCode)
                     pb = new ProcessBuilder(
                             setFileUtility,
--- a/src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/Info-lite.plist.template	Tue Oct 15 13:39:58 2019 -0400
+++ b/src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/Info-lite.plist.template	Tue Oct 15 13:44:36 2019 -0400
@@ -1,5 +1,5 @@
 <?xml version="1.0" ?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "https://www.apple.com/DTDs/PropertyList-1.0.dtd">
 <plist version="1.0">
  <dict>
   <key>LSMinimumSystemVersion</key>
@@ -24,8 +24,7 @@
   <string>DEPLOY_BUNDLE_SHORT_VERSION</string>
   <key>CFBundleSignature</key>
   <string>????</string>
-  <!-- See http://developer.apple.com/library/mac/#releasenotes/General/SubmittingToMacAppStore/_index.html
-       for list of AppStore categories -->
+  <!-- See https://developer.apple.com/app-store/categories/ for list of AppStore categories -->
   <key>LSApplicationCategoryType</key>
   <string>DEPLOY_BUNDLE_CATEGORY</string>
   <key>CFBundleVersion</key>
--- a/src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/MacAppStore.entitlements	Tue Oct 15 13:39:58 2019 -0400
+++ b/src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/MacAppStore.entitlements	Tue Oct 15 13:44:36 2019 -0400
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "https://www.apple.com/DTDs/PropertyList-1.0.dtd">
 <plist version="1.0">
     <dict>
         <key>com.apple.security.app-sandbox</key>
--- a/src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/MacAppStore_Inherit.entitlements	Tue Oct 15 13:39:58 2019 -0400
+++ b/src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/MacAppStore_Inherit.entitlements	Tue Oct 15 13:44:36 2019 -0400
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "https://www.apple.com/DTDs/PropertyList-1.0.dtd">
 <plist version="1.0">
     <dict>
         <key>com.apple.security.app-sandbox</key>
--- a/src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/Runtime-Info.plist.template	Tue Oct 15 13:39:58 2019 -0400
+++ b/src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/Runtime-Info.plist.template	Tue Oct 15 13:44:36 2019 -0400
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "https://www.apple.com/DTDs/PropertyList-1.0.dtd">
 <plist version="1.0">
 <dict>
         <key>CFBundleDevelopmentRegion</key>
--- a/src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/lic_template.plist	Tue Oct 15 13:39:58 2019 -0400
+++ b/src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/lic_template.plist	Tue Oct 15 13:44:36 2019 -0400
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "https://www.apple.com/DTDs/PropertyList-1.0.dtd">
 <plist version="1.0">
 <dict>
 	<key>LPic</key>
--- a/src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WinMsiBundler.java	Tue Oct 15 13:39:58 2019 -0400
+++ b/src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WinMsiBundler.java	Tue Oct 15 13:44:36 2019 -0400
@@ -362,7 +362,7 @@
         }
     }
 
-    // http://msdn.microsoft.com/en-us/library/aa370859%28v=VS.85%29.aspx
+    // https://msdn.microsoft.com/en-us/library/aa370859%28v=VS.85%29.aspx
     // The format of the string is as follows:
     //     major.minor.build
     // The first field is the major version and has a maximum value of 255.
--- a/src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/WinResources.properties	Tue Oct 15 13:39:58 2019 -0400
+++ b/src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/WinResources.properties	Tue Oct 15 13:44:36 2019 -0400
@@ -43,9 +43,9 @@
 error.copyright-is-too-long=The copyright string is too long for InnoSetup
 error.copyright-is-too-long.advice=Provide a copyright string shorter than 100 characters.
 error.no-wix-tools=Can not find WiX tools (light.exe, candle.exe)
-error.no-wix-tools.advice=Download WiX 3.0 or later from http://wix.sf.net and add it to the PATH.
+error.no-wix-tools.advice=Download WiX 3.0 or later from https://wixtoolset.org and add it to the PATH.
 error.version-string-wrong-format=Version string is not compatible with MSI rules [{0}]
-error.version-string-wrong-format.advice=Set the bundler argument "{0}" according to these rules: http://msdn.microsoft.com/en-us/library/aa370859%28v\=VS.85%29.aspx .
+error.version-string-wrong-format.advice=Set the bundler argument "{0}" according to these rules: https://msdn.microsoft.com/en-us/library/aa370859%28v\=VS.85%29.aspx .
 error.version-string-major-out-of-range=Major version must be in the range [0, 255]
 error.version-string-build-out-of-range=Build part of version must be in the range [0, 65535]
 error.version-string-minor-out-of-range=Minor version must be in the range [0, 255]
--- a/src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/WinResources_ja.properties	Tue Oct 15 13:39:58 2019 -0400
+++ b/src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/WinResources_ja.properties	Tue Oct 15 13:44:36 2019 -0400
@@ -43,9 +43,9 @@
 error.copyright-is-too-long=The copyright string is too long for InnoSetup
 error.copyright-is-too-long.advice=Provide a copyright string shorter than 100 characters.
 error.no-wix-tools=Can not find WiX tools (light.exe, candle.exe)
-error.no-wix-tools.advice=Download WiX 3.0 or later from http://wix.sf.net and add it to the PATH.
+error.no-wix-tools.advice=Download WiX 3.0 or later from https://wixtoolset.org and add it to the PATH.
 error.version-string-wrong-format=Version string is not compatible with MSI rules [{0}]
-error.version-string-wrong-format.advice=Set the bundler argument "{0}" according to these rules: http://msdn.microsoft.com/en-us/library/aa370859%28v\=VS.85%29.aspx .
+error.version-string-wrong-format.advice=Set the bundler argument "{0}" according to these rules: https://msdn.microsoft.com/en-us/library/aa370859%28v\=VS.85%29.aspx .
 error.version-string-major-out-of-range=Major version must be in the range [0, 255]
 error.version-string-build-out-of-range=Build part of version must be in the range [0, 65535]
 error.version-string-minor-out-of-range=Minor version must be in the range [0, 255]
--- a/src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/WinResources_zh_CN.properties	Tue Oct 15 13:39:58 2019 -0400
+++ b/src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/WinResources_zh_CN.properties	Tue Oct 15 13:44:36 2019 -0400
@@ -43,9 +43,9 @@
 error.copyright-is-too-long=The copyright string is too long for InnoSetup
 error.copyright-is-too-long.advice=Provide a copyright string shorter than 100 characters.
 error.no-wix-tools=Can not find WiX tools (light.exe, candle.exe)
-error.no-wix-tools.advice=Download WiX 3.0 or later from http://wix.sf.net and add it to the PATH.
+error.no-wix-tools.advice=Download WiX 3.0 or later from https://wixtoolset.org and add it to the PATH.
 error.version-string-wrong-format=Version string is not compatible with MSI rules [{0}]
-error.version-string-wrong-format.advice=Set the bundler argument "{0}" according to these rules: http://msdn.microsoft.com/en-us/library/aa370859%28v\=VS.85%29.aspx .
+error.version-string-wrong-format.advice=Set the bundler argument "{0}" according to these rules: https://msdn.microsoft.com/en-us/library/aa370859%28v\=VS.85%29.aspx .
 error.version-string-major-out-of-range=Major version must be in the range [0, 255]
 error.version-string-build-out-of-range=Build part of version must be in the range [0, 65535]
 error.version-string-minor-out-of-range=Minor version must be in the range [0, 255]