Optimize emptySet/Map/List() in Collections class

2012-10-16  Ivan Maidanski  <ivmai@mail.ru>

	* java/util/Collections.java:
	(emptySet(), EmptySet.iterator(), emptyList(), emptyMap(),
	EmptyMap.entrySet(), EmptyMap.keySet(), EmptyMap.values()): Suppress
	"unchecked" warnings.
	(emptySet(), emptyList(), emptyMap()): Don't create new instance (use
	the corresponding immutable container instance); remove FIXME.
	(EmptySet.equals(Object), EmptyList.equals(Object),
	EmptyMap.entrySet(), EmptyMap.equals(Object), EmptyMap.keySet(),
	EmptyMap.values()): Add generic typing.
	(SingletonList.subList(int, int)): Use emptyList() instead of
	EMPTY_LIST (to eliminate "unchecked" warning).
	(SynchronizedCollection.toArray(T[])): Rename T type to E (to
	suppress compiler warning about type hiding).
Use jack_client_open rather than deprecated jack_client_new.

2012-10-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>

	* native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c:
	(Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_open_1(JNIEnv*,
	jclass, jlong)): Use jack_client_open instead of
	deprecated jack_client_new.

Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
PR54960: Avoid NullPointerException in SAXSerializer.

2012-10-17  Jeremy Singer  <Jeremy.Singer@glasgow.ac.uk>

	PR classpath/54960
	* gnu/xml/transform/SAXSerializer.java:
	(getValue(String)): Avoid NullPointerException.

Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
PR42551: Avoid overwriting length of message when computing length representation.

2009-12-30  Paul Fernhout  <pdfernhout@kurtz-fernhout.com>

	PR classpath/42551
	* javax/sound/midi/MetaMessage.java:
	(setMessage(int,byte[],int)): Don't overwrite
	length variable when computing the length representation.

Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
PR44208: Ensure a handle for the enum is registered before its constant.

2010-05-20  Paul Viney  <paul@diasoft.nl>

	PR classpath/44208
	* java/io/ObjectInputStream.java,
	(parseContent(byte,boolean)): Ensure a handle
	for the enum is registered before one for its
	String constant.

Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
Update NEWS and THANKYOU.

2012-10-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>

	* NEWS: Updated with latest bug fixes.
	* THANKYOU: Add bug authors.

Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
PR41689: Add missing field javax.security.sasl.Sasl.CREDENTIALS.

2012-10-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>

	PR classpath/41689
	* javax/security/sasl/Sasl.java:
	(CREDENTIALS): Add missing field.
	* NEWS: Updated.

Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
Merge remote-tracking branch 'ivan/ivmai4review-v3'

Conflicts:
	ChangeLog

Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
Cleanup ChangeLog entry from previous merge.
PR55140: Addition of exception to codePointBefore breaks OpenJDK GenerateBreakIteratorData tool

2012-10-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>

	PR classpath/55140
	* NEWS: List fix.
	* java/lang/String.java:
	(codePointBefore(int)): Fix index check to match spec.

Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
PR55182: Fix build on RHEL6

2012-11-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>

	PR classpath/55182
	* configure.ac:
	Lower required version to support autoconf
	on RHEL6.  Make disabling Werror the default.
	If a Qt4-specific moc is detected, use it
	rather than the default.
	* doc/Makefile.am:
	Generate texi2dvi output in the build directory
	and explicitly specify POSIX locale to work around
	Debian bug 586134.
	(clean-local): Remove output from texi2dvi.

Signed-off-by: Andrew Hughes <gnu_andrew@member.fsf.org>