jdk/src/solaris/native/sun/awt/awt_InputMethod.c
changeset 17923 8e6963470d40
parent 16734 da1901d79073
child 18135 d9be76f1a19c
--- a/jdk/src/solaris/native/sun/awt/awt_InputMethod.c	Fri May 31 12:17:30 2013 +0100
+++ b/jdk/src/solaris/native/sun/awt/awt_InputMethod.c	Fri May 31 11:20:51 2013 -0700
@@ -185,7 +185,6 @@
 );
 #endif
 
-#ifdef XAWT_HACK
 /*
  * This function is stolen from /src/solaris/hpi/src/system_md.c
  * It is used in setting the time in Java-level InputEvents
@@ -197,7 +196,6 @@
     gettimeofday(&t, NULL);
     return ((jlong)t.tv_sec) * 1000 + (jlong)(t.tv_usec/1000);
 }
-#endif /* XAWT_HACK */
 
 /*
  * Converts the wchar_t string to a multi-byte string calling wcstombs(). A
@@ -546,11 +544,7 @@
                                  "dispatchCommittedText",
                                  "(Ljava/lang/String;J)V",
                                  javastr,
-#ifndef XAWT_HACK
-                                 awt_util_nowMillisUTC_offset(event->time));
-#else
                                  event->time);
-#endif
         }
         break;