Mercurial > hg > shenandoah-preopenjdk-archive > openjdk8 > jdk
changeset 7280:933b1338b99c
7006052: awt_InputMethod.c cleanup is needed
Reviewed-by: anthony
author | naoto |
---|---|
date | Fri, 31 May 2013 11:20:51 -0700 |
parents | 243cd682c47b |
children | f522bbdf2859 |
files | src/solaris/native/sun/awt/awt_InputMethod.c |
diffstat | 1 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/solaris/native/sun/awt/awt_InputMethod.c Fri May 31 12:17:30 2013 +0100 +++ b/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;