johnzon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Websocket module tests fails on Java 6
Date Mon, 06 Apr 2015 19:59:29 GMT
do you take the action or do you want I do?


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com>

2015-04-06 21:56 GMT+02:00 Hendrik Dev <hendrikdev22@gmail.com>:

> i agree, even if it makes ci builds harder (but could be done via
> maven profile). Java 6 is a relict.
>
> On Mon, Apr 6, 2015 at 8:37 PM, Romain Manni-Bucau
> <rmannibucau@gmail.com> wrote:
> > we can set this module to java 7 and keep others to java 6.
> >
> > wdyt?
> >
> > that's what we do in commons-jcs for jcache
> >
> >
> > Romain Manni-Bucau
> > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > <http://rmannibucau.wordpress.com> | Github <
> https://github.com/rmannibucau> |
> > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> > <http://www.tomitribe.com>
> >
> > 2015-04-06 18:40 GMT+02:00 Hendrik Dev <hendrikdev22@gmail.com>:
> >
> >> For JSR 353 compliance we have to support Java 6  (at least for the
> >> core package) :-(
> >>
> >> java.lang.NoClassDefFoundError: java/nio/charset/StandardCharsets
> >> at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> >> at java.security.AccessController.doPrivileged(Native Method)
> >> at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> >> at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
> >> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
> >> at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
> >> at
> >>
> org.apache.tomcat.websocket.WsWebSocketContainer.createRequest(WsWebSocketContainer.java:523)
> >> at
> >>
> org.apache.tomcat.websocket.WsWebSocketContainer.connectToServer(WsWebSocketContainer.java:264)
> >> at
> >>
> org.apache.tomcat.websocket.WsWebSocketContainer.connectToServer(WsWebSocketContainer.java:166)
> >> at
> >>
> org.apache.tomcat.websocket.WsWebSocketContainer.connectToServer(WsWebSocketContainer.java:187)
> >> at
> >>
> org.apache.johnzon.websocket.MapperCodecTest.codec(MapperCodecTest.java:76)
> >>
> >>
> >>
> >> and
> >>
> >>
> >> java.lang.NoClassDefFoundError: java/nio/charset/StandardCharsets
> >> at
> >>
> org.apache.tomcat.websocket.WsWebSocketContainer.createRequest(WsWebSocketContainer.java:523)
> >> at
> >>
> org.apache.tomcat.websocket.WsWebSocketContainer.connectToServer(WsWebSocketContainer.java:264)
> >> at
> >>
> org.apache.tomcat.websocket.WsWebSocketContainer.connectToServer(WsWebSocketContainer.java:166)
> >> at
> >>
> org.apache.tomcat.websocket.WsWebSocketContainer.connectToServer(WsWebSocketContainer.java:187)
> >> at org.apache.johnzon.websocket.JsrCodecTest.codec(JsrCodecTest.java:74)
> >>
> >>
> >> --
> >> Hendrik Saly (salyh, hendrikdev22)
> >> @hendrikdev22
> >> PGP: 0x22D7F6EC
> >>
>
>
>
> --
> Hendrik Saly (salyh, hendrikdev22)
> @hendrikdev22
> PGP: 0x22D7F6EC
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message