Henrik Stahi from BEA pointed me out this JIRA from XPath:
Which is the same issue we had with BEA.
I guess we will be able to run JBossSerialization with JRockit 1.4 with few changes. Looking at XPath's issue, the only difference is the way I'm acquiring Unsafe field. I will test it right away.
I forgot to mention also they have changed something on JRockit's code for this to work. I haven't tested yet, but we will need a recent JRockit JVM for this to work.
I didn't need to change anything.
JBoss Serialization simply works with the newer JRockit version. What's great!
Thanks to the JRockit team