-
Enhancement
-
Resolution: Fixed
-
P3
-
1.0
-
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/>), 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.
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/>), 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.