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

(porting) executeJava.c shared code mods for Digital Alpha Window NT platform

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      For the JDK 116 release on the Digital Alpha Window NT 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 differences in the Alpha
      hardware on which Alpha WNT runs:

      diff -r digital_src\src\share\java\runtime\executeJava.c
      javasoft_src\src\share\java\runtime\executeJava.c
      1d0
      < /* Modifications Copyright 1997 Digital Equipment Corporation */
      31,34c30
      < #include <windef.h> /*** HDS needed for alphaops.h ***/
      < #include <wtypes.h> /*** HDS needed for ULONGLONG ***/
      < #include <alphaops.h> /*** HDS need for DOUBLE_QUIET_NAN_VALUE ***/
      < #include <limits.h> /*** HDS for INT_MIN, and others ***/
      ---
      >


      < /* make sure the sign is correct for a 0.0 result */
      < if ((d1 < 0.0) || IS_NEG0(d1)) {
      < ret = 0.0;
      < ret = -ret; /*** HDS - Fool
      the compiler into returning -0.0 ***/
      < }
      < }

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jbenoit Jonathan Benoit (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: