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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 1.1
    • Affects Version/s: 1.0
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: