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

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

XMLWordPrintable

    • 1.2beta3
    • generic
    • generic
    • Not verified

      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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: