Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2012 15:30:34 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Greg Lewis <glewis@eyesbeyond.com>
Cc:        freebsd-eclipse@FreeBSD.org
Subject:   Re: [Fwd: eclipse-3.6.2 failed on amd64 9]
Message-ID:  <4F954B6A.8070400@FreeBSD.org>
In-Reply-To: <4F917B94.4090906@FreeBSD.org>
References:  <1334784090.2063.2.camel@hood.oook.cz> <20120419022722.GA16464@jmobile.jimmy.local> <20120419185122.GA21679@misty.eyesbeyond.com> <4F909057.5020809@FreeBSD.org> <4F917B94.4090906@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
on 20/04/2012 18:07 Andriy Gapon said the following:
> on 20/04/2012 01:23 Andriy Gapon said the following:
[snip]
>> And, as you say, a test program that directly calls
>> java.util.TimeZone.getAvailableIDs also succeeds here.
>>
>> A workaround from this forum thread works for me:
>> http://www.eclipse.org/forums/index.php?t=msg&goto=488654
>>
>> A wild guess: maybe the issue is caused by the custom class loading in
>> eclipse/osgi and static variables in sun.util.calendar.* classes are not
>> properly initialized before the classes are used.  The guess is based purely on
>> <clinit> for com.ibm.icu.impl.JavaTimeZone.
> 
> Hrm, more likely eclipse modifies a java security policy and it prohibits
> accessing files outside of certain directories.
> 

Seems like my first hunch was closer to the truth.
Here's a good investigation of the issue:
https://bugs.launchpad.net/ubuntu/+source/sun-java6/+bug/591165

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F954B6A.8070400>