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

Shared code mods to add "void" to function prototypes with empty argument list

    XMLWordPrintable

    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.

      1. The following files were modified in order to get them to compile on
      DIGITAL UNIX:
        - Modified to add "void" to function prototypes with empty argument lists:
              src/share/java/lang/string.c
              src/share/java/lang/wrap.c

      Diffs:
      ======
      diff -r digital_src/src/share/java/lang/string.c javasoft_src/src/share/java/lang/string.c
      1d0
      < /* Modifications Copyright 1997 Digital Equipment Corporation */
      132c131
      < static void check_encoding(void) { /*** HDS added void ***/
      ---
      > static void check_encoding() {


      diff -r digital_src/src/share/java/lang/wrap.c javasoft_src/src/share/java/lang/wrap.c
      1d0
      < /* Modifications Copyright 1997 Digital Equipment Corporation */
      53,54d51
      < /*** cds - added void ***/
      < extern void OutOfMemoryError(void); /* runtime/common_exceptions.c */
      55a53,54
      > extern void OutOfMemoryError(); /* runtime/common_exceptions.c */
      >
      62c61
      < classJavaLangVoid(void) /*** cds - added void ***/
      ---
      > classJavaLangVoid()
      70c69
      < classJavaLangBoolean(void) /*** cds - added void ***/
      ---
      > classJavaLangBoolean()
      78c77
      < classJavaLangCharacter(void) /*** cds - added void ***/
      ---
      > classJavaLangCharacter()
      86c85
      < classJavaLangByte(void) /*** cds - added void ***/
      ---
      > classJavaLangByte()
      94c93
      < classJavaLangShort(void) /*** cds - added void ***/
      ---
      > classJavaLangShort()
      102c101
      < classJavaLangInteger(void) /*** cds - added void ***/
      ---
      > classJavaLangInteger()
      110c109
      < classJavaLangLong(void) /*** cds - added void ***/
      ---
      > classJavaLangLong()
      118c117
      < classJavaLangFloat(void) /*** cds - added void ***/
      ---
      > classJavaLangFloat()
      126c125
      < classJavaLangDouble(void) /*** cds - added void ***/
      ---
      > classJavaLangDouble()
      150c149
      < init_wrappers(void) /*** cds - added void ***/
      ---
      > init_wrappers()

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: