gcc/libjava
Mike Frysinger 96f3dd0a66 libjava: fix locale handling when sorting JNI methods
When building under LANG=cs_CZ.UTF-8, the JNI method check fails:

/bin/bash ../../scripts/check_jni_methods.sh
Found a problem with the JNI methods declared and implemented.
(<) missing in implementation, (>) missing in header files
> Java_gnu_java_awt_peer_gtk_GtkClipboard_advertiseContent
> Java_gnu_java_awt_peer_gtk_GtkClipboard_initNativeState
... lots more ...

While the sed commands are run under LC_ALL=C, the two sort commands are
not, and they end up producing unexpected output (for the test).  Once we
run both under LC_ALL=C, the check passes.  While we're here, we can also
combine latter the `sort|uniq` into `sort -u` to match the earlier code.

URL: https://bugs.gentoo.org/563710
Reported-by: Miroslav Šulc <fordfrog@gentoo.org>

From-SVN: r229388
2015-10-26 18:32:41 +00:00
..
classpath
contrib
gcj
gnu
include
java
javax
libltdl
org
scripts
sun
sysdep
testsuite
aclocal.m4
boehm.cc
ChangeLog
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
configure
configure.ac
configure.host
COPYING
darwin.cc
defineclass.cc
ecjx.cc
exception.cc
gij.cc
HACKING
headers.txt
interpret-run.cc
interpret.cc
jni-libjvm.cc
jni.cc
jvmti.cc
libgcj_bc.c
LIBGCJ_LICENSE
libgcj-noncore-dummy.def
libgcj-test.spec.in
libgcj.pc.in
libgcj.spec.in
libgcj.ver
libtool-version
link.cc
Makefile.am
Makefile.in
mauve-libgcj
mingwld.m4
NEWS
no-threads.cc
nogc.cc
pkg.m4
posix-threads.cc
posix.cc
prims.cc
README
shlibpath.m4
sources.am
stacktrace.cc
standard.omit.in
THANKS
verify.cc
win32-threads.cc
win32.cc

This is libgcj: the runtime library for gcj, the GNU Compiler for Java. 
libgcj provides a partial implementation of the Java Class Libraries.

libgcj is free software.  See the file LIBGCJ_LICENSE for copying permission.


DOCUMENTATION
=============

All documentation, including detailed installation and usage instructions,
can be found on the gcj web pages at this URL:

		http://gcc.gnu.org/java/

BUGS
====

Please refer to

		http://gcc.gnu.org/bugs/

on when and how to submit a bug report.