Bug 98586 - [PATCH] java/javavmwrapper: /usr/local/bin/jar does not work due to the extra -XX:+UseMembar opt
Summary: [PATCH] java/javavmwrapper: /usr/local/bin/jar does not work due to the extra...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Greg Lewis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-06 10:30 UTC by achill
Modified: 2006-06-06 16:30 UTC (History)
0 users

See Also:


Attachments
file.diff (321 bytes, patch)
2006-06-06 10:30 UTC, achill
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description achill 2006-06-06 10:30:19 UTC
	JAVAVM_OPTS_diablo_jdk1_5_0=-XX:+UseMembar in  /usr/local/etc/javavm_opts.conf causes this opt to be passed in other java programs like jar which do not respect the -X switches.

Fix: Apply this patch:
How-To-Repeat: 	With diablo-jdk-1.5.0.06.00 installed and with a /usr/local/etc/javavms like
% cat /usr/local/etc/javavms 
/usr/local/diablo-jdk1.5.0/bin/java # DiabloCaffe

just try to run

% jar
Comment 1 Herve Quiroz freebsd_committer freebsd_triage 2006-06-06 10:47:29 UTC
Responsible Changed
From-To: freebsd-java->glewis

Over to maintainer. 

Greg, feel free to assign this one to me if you don't have enough time for it.
Comment 2 Greg Lewis freebsd_committer freebsd_triage 2006-06-06 16:30:53 UTC
State Changed
From-To: open->closed

Committed. Thanks!