Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4144954

Modifications needed in plumbNum.c for Alpha Just In Time compiler

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      For the JDK 116 release on the DIGITAL UNIX platform running on DIGITAL's
      Alpha hardware, DIGITAL has changed, for the reasons listed below, the
      following JDK 116 source files in the shared part of the JDK.

      Compatibility of the changes with Sun's JDK was assured by visual inspection of
      the changes and by running the appropriate JCK test suites. No changes were
      made to modify any APIs nor to modify the virtual machine instruction set.

      The following files were modified because of mods needed for DEC's Just In Time compiler:
              src/share/java/math/plumbNum.c

      Diffs:
      ======
      diff -r digital_src/src/share/java/math/plumbNum.c javasoft_src/src/share/java/math/plumbNum.c
      1d0
      < /* Modifications Copyright 1998 Digital Equipment Corporation */
      158,161c157
      < resultH = (digitalJIT) /*** KAK/MAT - added for digitalJIT ***/
      < ? (HArrayOfArray *)ClassArrayAlloc(FindClass(EE(), "[[B", TRUE), 2)
      < : (HArrayOfArray *) ArrayAlloc(T_CLASS, 2);
      < if (resultH == NULL) {
      ---
      > if ((resultH = (HArrayOfArray *) ArrayAlloc(T_CLASS, 2)) == NULL) {
      166,167c162
      < if (!digitalJIT) /*** KAK/MAT - added for digitalJIT ***/
      < unhand(resultH)->body[2] = (HObject *) FindClass(EE(), "[B", TRUE);
      ---
      > unhand(resultH)->body[2] = (HObject *) FindClass(EE(), "[B", TRUE);

        Attachments

          Activity

            People

            • Assignee:
              wmaddoxsunw William Maddox (Inactive)
              Reporter:
              jbenoit Jonathan Benoit (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: