XStream
  1. XStream
  2. XSTR-311

Add support for enhanced mode with JRockit 1.4.2 and 5.0

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2
    • Component/s: None
    • Labels:
      None

      Description

      The attached patches to JVM.java and Sun14ReflectionProvider.java enables support for enhanced mode with all recent JRockit versions, while maintaining compatibility with other JVMs. Tested on Windows XP x86 with:

      Non-JRokit:
      Sun 1.4.2
      Sun 1.5.0_06
      Sun 1.6.0-b81
      IBM J9 5.0

      Legacy JRockit:
      JRockit 1.4.2_08 (and earlier) - does not work with Enhanced Mode and will fall back on the pure Java mode
      JRockit 5.0 R25.0.0 - does not work with Enhanced Mode and will fall back on the pure Java mode
      JRockit 5.0 R25.1.0 and JRockit 5.0 25.2.0

      Recent JRockit versions:
      JRockit 1.4.2 R26.0.0 and later
      JRckit 5.0 R26.0.0 and later

      (contributed by hstahl at bea dot com)

      1. JVM.java
        5 kB
        Henrik Sthl
      2. Sun14ReflectionProvider.java
        6 kB
        Henrik Sthl

        Issue Links

          Activity

          Hide
          Jrg Schaible added a comment -

          This is great news, Henrik! We were asked a lot of enhanced mode support for JRockit in the last time. I'll apply it ASAP.

          Show
          Jrg Schaible added a comment - This is great news, Henrik! We were asked a lot of enhanced mode support for JRockit in the last time. I'll apply it ASAP.
          Hide
          Jrg Schaible added a comment -

          Thanks for providing. Integrated changes into head revision and adjusted some code, because of minor differences to other VMs. Works great now!.

          Show
          Jrg Schaible added a comment - Thanks for providing. Integrated changes into head revision and adjusted some code, because of minor differences to other VMs. Works great now!.

            People

            • Assignee:
              Unassigned
              Reporter:
              Henrik Sthl
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: