Re: Karaf 4.4.4 and OpenJdk 21

2023-11-28 Thread Bengt Rodehav
va:155)
> > ~[?:?]
> > at
> >
> org.apache.aries.proxy.impl.interfaces.InterfaceProxyGenerator.getProxyInstance(InterfaceProxyGenerator.java:97)
> > ~[?:?]
> > at
> >
> org.apache.aries.proxy.impl.AsmProxyManager.createNewProxy(AsmProxyManager.java:80)
> > ~[?:?]
> > at
> >
> org.apache.aries.proxy.impl.AbstractProxyManager.createDelegatingInterceptingProxy(AbstractProxyManager.java:77)
> > ~[?:?]
> > at
> >
> org.apache.aries.proxy.impl.AbstractProxyManager.createDelegatingProxy(AbstractProxyManager.java:42)
> > ~[?:?]
> > at
> >
> org.apache.aries.blueprint.container.AbstractServiceReferenceRecipe.createProxy(AbstractServiceReferenceRecipe.java:332)
> > ~[?:?]
> > at
> >
> org.apache.aries.blueprint.container.ReferenceRecipe.internalCreate(ReferenceRecipe.java:125)
> > ~[?:?]
> > ... 27 more
> >
> > But when I run on OpenJDK 17 it works fine. Is this due to the problem
> you
> > mentioned regarding Aries Blueprint/Proxy? It looks like ASM is being
> used.
> > However Karaf 4.4.4 uses ASM 9.5 which should support OpenJDK 21.
> >
> > I thought that generally a new Java version is backwards compatible.
> > Meaning that a specific java runtime would handle classes compiled for an
> > older java version. In this case, if I compile for java 17 I should be
> able
> > to run in on a java runtime >= 17. But this does not seem to be the
> case...
> >
> > /Bengt
> >
> > Den mån 27 nov. 2023 kl 17:31 skrev Bengt Rodehav :
> >
> > > Thanks for the quick reply,
> > >
> > > /Bengt
> > >
> > > Den mån 27 nov. 2023 kl 15:16 skrev Jean-Baptiste Onofré <
> j...@nanthrax.net
> > > >:
> > >
> > >> Hi
> > >>
> > >> Karaf almost but not third parties (Aries Blueprint/Proxy, etc).
> > >>
> > >> I'm starting Karaf 4.5.x with full JDK21 support.
> > >>
> > >> Thanks !
> > >> Regards
> > >> JB
> > >>
> > >> On Mon, Nov 27, 2023 at 1:50 PM Bengt Rodehav 
> wrote:
> > >> >
> > >> > Does Karaf 4.4.4 work with OpenJdk 21?
> > >> >
> > >> > /Bengt
> > >>
> > >
>


Re: Karaf 4.4.4 and OpenJdk 21

2023-11-28 Thread Jean-Baptiste Onofré
> ~[?:?]
> ... 27 more
>
> But when I run on OpenJDK 17 it works fine. Is this due to the problem you
> mentioned regarding Aries Blueprint/Proxy? It looks like ASM is being used.
> However Karaf 4.4.4 uses ASM 9.5 which should support OpenJDK 21.
>
> I thought that generally a new Java version is backwards compatible.
> Meaning that a specific java runtime would handle classes compiled for an
> older java version. In this case, if I compile for java 17 I should be able
> to run in on a java runtime >= 17. But this does not seem to be the case...
>
> /Bengt
>
> Den mån 27 nov. 2023 kl 17:31 skrev Bengt Rodehav :
>
> > Thanks for the quick reply,
> >
> > /Bengt
> >
> > Den mån 27 nov. 2023 kl 15:16 skrev Jean-Baptiste Onofré  > >:
> >
> >> Hi
> >>
> >> Karaf almost but not third parties (Aries Blueprint/Proxy, etc).
> >>
> >> I'm starting Karaf 4.5.x with full JDK21 support.
> >>
> >> Thanks !
> >> Regards
> >> JB
> >>
> >> On Mon, Nov 27, 2023 at 1:50 PM Bengt Rodehav  wrote:
> >> >
> >> > Does Karaf 4.4.4 work with OpenJdk 21?
> >> >
> >> > /Bengt
> >>
> >


Re: Karaf 4.4.4 and OpenJdk 21

2023-11-28 Thread Bengt Rodehav
ting Karaf 4.5.x with full JDK21 support.
>>
>> Thanks !
>> Regards
>> JB
>>
>> On Mon, Nov 27, 2023 at 1:50 PM Bengt Rodehav  wrote:
>> >
>> > Does Karaf 4.4.4 work with OpenJdk 21?
>> >
>> > /Bengt
>>
>


Re: Karaf 4.4.4 and OpenJdk 21

2023-11-27 Thread Bengt Rodehav
Thanks for the quick reply,

/Bengt

Den mån 27 nov. 2023 kl 15:16 skrev Jean-Baptiste Onofré :

> Hi
>
> Karaf almost but not third parties (Aries Blueprint/Proxy, etc).
>
> I'm starting Karaf 4.5.x with full JDK21 support.
>
> Thanks !
> Regards
> JB
>
> On Mon, Nov 27, 2023 at 1:50 PM Bengt Rodehav  wrote:
> >
> > Does Karaf 4.4.4 work with OpenJdk 21?
> >
> > /Bengt
>


Re: Karaf 4.4.4 and OpenJdk 21

2023-11-27 Thread Jean-Baptiste Onofré
Hi

Karaf almost but not third parties (Aries Blueprint/Proxy, etc).

I'm starting Karaf 4.5.x with full JDK21 support.

Thanks !
Regards
JB

On Mon, Nov 27, 2023 at 1:50 PM Bengt Rodehav  wrote:
>
> Does Karaf 4.4.4 work with OpenJdk 21?
>
> /Bengt


Karaf 4.4.4 and OpenJdk 21

2023-11-27 Thread Bengt Rodehav
Does Karaf 4.4.4 work with OpenJdk 21?

/Bengt