summaryrefslogtreecommitdiff
path: root/multitech
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2012-04-25 10:46:19 -0500
committerJesse Gilles <jgilles@multitech.com>2012-04-25 10:46:19 -0500
commit2c54641dd2a325217a154b80bf590db0187bdd8e (patch)
treec0feb24d50bbccd7bb9cb07f3caf2204fb7f9377 /multitech
parentf03f42a08df5fdb9d7b14ab1bd3fc7101b75b71f (diff)
openjdk-6-6b24: use jamvm by default
Diffstat (limited to 'multitech')
-rw-r--r--multitech/recipes/meta-java-fixes/openjdk-6-6b24/jvm.cfg43
-rw-r--r--multitech/recipes/meta-java-fixes/openjdk-6_6b24-1.11.1.bbappend7
2 files changed, 50 insertions, 0 deletions
diff --git a/multitech/recipes/meta-java-fixes/openjdk-6-6b24/jvm.cfg b/multitech/recipes/meta-java-fixes/openjdk-6-6b24/jvm.cfg
new file mode 100644
index 0000000..5a21e4e
--- /dev/null
+++ b/multitech/recipes/meta-java-fixes/openjdk-6-6b24/jvm.cfg
@@ -0,0 +1,43 @@
+# Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# This code is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License version 2 only, as
+# published by the Free Software Foundation. Sun designates this
+# particular file as subject to the "Classpath" exception as provided
+# by Sun in the LICENSE file that accompanied this code.
+#
+# This code is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+# version 2 for more details (a copy is included in the LICENSE file that
+# accompanied this code).
+#
+# You should have received a copy of the GNU General Public License version
+# 2 along with this work; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+# CA 95054 USA or visit www.sun.com if you need additional information or
+# have any questions.
+#
+#
+# List of JVMs that can be used as an option to java, javac, etc.
+# Order is important -- first in this list is the default JVM.
+# NOTE that this both this file and its format are UNSUPPORTED and
+# WILL GO AWAY in a future release.
+#
+# You may also select a JVM in an arbitrary location with the
+# "-XXaltjvm=<jvm_dir>" option, but that too is unsupported
+# and may not be available in a future release.
+#
+-jamvm ERROR
+-server ERROR
+-client IGNORE
+-hotspot ERROR
+-classic WARN
+-native ERROR
+-green ERROR
+-zero ALIASED_TO -server
+-shark ERROR
+-cacao ERROR
diff --git a/multitech/recipes/meta-java-fixes/openjdk-6_6b24-1.11.1.bbappend b/multitech/recipes/meta-java-fixes/openjdk-6_6b24-1.11.1.bbappend
index 741bb57..71bd52e 100644
--- a/multitech/recipes/meta-java-fixes/openjdk-6_6b24-1.11.1.bbappend
+++ b/multitech/recipes/meta-java-fixes/openjdk-6_6b24-1.11.1.bbappend
@@ -1,3 +1,10 @@
+# add our own files path to override meta-java
+# (use custom jvm.cfg that defaults to jamvm since it seems the most stable and fast)
+FILESEXTRA := "${THISDIR}"
+FILESPATH =. "${FILESEXTRA}/openjdk-6-6b24:"
+
+PR .= ".corecdp1"
+
# skip building shark
WITH_ADDITIONAL_VMS = "cacao,jamvm"