6939022: Source code adjustments for parfait compilation
authorohair
Tue, 22 Jun 2010 17:07:17 -0700
changeset 5966 4cc8b71dfb19
parent 5963 1543637640fc
child 5967 26b773bf22ea
6939022: Source code adjustments for parfait compilation Reviewed-by: jjg
jdk/src/solaris/demo/jni/Poller/Poller.c
--- a/jdk/src/solaris/demo/jni/Poller/Poller.c	Tue Jun 22 14:22:14 2010 -0400
+++ b/jdk/src/solaris/demo/jni/Poller/Poller.c	Tue Jun 22 17:07:17 2010 -0700
@@ -160,10 +160,10 @@
   return -1;
 }
 
-#define MEMORY_EXCEPTION(str) throwOutOfMemoryError(env, "Poller:" ## str)
-#define STATE_EXCEPTION(str)  throwIllegalStateException(env, "Poller:" ## str)
+#define MEMORY_EXCEPTION(str) throwOutOfMemoryError(env, "Poller:" str)
+#define STATE_EXCEPTION(str)  throwIllegalStateException(env, "Poller:" str)
 #define INTERRUPT_EXCEPTION(str) throwInterruptedIOException(env, \
-                                                             "Poller:" ## str)
+                                                             "Poller:" str)
 jint addfd(JNIEnv *, ioevent_t *, jint, jshort);
 jint removefd(JNIEnv *, ioevent_t *, jint);