Thanks for the update, JB! Personally, I'm happy to wait a few days extra
to get the Felix framework upgrade into 4.2.10 as well. Thanks for all your
work and help!

- Eric L

On Thu, Aug 13, 2020 at 6:55 PM Jean-Baptiste Onofre <[email protected]>
wrote:

> Hi Eric,
>
> Happy it fixed your issue.
>
> About Felix Framework, I’m working on it, not sure I will have time to cut
> Felix release for Karaf 4.2.10 but I’m trying ;)
> On the other hand, I also have some change to do in order to support JDK
> 14.
>
> Regards
> JB
>
> > Le 13 août 2020 à 18:51, Eric Lilja <[email protected]> a écrit :
> >
> > Thanks for the quick replies, Robert and JB!
> >
> > I ended up adding these three VM options and the problem disappeared:
> >
> > new
> >
> VMOption("--add-exports=java.base/org.apache.karaf.specs.locator=java.xml,ALL-UNNAMED"),
> > new VMOption("--patch-module"),
> > new VMOption("java.base=lib/endorsed/org.apache.karaf.specs.locator-" +
> > System.getProperty("karaf.version") + ".jar")
> >
> > I also added this Surefire configuration to make a karaf.version system
> > property available
> > <configuration>
> >    <systemPropertyVariables>
> >        <karaf.version>${karaf.version}</karaf.version>
> >    </systemPropertyVariables>
> > </configuration>
> >
> > JB: Have any idea what are the odds for a Felix framework release on the
> > 5.6.x fixing the reflective access warning?
> >
> > - Eric L
> >
> > On Thu, Aug 13, 2020 at 6:24 PM Jean-Baptiste Onofre <[email protected]>
> > wrote:
> >
> >> Hi Eric,
> >>
> >> As it’s seem you don’t extend KarafTestSupport (you should ;)), you have
> >> to provide the locator patch module:
> >>
> >>
> >>
> https://github.com/apache/karaf/blob/master/itests/common/src/main/java/org/apache/karaf/itests/KarafTestSupport.java#L217
> >> <
> >>
> https://github.com/apache/karaf/blob/master/itests/common/src/main/java/org/apache/karaf/itests/KarafTestSupport.java#L217
> >>>
> >>
> >> Regards
> >> JB
> >>
> >>> Le 13 août 2020 à 17:59, Eric Lilja <[email protected]> a écrit :
> >>>
> >>> https://github.com/elilja/java-11-runtime-issue <
> >> https://github.com/elilja/java-11-runtime-issue>
> >>
>
>

Reply via email to