You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by Nicolas Roduit <Ni...@jmicrovision.com> on 2014/03/25 19:13:47 UTC

Gogo shell doesn't work with Java 8

Thanks to take into account this bug 
(https://issues.apache.org/jira/browse/FELIX-4425) in the next release. 
A fix is proposed in JIRA.

Re: Gogo shell doesn't work with Java 8

Posted by "Richard S. Hall" <he...@ungoverned.org>.
On 3/26/14, 09:36 , Ferry Huberts wrote:
>
>
> On 26/03/14 13:53, Richard S. Hall wrote:
>> On 3/26/14, 03:53 , Derek Baum wrote:
>>> no problem.
>>>
>>> I applied the fix locally last weekend, but the gogo tests were
>>> failing for some reason I have not yet investigated:
>>>
>>> org/apache/felix/gogo/command/Inspect.java:280: error: incompatible 
>>> types
>>> [ERROR] BundleWiring wiring = b.adapt(BundleWiring.class);
>>
>> I think this is due to the fact that Gogo Command depends on
>> org.osgi.core 4.3.0 which is compiled with target jsr14, which doesn't
>
> there is a 4.3.1 out there that doesn't have this problem.

Good to know. I just committed a modified dependency.

Thanks.

-> richard

>
>> work when compiling with Java 7. So, either build with an older version
>> of Java or else change the dependency to org.osgi.core 5.0.0...not sure
>> which makes more sense.
>>
>> -> richard
>>
>>>
>>>
>>> —
>>> Derek
>>>
>>> On 25 Mar 2014, at 18:13, Nicolas Roduit
>>> <Ni...@jmicrovision.com> wrote:
>>>
>>>> Thanks to take into account this bug
>>>> (https://issues.apache.org/jira/browse/FELIX-4425) in the next
>>>> release. A fix is proposed in JIRA.
>>
>


Re: Gogo shell doesn't work with Java 8

Posted by Ferry Huberts <ma...@hupie.com>.

On 26/03/14 13:53, Richard S. Hall wrote:
> On 3/26/14, 03:53 , Derek Baum wrote:
>> no problem.
>>
>> I applied the fix locally last weekend, but the gogo tests were
>> failing for some reason I have not yet investigated:
>>
>> org/apache/felix/gogo/command/Inspect.java:280: error: incompatible types
>> [ERROR] BundleWiring wiring = b.adapt(BundleWiring.class);
>
> I think this is due to the fact that Gogo Command depends on
> org.osgi.core 4.3.0 which is compiled with target jsr14, which doesn't

there is a 4.3.1 out there that doesn't have this problem.

> work when compiling with Java 7. So, either build with an older version
> of Java or else change the dependency to org.osgi.core 5.0.0...not sure
> which makes more sense.
>
> -> richard
>
>>
>>
>> —
>> Derek
>>
>> On 25 Mar 2014, at 18:13, Nicolas Roduit
>> <Ni...@jmicrovision.com> wrote:
>>
>>> Thanks to take into account this bug
>>> (https://issues.apache.org/jira/browse/FELIX-4425) in the next
>>> release. A fix is proposed in JIRA.
>

-- 
Ferry Huberts

Re: Gogo shell doesn't work with Java 8

Posted by "Richard S. Hall" <he...@ungoverned.org>.
On 3/26/14, 03:53 , Derek Baum wrote:
> no problem.
>
> I applied the fix locally last weekend, but the gogo tests were failing for some reason I have not yet investigated:
>
> org/apache/felix/gogo/command/Inspect.java:280: error: incompatible types
> [ERROR] BundleWiring wiring = b.adapt(BundleWiring.class);

I think this is due to the fact that Gogo Command depends on 
org.osgi.core 4.3.0 which is compiled with target jsr14, which doesn't 
work when compiling with Java 7. So, either build with an older version 
of Java or else change the dependency to org.osgi.core 5.0.0...not sure 
which makes more sense.

-> richard

>
>
> —
> Derek
>
> On 25 Mar 2014, at 18:13, Nicolas Roduit <Ni...@jmicrovision.com> wrote:
>
>> Thanks to take into account this bug (https://issues.apache.org/jira/browse/FELIX-4425) in the next release. A fix is proposed in JIRA.


Re: Gogo shell doesn't work with Java 8

Posted by Derek Baum <de...@baums.org.uk>.
no problem.

I applied the fix locally last weekend, but the gogo tests were failing for some reason I have not yet investigated:

org/apache/felix/gogo/command/Inspect.java:280: error: incompatible types
[ERROR] BundleWiring wiring = b.adapt(BundleWiring.class);


—
Derek

On 25 Mar 2014, at 18:13, Nicolas Roduit <Ni...@jmicrovision.com> wrote:

> Thanks to take into account this bug (https://issues.apache.org/jira/browse/FELIX-4425) in the next release. A fix is proposed in JIRA.