Jörg

Oh, you're right, my current J9 JVM version seems older (2008) than yours
(2011) :



j9_2.4_jclFoundation11_ARM_Linux/bin/j9 -version


java version "WECE J2ME Foundation Specification v1.1"

IBM J9 2.4 Linux arm-32  (JIT enabled)

J9VM - *200804*09_018613_lEdFGQ

JIT  - r9.weme62_20071207_2130ifx2

GC   - 20080229_AA

MD  - 20110302_release_1.00_23801

JCL  - 20080409_1632,foun11


Licensed Materials - Property of IBM


J9 - VM for the Java(TM) platform, Version 2.4

(c) Copyright IBM Corp. 1991, 2008  All Rights Reserved

Target: 20080409_018613_lEdFGQ (Linux 2.6.27.62 arm)

IBM is a registered trademark of IBM Corp.

Java and all Java-based marks and logos are trademarks or registered

trademarks of Sun Microsystems, Inc.


JIRA ticket : http://jira.codehaus.org/browse/XSTR-765

thanks
regards
Brice


2014-12-10 23:32 GMT+01:00 Jörg Schaible <joerg.schai...@gmx.de>:

> Hello Brice,
>
> Brice Vandeputte wrote:
> > 2014-12-10 11:27 GMT+01:00 Brice
> >>
> >>
> >> I check "java.util.regex.Pattern" which is available since 1.4...
> >> but this class seems not available on J9 JVM.
>
> My J9 has no problems with it:
>
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 16 seconds
> [INFO] Finished at: Wed Dec 10 23:26:37 CET 2014
> [INFO] Final Memory: 38M/100M
> [INFO]
> ------------------------------------------------------------------------
> : ~/src/Codehaus/xstream-1.4.x/xstream $ java -version
> java version "1.4.2"
> Java(TM) 2 Runtime Environment, Standard Edition (build 2.3)
> IBM J9 VM (build 2.3, J2RE 1.4.2 IBM J9 2.3 Linux amd64-64
> j9vmxa64142ifx-20110312 (JIT enabled)
> J9VM - *201102*02_74499_LHdSMr
> JIT  - 20090210_1447ifx2_r8
> GC   - 200902_24)
>
>
> What kind of edition are you using?
>
>
> >> I will maybe try to test an older version of xstream.
> >
> > Hey,
> >   using xstream 1.4.2 I've no "regex.Pattern" usage in the main XStream
> > classes
> >   (only on some extended converters..)
> >   So this works now !
> >   (My need was only to be able to searialize in JSON a basic PoJo tree).
> >
> >   A little question:
> >       for "embedded users" like me (using J9 JVM); how could we make
> > possible to continue to use the latest xstream version ?
> >            maybe add an xstream improvment to migrate native "regex
> > Pattern" usage to a dedicated dependency like "jakarta-regexp"(available
> > in
> > osgi 1.4) ?  I don't know..
>
> We can load the class dynamically. This happens already e.g. for the types
> in the java.sql.* package that are also not available in some embedded
> envs.
>
> Just open a JIRA issue (you have to create a full user account at
> xircles.codehaus.org first).
>
> Cheers,
> Jörg
>
>
>

Reply via email to