/[gentoo-x86]/eclass/java-utils-2.eclass
Gentoo

Diff of /eclass/java-utils-2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.145 Revision 1.146
4# Copyright (c) 2004, Karl Trygve Kalleberg <karltk@gentoo.org> 4# Copyright (c) 2004, Karl Trygve Kalleberg <karltk@gentoo.org>
5# Copyright (c) 2004-2005, Gentoo Foundation 5# Copyright (c) 2004-2005, Gentoo Foundation
6# 6#
7# Licensed under the GNU General Public License, v2 7# Licensed under the GNU General Public License, v2
8# 8#
9# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.145 2011/10/02 08:10:28 serkan Exp $ 9# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.146 2011/10/29 13:17:15 caster Exp $
10 10
11# ----------------------------------------------------------------------------- 11# -----------------------------------------------------------------------------
12# @eclass-begin 12# @eclass-begin
13# @eclass-shortdesc Java Utility eclass 13# @eclass-shortdesc Java Utility eclass
14# @eclass-maintainer java@gentoo.org 14# @eclass-maintainer java@gentoo.org
2507# 2507#
2508# ------------------------------------------------------------------------------ 2508# ------------------------------------------------------------------------------
2509java-pkg_setup-vm() { 2509java-pkg_setup-vm() {
2510 debug-print-function ${FUNCNAME} $* 2510 debug-print-function ${FUNCNAME} $*
2511 2511
2512 export LANG="C" LC_ALL="C"
2513
2514 local vendor="$(java-pkg_get-vm-vendor)" 2512 local vendor="$(java-pkg_get-vm-vendor)"
2515 if [[ "${vendor}" == "sun" ]] && java-pkg_is-vm-version-ge "1.5" ; then 2513 if [[ "${vendor}" == "sun" ]] && java-pkg_is-vm-version-ge "1.5" ; then
2516 addpredict "/dev/random" 2514 addpredict "/dev/random"
2517 elif [[ "${vendor}" == "ibm" ]]; then 2515 elif [[ "${vendor}" == "ibm" ]]; then
2518 addpredict "/proc/self/maps" 2516 addpredict "/proc/self/maps"

Legend:
Removed from v.1.145  
changed lines
  Added in v.1.146

  ViewVC Help
Powered by ViewVC 1.1.20