You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Laszlo Kishalmi <la...@gmail.com> on 2023/07/11 06:33:01 UTC

Do we need JUnit 5 support for Java 11 based modules

Dear all,


I was just trying some Java 11 stuff on the HCL support. The majority of 
the test are fine, but a few fails wit NoClassDefFound exception. AFAIK, 
that could be related to a JUnit 4 and Java 9+ issue.

I must confess, that my JUnit-Fu is very limited especially beyond JUnit 4.

So the question is: what can/shall I do now?


--

   Laszlo Kishalmi


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Do we need JUnit 5 support for Java 11 based modules

Posted by Michael Bien <mb...@gmail.com>.
tests are green :)

-mbien

On 11.07.23 16:29, László Kishalmi wrote:
> Here is the bad boy:
> https://github.com/apache/netbeans/pull/6178
>
> On Tue, Jul 11, 2023 at 4:47 AM Michael Bien <mb...@gmail.com> wrote:
>
>     Hi Laszlo,
>
>
>     On 11.07.23 08:33, Laszlo Kishalmi wrote:
>     > Dear all,
>     >
>     >
>     > I was just trying some Java 11 stuff on the HCL support. The
>     majority
>     > of the test are fine, but a few fails wit NoClassDefFound
>     exception.
>     > AFAIK, that could be related to a JUnit 4 and Java 9+ issue.
>
>     I am not sure if this is a junit 4 issue - might be something else.
>
>     What test is it? I could take a look.
>
>     we have many tests which do already run on JDK 11 in CI which
>     makes me
>     think that the junit version is probably not the root cause for this.
>
>     -mbien
>
>     >
>     > I must confess, that my JUnit-Fu is very limited especially beyond
>     > JUnit 4.
>     >
>     > So the question is: what can/shall I do now?
>     >
>     >
>     > --
>     >
>     >   Laszlo Kishalmi
>     >
>     >
>     >
>     ---------------------------------------------------------------------
>     > To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
>     > For additional commands, e-mail: dev-help@netbeans.apache.org
>     >
>     > For further information about the NetBeans mailing lists, visit:
>     > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>     >
>     >
>     >
>

Re: Do we need JUnit 5 support for Java 11 based modules

Posted by László Kishalmi <la...@gmail.com>.
Here is the bad boy:
https://github.com/apache/netbeans/pull/6178

On Tue, Jul 11, 2023 at 4:47 AM Michael Bien <mb...@gmail.com> wrote:

> Hi Laszlo,
>
>
> On 11.07.23 08:33, Laszlo Kishalmi wrote:
> > Dear all,
> >
> >
> > I was just trying some Java 11 stuff on the HCL support. The majority
> > of the test are fine, but a few fails wit NoClassDefFound exception.
> > AFAIK, that could be related to a JUnit 4 and Java 9+ issue.
>
> I am not sure if this is a junit 4 issue - might be something else.
>
> What test is it? I could take a look.
>
> we have many tests which do already run on JDK 11 in CI which makes me
> think that the junit version is probably not the root cause for this.
>
> -mbien
>
> >
> > I must confess, that my JUnit-Fu is very limited especially beyond
> > JUnit 4.
> >
> > So the question is: what can/shall I do now?
> >
> >
> > --
> >
> >   Laszlo Kishalmi
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> > For additional commands, e-mail: dev-help@netbeans.apache.org
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
> >
> >
>
>

Re: Do we need JUnit 5 support for Java 11 based modules

Posted by Michael Bien <mb...@gmail.com>.
Hi Laszlo,


On 11.07.23 08:33, Laszlo Kishalmi wrote:
> Dear all,
>
>
> I was just trying some Java 11 stuff on the HCL support. The majority 
> of the test are fine, but a few fails wit NoClassDefFound exception. 
> AFAIK, that could be related to a JUnit 4 and Java 9+ issue.

I am not sure if this is a junit 4 issue - might be something else.

What test is it? I could take a look.

we have many tests which do already run on JDK 11 in CI which makes me 
think that the junit version is probably not the root cause for this.

-mbien

>
> I must confess, that my JUnit-Fu is very limited especially beyond 
> JUnit 4.
>
> So the question is: what can/shall I do now?
>
>
> -- 
>
>   Laszlo Kishalmi
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists