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

BREAKPTS name following #endif is non ANSI C standard, compiler gives warning

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.2beta3
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      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:

         a. Modified because #ENDIF comment was not within comment delimeters:
              src/share/java/include/breakpoints.h
              src/share/java/runtime/breakpoints.c


      diff -r digital_src/src/share/java/include/breakpoints.h javasoft_src/src/share/java/include/breakpoints.h
      1d0
      < /* Modifications Copyright 1997 Digital Equipment Corporation */
      67c66
      < #endif /*** HDS BREAKPTS ***/
      ---
      > #endif BREAKPTS
      79c78
      < #endif /*** HDS BREAKPTS ***/
      ---
      > #endif BREAKPTS
      81c80
      < #endif /*** HDS _BREAKPOINTS_H_ ***/
      ---
      > #endif _BREAKPOINTS_H_


      diff -r digital_src/src/share/java/runtime/breakpoints.c javasoft_src/src/share/java/runtime/breakpoints.c
      1d0
      < /* Modifications Copyright 1997 Digital Equipment Corporation */
      294c293
      < #endif /*** HDS BREAKPTS ***/
      ---
      > #endif BREAKPTS

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: