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

fp.bugs 3448 src/solaris/java/javai/javai.c, there is an #else w/ trailing sym

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.1
    • 1.0
    • client-libs
    • 1.1
    • sparc
    • solaris_2.5
    • Not verified

       From: Simon Leinen <###@###.###>
      To: java@java
      Subject: JDK 1.0 source: ANSI C patch for java/javai/javai.c

      Dear Java maintainers,

        in this and the next couple of messages, I am sending reports about
      small problems with the JDK 1.0 FCS source distribution. I noticed
      these when porting the JDK to Silicon Graphics' IRIX system (see
      <URL:http://liawww.epfl.ch/~simon/java/irix-jdk/&gt;), but they are not
      specific to IRIX.

      In src/solaris/java/javai/javai.c, there is an #else statement with a
      trailing symbol. This is forbidden by the ANSI standard, so the
      symbol should be surrounded by comment brackets as follows:

      --- src/solaris/java/javai/javai.c Tue Jan 23 02:48:25 1996
      +++ src/solaris/java/javai/javai.c Sun Feb 4 12:50:55 1996
      @@ -48,7 +48,7 @@
       #include <signal.h>
       #include <sys/signal.h>
       #include <exceptions.h>
      -#else NATIVE
      +#else /* NATIVE */
       #include <monitor.h>
       #endif /* NATIVE */
       
      --
      Simon.

            fyellinsunw Frank Yellin (Inactive)
            bhagen Benjamin Hagen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: