Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 302109

Summary: dev-java/java-config don't show build only warning when there are none
Product: Gentoo Linux Reporter: Petteri Räty (RETIRED) <betelgeuse>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Petteri Räty (RETIRED) gentoo-dev 2010-01-24 22:11:37 UTC
betelgeuse@pena ~/toiminimi/hours $ eselect java-vm list
Available Java Virtual Machines:
  [1]   icedtea6-bin
  [2]   sun-jdk-1.5
  [3]   sun-jdk-1.6  system-vm user-vm
  [4]   sun-jre-bin-1.6

!!! Warning: VMs marked as Build Only may contain Security Vulnerabilities and/or be EOL.
!!! Warning: Gentoo recommends not setting these VMs as either your System or User VM.
!!! Warning: Please see http://www.gentoo.org/doc/en/java.xml#build-only for more information.

When there's none the warning is too dominating in the output and it looks like there is something wrong. Let's only show the warning if there's actually a build only VM installed.
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-04-13 21:21:34 UTC
In r8163 (both java-config-2 and the eselect module).
Comment 2 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-04-28 19:45:51 UTC
Released in 2.1.11