Scratch that. If I run the cdatetime unit tests as junit plugin tests I get
the same errors.


On Sat, Feb 25, 2012 at 4:36 PM, Wim Jongman <[email protected]> wrote:

> I found this:
>
> java.lang.IllegalAccessError: tried to access field
>
>
> *org.eclipse.nebula.widgets.cdatetime.CDateTime.spinner*
>
> from class
>
> *org.eclipse.nebula.widgets.cdatetime*.CdtTester
>
>
> at 
> org.eclipse.nebula.widgets.cdatetime.CdtTester.getSpinner(CdtTester.java:60)
>
>
>
> Clearly they are in the same bundle so there is no OSGi trouble.
>
> This looks to be a java security manager problem.
>
>
> On Fri, Feb 24, 2012 at 11:24 AM, Nicolas Richeton <
> [email protected]> wrote:
>
>> Looking at the logs, the display issue seems gone ( yeah -11 failing
>> tests :-) ), but we have a lot of IllegalAccessException. I think this is
>> caused by OSGI (tests probably run fine in eclipse).
>>
>> If I remember correctly, we have to make CWT bundle  a "buddy" of widgets
>> bundles which rely on it [1]. This is because CWT use reflection to run
>> methods from the  original test class, and since CWT does not requires
>> widgets (hopefully, this would else create a circular reference), OSGI
>> throws an exception.
>>
>>  Nicolas
>>
>> [1]
>> http://rajakannappan.blogspot.com/2010/03/eclipse-classloading-and-buddy-policy.html
>>
>>
>>
>>
>> Le 24 févr. 2012 à 11:05, Wim Jongman a écrit :
>>
>> the build trigger (Poll SCM) was going crazy. A build was started every 5
>> minutes. I have deactivated it last night. I have now activated it again.
>> Let's see what it does.
>>
>> Regards,
>>
>> Wim
>>
>>
>> On Fri, Feb 24, 2012 at 10:38 AM, Mickael Istria <[email protected]>wrote:
>>
>>>  Hi,
>>>
>>>
>>> On 02/24/2012 03:06 AM, Wim Jongman wrote:
>>>
>>> It seems that the repo polling is not working on Hudson. Sorry for the
>>> spam, I have disabled the cvs trigger.
>>>
>>> I am not sure I understand the issue. Builds seems to behave as they
>>> always have done right now.
>>>
>>>
>>>  Mickael can you take a look at this if you have some time?
>>>
>>> I can try to find some time, but could you be more precise on the "this"
>>> ? ;)
>>>
>>> --
>>> Mickael Istria
>>> Eclipse developer at JBoss, by Red Hat <http://www.jboss.org/tools>
>>> My blog <http://mickaelistria.wordpress.com/> - My 
>>> Tweets<http://twitter.com/mickaelistria>
>>>
>>> _______________________________________________
>>> nebula-dev mailing list
>>> [email protected]
>>> https://dev.eclipse.org/mailman/listinfo/nebula-dev
>>>
>>>
>> _______________________________________________
>> nebula-dev mailing list
>> [email protected]
>> https://dev.eclipse.org/mailman/listinfo/nebula-dev
>>
>>
>>
>> _______________________________________________
>> nebula-dev mailing list
>> [email protected]
>> https://dev.eclipse.org/mailman/listinfo/nebula-dev
>>
>>
>
_______________________________________________
nebula-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/nebula-dev

Reply via email to