[java-package] 03/04: Adjusted the disk space required to unpack the Java 8 documentation

Emmanuel Bourg ebourg-guest at alioth.debian.org
Thu Aug 29 15:41:28 UTC 2013


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository java-package.

commit 5c6f26b9b0272f82c06dd819e0fb5ce59630dfad
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Aug 29 14:40:15 2013 +0200

    Adjusted the disk space required to unpack the Java 8 documentation
---
 debian/changelog      |    1 +
 lib/oracle-jdk-doc.sh |    8 ++++++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 399d810..465393e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ java-package (0.53) UNRELEASED; urgency=low
     - no longer recommend openjdk-6
     - mention the compatibility with Java 8
   * Removed 'Replaces: ${j2se_package}debian' from the generated control file
+  * Adjusted the disk space required to unpack the Java 8 documentation
 
  -- Emmanuel Bourg <ebourg at apache.org>  Wed, 28 Aug 2013 19:34:41 +0200
 
diff --git a/lib/oracle-jdk-doc.sh b/lib/oracle-jdk-doc.sh
index 96634de..3215b26 100644
--- a/lib/oracle-jdk-doc.sh
+++ b/lib/oracle-jdk-doc.sh
@@ -6,14 +6,18 @@ oracle_j2sdk_doc_detect() {
     j2se_release=${BASH_REMATCH[1]}
     j2se_update=${BASH_REMATCH[2]}
     j2se_version=${j2se_release}u${j2se_update}
-    
+
     case "$j2se_release" in
     6) # JDK 6
       j2se_expected_min_size=44 #Mb
       ;;
-    *) # JDK 7 and higher
+    7) # JDK 7
       j2se_expected_min_size=290 #Mb
       ;;
+    *) # JDK 8 and higher
+      j2se_expected_min_size=320 #Mb
+      ;;
+
     esac
 
     cat << EOF

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/java-package.git



More information about the pkg-java-commits mailing list