20708433 userland should build with java 8
authorMike Sullivan <Mike.Sullivan@Oracle.COM>
Mon, 16 Mar 2015 15:09:38 -0700
changeset 3959 0de894549bd0
parent 3958 fc5cedb0932b
child 3960 9e7316c31217
20708433 userland should build with java 8
components/ant/ant.p5m
components/areca/Makefile
components/beanshell/beanshell.p5m
components/berkeleydb/Makefile
components/graphviz/graphviz-java.p5m
components/graphviz/graphviz.p5m
components/junit/Makefile
components/memcached-java/Makefile
components/memcached-java/memcached-java.p5m
components/tomcat/Makefile
components/tomcat/Solaris/http-tomcat6
components/tomcat/patches/env.patch
components/tomcat/tomcat.p5m
make-rules/shared-macros.mk
--- a/components/ant/ant.p5m	Mon Mar 16 14:22:24 2015 -0700
+++ b/components/ant/ant.p5m	Mon Mar 16 15:09:38 2015 -0700
@@ -1530,10 +1530,6 @@
 file path=usr/share/doc/ant/manual/api/overview-summary.html
 file path=usr/share/doc/ant/manual/api/overview-tree.html
 file path=usr/share/doc/ant/manual/api/package-list
-file path=usr/share/doc/ant/manual/api/resources/background.gif
-file path=usr/share/doc/ant/manual/api/resources/tab.gif
-file path=usr/share/doc/ant/manual/api/resources/titlebar.gif
-file path=usr/share/doc/ant/manual/api/resources/titlebar_end.gif
 file path=usr/share/doc/ant/manual/api/serialized-form.html
 file path=usr/share/doc/ant/manual/api/stylesheet.css
 file path=usr/share/doc/ant/manual/argumentprocessor.html
--- a/components/areca/Makefile	Mon Mar 16 14:22:24 2015 -0700
+++ b/components/areca/Makefile	Mon Mar 16 15:09:38 2015 -0700
@@ -47,6 +47,8 @@
 include $(WS_MAKE_RULES)/ant.mk
 include $(WS_MAKE_RULES)/ips.mk
 
+JAVA_HOME = $(JAVA7_HOME)
+
 COMPONENT_BUILD_TARGETS += install -buildfile build.xml
 COMPONENT_BUILD_ENV += ANT_OPTS="-Dfile.encoding=iso-8859-1"
 
--- a/components/beanshell/beanshell.p5m	Mon Mar 16 14:22:24 2015 -0700
+++ b/components/beanshell/beanshell.p5m	Mon Mar 16 15:09:38 2015 -0700
@@ -227,10 +227,6 @@
 file path=usr/share/lib/java/javadoc/beanshell/overview-summary.html
 file path=usr/share/lib/java/javadoc/beanshell/overview-tree.html
 file path=usr/share/lib/java/javadoc/beanshell/package-list
-file path=usr/share/lib/java/javadoc/beanshell/resources/background.gif
-file path=usr/share/lib/java/javadoc/beanshell/resources/tab.gif
-file path=usr/share/lib/java/javadoc/beanshell/resources/titlebar.gif
-file path=usr/share/lib/java/javadoc/beanshell/resources/titlebar_end.gif
 file path=usr/share/lib/java/javadoc/beanshell/serialized-form.html
 file path=usr/share/lib/java/javadoc/beanshell/stylesheet.css
 file beansh.1 path=usr/share/man/man1/beansh.1
--- a/components/berkeleydb/Makefile	Mon Mar 16 14:22:24 2015 -0700
+++ b/components/berkeleydb/Makefile	Mon Mar 16 15:09:38 2015 -0700
@@ -76,6 +76,8 @@
 CONFIGURE_ENV += CFLAGS="$(CFLAGS)"
 CONFIGURE_ENV += CXXFLAGS="$(CXXFLAGS)"
 CONFIGURE_ENV += PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)"
+
+JAVA_HOME = $(JAVA7_HOME)
 CONFIGURE_ENV += JAVA_HOME="$(JAVA_HOME)"
 
 CONFIGURE_OPTIONS += --includedir=/usr/include
--- a/components/graphviz/graphviz-java.p5m	Mon Mar 16 14:22:24 2015 -0700
+++ b/components/graphviz/graphviz-java.p5m	Mon Mar 16 15:09:38 2015 -0700
@@ -44,4 +44,4 @@
 file usr/share/man/man3/gv.3java path=usr/share/man/man3/gv-java.3
 license COPYING license=EPL1.0
 license graphviz.license.extra license="Other Notices"
-depend type=require fmri=runtime/java/jre-7
+depend type=require fmri=runtime/java/jre-8
--- a/components/graphviz/graphviz.p5m	Mon Mar 16 14:22:24 2015 -0700
+++ b/components/graphviz/graphviz.p5m	Mon Mar 16 15:09:38 2015 -0700
@@ -515,7 +515,7 @@
 # deliver a C# platform.
 depend type=conditional \
     fmri=image/graphviz/[email protected]$(IPS_COMPONENT_VERSION) \
-    predicate=runtime/java/jre-7
+    predicate=runtime/java/jre-8
 depend type=conditional \
     fmri=image/graphviz/[email protected]$(IPS_COMPONENT_VERSION) \
     predicate=runtime/lua
--- a/components/junit/Makefile	Mon Mar 16 14:22:24 2015 -0700
+++ b/components/junit/Makefile	Mon Mar 16 15:09:38 2015 -0700
@@ -38,6 +38,8 @@
 include $(WS_MAKE_RULES)/ant.mk
 include $(WS_MAKE_RULES)/ips.mk
 
+JAVA_HOME = $(JAVA7_HOME)
+
 # These ARGS override what is set in build.xml
 COMPONENT_BUILD_ARGS 	+= -Ddist=${PROTO_DIR}
 COMPONENT_BUILD_ARGS    += -Djavadocdir=${PROTO_DIR}
--- a/components/memcached-java/Makefile	Mon Mar 16 14:22:24 2015 -0700
+++ b/components/memcached-java/Makefile	Mon Mar 16 15:09:38 2015 -0700
@@ -83,4 +83,4 @@
 test:		$(NO_TESTS)
 
 
-REQUIRED_PACKAGES += runtime/java/jre-7
+REQUIRED_PACKAGES += runtime/java/jre-8
--- a/components/memcached-java/memcached-java.p5m	Mon Mar 16 14:22:24 2015 -0700
+++ b/components/memcached-java/memcached-java.p5m	Mon Mar 16 15:09:38 2015 -0700
@@ -85,11 +85,7 @@
 file path=usr/share/lib/java/javadoc/memcached-java/api/index.html
 file path=usr/share/lib/java/javadoc/memcached-java/api/overview-tree.html
 file path=usr/share/lib/java/javadoc/memcached-java/api/package-list
-file path=usr/share/lib/java/javadoc/memcached-java/api/resources/background.gif
-file path=usr/share/lib/java/javadoc/memcached-java/api/resources/tab.gif
-file path=usr/share/lib/java/javadoc/memcached-java/api/resources/titlebar.gif
-file path=usr/share/lib/java/javadoc/memcached-java/api/resources/titlebar_end.gif
 file path=usr/share/lib/java/javadoc/memcached-java/api/serialized-form.html
 file path=usr/share/lib/java/javadoc/memcached-java/api/stylesheet.css
 license memcached-java.license license=BSD-like
-depend type=require fmri=runtime/java/jre-7
+depend type=require fmri=runtime/java/jre-8
--- a/components/tomcat/Makefile	Mon Mar 16 14:22:24 2015 -0700
+++ b/components/tomcat/Makefile	Mon Mar 16 15:09:38 2015 -0700
@@ -78,7 +78,7 @@
 test:	$(TEST_32)
 
 
-REQUIRED_PACKAGES += runtime/java/jre-7
+REQUIRED_PACKAGES += runtime/java/jre-8
 REQUIRED_PACKAGES += shell/ksh93
 REQUIRED_PACKAGES += system/core-os
 REQUIRED_PACKAGES += system/network
--- a/components/tomcat/Solaris/http-tomcat6	Mon Mar 16 14:22:24 2015 -0700
+++ b/components/tomcat/Solaris/http-tomcat6	Mon Mar 16 15:09:38 2015 -0700
@@ -21,7 +21,7 @@
 #
 
 #
-# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 . /lib/svc/share/smf_include.sh
@@ -31,7 +31,7 @@
 # multiple Tomcat instances.
 CATALINA_BASE=${CATALINA_BASE:-/var/tomcat6}
 CATALINA_PID=$CATALINA_BASE/logs/pid
-JAVA_HOME=/usr/jdk/instances/jdk1.7.0
+JAVA_HOME=/usr/jdk/instances/jdk1.8.0
 export CATALINA_HOME CATALINA_BASE CATALINA_PID JAVA_HOME
 
 case "$1" in
--- a/components/tomcat/patches/env.patch	Mon Mar 16 14:22:24 2015 -0700
+++ b/components/tomcat/patches/env.patch	Mon Mar 16 15:09:38 2015 -0700
@@ -29,7 +29,7 @@
  
 +# For Solaris
 +if $solaris; then
-+  [ -z "$JAVA_HOME" ] && JAVA_HOME=/usr/jdk/instances/jdk1.7.0
++  [ -z "$JAVA_HOME" ] && JAVA_HOME=/usr/jdk/instances/jdk1.8.0
 +fi
 +
  # Get standard Java environment variables
@@ -73,7 +73,7 @@
  
 +# For Solaris
 +if $solaris; then
-+  [ -z "$JAVA_HOME" ] && JAVA_HOME=/usr/jdk/instances/jdk1.7.0
++  [ -z "$JAVA_HOME" ] && JAVA_HOME=/usr/jdk/instances/jdk1.8.0
 +fi
 +
  # Get standard Java environment variables
--- a/components/tomcat/tomcat.p5m	Mon Mar 16 14:22:24 2015 -0700
+++ b/components/tomcat/tomcat.p5m	Mon Mar 16 15:09:38 2015 -0700
@@ -254,4 +254,4 @@
 dir  path=var/tomcat6/work owner=webservd group=webservd
 license tomcat.license license="Apache v2.0"
 depend type=require fmri=__TBD \
-    pkg.debug.depend.file=usr/jdk/instances/jdk1.7.0/bin/java
+    pkg.debug.depend.file=usr/jdk/instances/jdk1.8.0/bin/java
--- a/make-rules/shared-macros.mk	Mon Mar 16 14:22:24 2015 -0700
+++ b/make-rules/shared-macros.mk	Mon Mar 16 15:09:38 2015 -0700
@@ -466,9 +466,9 @@
 PYTHON_LIB= /usr/lib/python$(PYTHON_VERSION)/vendor-packages
 PYTHON_DATA= $(PYTHON_LIB)
 
+JAVA8_HOME =	/usr/jdk/instances/jdk1.8.0
 JAVA7_HOME =	/usr/jdk/instances/jdk1.7.0
-JAVA6_HOME =	/usr/jdk/instances/jdk1.6.0
-JAVA_HOME = $(JAVA7_HOME)
+JAVA_HOME = $(JAVA8_HOME)
 
 # This is the default BUILD version of perl
 # Not necessarily the system's default version, i.e. /usr/bin/perl