<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/classpath.git/ChangeLog, branch master</title>
<subtitle>git.savannah.gnu.org: git/classpath.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/classpath.git/'/>
<entry>
<title>Cleanup warnings in java.util.Collections.</title>
<updated>2016-03-18T20:29:35+00:00</updated>
<author>
<name>Andrew John Hughes</name>
<email>gnu_andrew@member.fsf.org</email>
</author>
<published>2016-03-18T20:29:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/classpath.git/commit/?id=5a1dcb13eaa6040be54cf3bc6772470a397b2c79'/>
<id>5a1dcb13eaa6040be54cf3bc6772470a397b2c79</id>
<content type='text'>
2016-03-18  Andrew John Hughes  &lt;gnu_andrew@member.fsf.org&gt;

	Cleanup warnings in java.util.Collections.
	* java/util/Collections.java:
	(EMPTY_SET): Suppress warnings generated by this
	legacy raw type.
	(EMPTY_LIST): Likewise.
	(EMPTY_MAP): Likewise.
	(compare(T, T, Comparator): Suppress warning
	generated by casting to Comparable.
	(binarySearch(List, Comparator)): Remove unneeded
	casts.
	(reverse(List)): Suppress warnings when casting
	to ListIterator&lt;Object&gt;. Cast is necessary as
	lists are modified.
	(reverseOrder(Comparator)): Return reverseOrder()
	rather than rcInstance.
	(reverseOrder()): Create appropriately typed
	ReverseComparator rather than using set instance.
	(rcInstance): Removed.
	(ReverseComparator.compare(T,T)): Suppress warnings
	from casting to Comparable&lt;T&gt;.
	(rotate(List,int)): Suppress warnings when casting
	to List&lt;Object&gt;. Cast is necessary to modify list.
	(shuffle(List,Random)): Likewise.
	(disjoint(Collection,Collection)): Remove unnecessary
	casting.
	(sort(List,Comparator)): Suppress warnings when casting
	the returned array. Arrays of a generic type can not
	be created.
	(swap(List,int,int)): Suppress warnings when casting
	list to List&lt;Object&gt;. This is necessary to use the
	set method.
	(entrySet().SynchronizedMapEntry): Type should not have its
	own type parameters which hide those of the map.
	(entrySet().SynchronizedSet.iterator()): Remove type
	parameters from SynchronizedMapEntry creation.
	(UnmodifiableList.list): Retain input type parameter
	so as to avoid casting.
	(UnmodifiableList.UnmodifiableList): Remove cast.
	(UnmodifiableList.li): Retain input type parameter
	so as to avoid casting.
	(UnmodifiableListIterator(ListIterator)): Likewise.
	(UnmodifiableMap(Map)): Suppress warnings from casting
	down to Map&lt;K,V&gt;.
	(UnmodifiableMap.entrySet()): Remove type parameters
	from UnmodifiableEntrySet creation.
	(UnmodifiableMap.UnmodifiableEntrySet): Remove type
	parameters and make instance-specific so we can
	use the UnmodifiableMap's type parameters.
	(UnmodifiableMap.UnmodifiableEntrySet.UnmodifiableMapEntry):
	Likewise.
	(UnmodifiableMap.UnmodifiableEntrySet.UnmodifiableMapEntry.e):
	Retain input type parameters so as to avoid casting.
	(UnmodifiableMap.UnmodifiableEntrySet.UnmodifiableMapEntry.UnmodifiableMapEntry(Map.Entry)):
	Likewise.
	(UnmodifiableMap.UnmodifiableEntrySet.UnmodifiableEntrySet(Set)):
	Likewise.
	(UnmodifiableMap.UnmodifiableEntrySet.UnmodifiableIterator.next()):
	Remove type parameters from UnmodifiableMapEntry creation.
	(UnmodifiableMap.toArray()): Likewise and improve method
	structure.
	(UnmodifiableMap.toArray(S[])): Remove type parameters from
	UnmodifiableMapEntry and suppress warnings from casting
	array members.
	(UnmodifiableSortedMap.sm): Retain input type parameters
	so as to avoid casting.
	(UnmodifiableSortedMap.UnmodifiableSortedMap(SortedMap)):
	Remove cast.
	(CheckedList.addAll(int,Collection)): Replace iterator with for-each
	loop, removing the need for casting.
	(CheckedMap.entrySet()): Remove type parameters from CheckedEntrySet
	creation and klass argument.
	(CheckedMap.CheckedEntrySet): Don't create additional
	type parameters, use those of the containing map as
	a instance class, not a static class.
	(keyType): Type should be K to match enclosing CheckedMap.
	(valueType): Type should be V to match enclosing CheckedMap.
	(CheckedMap.CheckedEntrySet.CheckedEntrySet(Set,Class,Class)):
	Suppress warnings when casting Map.Entry class.
	(CheckedMap.CheckedEntrySet.iterator()): Make return type
	Map.Entry&lt;K,V&gt; and create corresponding CheckedIterator instance.
	(CheckedMap.CheckedEntrySet.CheckedIterator.next()): Likewise
	with Map.Entry instance.
	(CheckedMap.CheckedEntrySet.CheckedIterator.Map.Entry.getKey()):
	Make return type K.
	(CheckedMap.CheckedEntrySet.CheckedIterator.Map.Entry.getValue()):
	Make return type V.
	(CheckedMap.CheckedEntrySet.CheckedIterator.Map.Entry.setValue(Object)):
	Likewise.
	(CheckedMap.putAll(Map)): Use for-each loop instead of Iterator,
	avoiding casting.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
2016-03-18  Andrew John Hughes  &lt;gnu_andrew@member.fsf.org&gt;

	Cleanup warnings in java.util.Collections.
	* java/util/Collections.java:
	(EMPTY_SET): Suppress warnings generated by this
	legacy raw type.
	(EMPTY_LIST): Likewise.
	(EMPTY_MAP): Likewise.
	(compare(T, T, Comparator): Suppress warning
	generated by casting to Comparable.
	(binarySearch(List, Comparator)): Remove unneeded
	casts.
	(reverse(List)): Suppress warnings when casting
	to ListIterator&lt;Object&gt;. Cast is necessary as
	lists are modified.
	(reverseOrder(Comparator)): Return reverseOrder()
	rather than rcInstance.
	(reverseOrder()): Create appropriately typed
	ReverseComparator rather than using set instance.
	(rcInstance): Removed.
	(ReverseComparator.compare(T,T)): Suppress warnings
	from casting to Comparable&lt;T&gt;.
	(rotate(List,int)): Suppress warnings when casting
	to List&lt;Object&gt;. Cast is necessary to modify list.
	(shuffle(List,Random)): Likewise.
	(disjoint(Collection,Collection)): Remove unnecessary
	casting.
	(sort(List,Comparator)): Suppress warnings when casting
	the returned array. Arrays of a generic type can not
	be created.
	(swap(List,int,int)): Suppress warnings when casting
	list to List&lt;Object&gt;. This is necessary to use the
	set method.
	(entrySet().SynchronizedMapEntry): Type should not have its
	own type parameters which hide those of the map.
	(entrySet().SynchronizedSet.iterator()): Remove type
	parameters from SynchronizedMapEntry creation.
	(UnmodifiableList.list): Retain input type parameter
	so as to avoid casting.
	(UnmodifiableList.UnmodifiableList): Remove cast.
	(UnmodifiableList.li): Retain input type parameter
	so as to avoid casting.
	(UnmodifiableListIterator(ListIterator)): Likewise.
	(UnmodifiableMap(Map)): Suppress warnings from casting
	down to Map&lt;K,V&gt;.
	(UnmodifiableMap.entrySet()): Remove type parameters
	from UnmodifiableEntrySet creation.
	(UnmodifiableMap.UnmodifiableEntrySet): Remove type
	parameters and make instance-specific so we can
	use the UnmodifiableMap's type parameters.
	(UnmodifiableMap.UnmodifiableEntrySet.UnmodifiableMapEntry):
	Likewise.
	(UnmodifiableMap.UnmodifiableEntrySet.UnmodifiableMapEntry.e):
	Retain input type parameters so as to avoid casting.
	(UnmodifiableMap.UnmodifiableEntrySet.UnmodifiableMapEntry.UnmodifiableMapEntry(Map.Entry)):
	Likewise.
	(UnmodifiableMap.UnmodifiableEntrySet.UnmodifiableEntrySet(Set)):
	Likewise.
	(UnmodifiableMap.UnmodifiableEntrySet.UnmodifiableIterator.next()):
	Remove type parameters from UnmodifiableMapEntry creation.
	(UnmodifiableMap.toArray()): Likewise and improve method
	structure.
	(UnmodifiableMap.toArray(S[])): Remove type parameters from
	UnmodifiableMapEntry and suppress warnings from casting
	array members.
	(UnmodifiableSortedMap.sm): Retain input type parameters
	so as to avoid casting.
	(UnmodifiableSortedMap.UnmodifiableSortedMap(SortedMap)):
	Remove cast.
	(CheckedList.addAll(int,Collection)): Replace iterator with for-each
	loop, removing the need for casting.
	(CheckedMap.entrySet()): Remove type parameters from CheckedEntrySet
	creation and klass argument.
	(CheckedMap.CheckedEntrySet): Don't create additional
	type parameters, use those of the containing map as
	a instance class, not a static class.
	(keyType): Type should be K to match enclosing CheckedMap.
	(valueType): Type should be V to match enclosing CheckedMap.
	(CheckedMap.CheckedEntrySet.CheckedEntrySet(Set,Class,Class)):
	Suppress warnings when casting Map.Entry class.
	(CheckedMap.CheckedEntrySet.iterator()): Make return type
	Map.Entry&lt;K,V&gt; and create corresponding CheckedIterator instance.
	(CheckedMap.CheckedEntrySet.CheckedIterator.next()): Likewise
	with Map.Entry instance.
	(CheckedMap.CheckedEntrySet.CheckedIterator.Map.Entry.getKey()):
	Make return type K.
	(CheckedMap.CheckedEntrySet.CheckedIterator.Map.Entry.getValue()):
	Make return type V.
	(CheckedMap.CheckedEntrySet.CheckedIterator.Map.Entry.setValue(Object)):
	Likewise.
	(CheckedMap.putAll(Map)): Use for-each loop instead of Iterator,
	avoiding casting.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make gjdoc depend on CREATE_WRAPPERS and remove unneeded Automake 1.11 dependencies.</title>
<updated>2016-02-16T02:01:07+00:00</updated>
<author>
<name>Andrew John Hughes</name>
<email>gnu_andrew@member.fsf.org</email>
</author>
<published>2015-08-20T02:41:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/classpath.git/commit/?id=358c61c143f7aaf0c56119142555347bef0189c5'/>
<id>358c61c143f7aaf0c56119142555347bef0189c5</id>
<content type='text'>
2015-08-07  Uros Bizjak  &lt;ubizjak@gmail.com&gt;

	* configure.ac:
	(tools/gjdoc): Depend on CREATE_WRAPPERS.
	* tools/Makefile.am: Remove unneeded
	dependencies for Automake 1.11.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
2015-08-07  Uros Bizjak  &lt;ubizjak@gmail.com&gt;

	* configure.ac:
	(tools/gjdoc): Depend on CREATE_WRAPPERS.
	* tools/Makefile.am: Remove unneeded
	dependencies for Automake 1.11.
</pre>
</div>
</content>
</entry>
<entry>
<title>Cleanup warnings in gnu.xml.transform.* and gnu.xml.util.*.</title>
<updated>2016-02-16T01:48:09+00:00</updated>
<author>
<name>Andrew John Hughes</name>
<email>gnu_andrew@member.fsf.org</email>
</author>
<published>2016-02-16T01:45:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/classpath.git/commit/?id=5f98982eadb3c595d86d4af2825902a3ccf8f581'/>
<id>5f98982eadb3c595d86d4af2825902a3ccf8f581</id>
<content type='text'>
2016-01-04  Andrew John Hughes  &lt;gnu_andrew@member.fsf.org&gt;

	Cleanup warnings in gnu.xml.transform.* and
	gnu.xml.util.*.
	* gnu/xml/transform/AbstractNumberNode.java:
	(format(String,int[])): Add type parameters to
	lists and remove unnecessary casts.
	* gnu/xml/transform/ApplyTemplatesNode.java:
	Add type parameters to sortKeys and withParams.
	(ApplyTemplatesNode(Expr,QName,List,List,boolean)):
	Add type parameters to arguments.
	(clone(Stylesheet)): Add type parameters to lists
	and remove unnecessary casts.
	(doApply(Stylesheet,QName,Node,int,int,Node,Node)):
	Use a for-each loop rather than an Iterator. Remove
	unnecessary cast.
	(references(QName)): Likewise.
	* gnu/xml/transform/CallTemplateNode.java:
	Add type parameter to withParams.
	(CallTemplateNote(QName,List)): Add type parameters
	to List argument.
	(clone(Stylesheet)): Add type parameters to lists
	and remove unnecessary casts.
	(doApply(Stylesheet,QName,Node,int,int,Node,Node)):
	Use a for-each loop rather than an Iterator. Remove
	unnecessary cast.
	(references(QName)): Likewise.
	* gnu/xml/transform/CopyNode.java:
	(addAttributeSet(Stylesheet,QName,Node,int,int,
	Node,Node,String)): Replace Iterator usage with
	for-each loop.
	* gnu/xml/transform/CopyOfNode.java:
	(doApply(Stylesheet,QName,Node,int,int,Node,Node)):
	Likewise. Add type parameter to ns.
	* gnu/xml/transform/CurrentFunction.java:
	(evaluate(List)): Suppress warnings from method
	prescribed by javax.xml.xpath.XPathFunction.
	(setArguments(List)): Add type parameter to argument.
	* gnu/xml/transform/DocumentFunction.java:
	Add type parameters to args and values.
	(evaluate(List)): Suppress warnings from method
	prescribed by javax.xml.xpath.XPathFunction.
	(setArguments(List)): Add type parameter to argument.
	(evaluate(Node,int,int)): Add type arguments and
	remove unnecessary casts. Use a for-each loop rather
	than an Iterator.
	(document(String,String)): Add type parameters to
	return type and set creation.
	(clone(Object)): Add type parameter and remove
	unnecessary cast.
	(references(QName)): Likewise.
	* gnu/xml/transform/ElementAvailableFunction.java:
	Add type parameter to args, elements and in static
	initializer.
	(evaluate(List)): Suppress warnings from method
	prescribed by javax.xml.xpath.XPathFunction.
	(setArguments(List)): Add type parameter to argument.
	(evaluate(Node,int,int)): Remove unnecessary cast.
	(clone(Object)): Add type parameter and remove
	unnecessary cast.
	(references(QName)): Likewise.
	* gnu/xml/transform/ElementNode.java:
	Add type parameter to elementExcludeResultPrefixes.
	(EleemntNode(TemplateNode,TemplateNode,String,Node)):
	Add type parameters to collection creation.
	(addAttributeSet(Stylesheet,QName,Node,int,int,
	Node,Node,String)): Use a for-each loop rather than
	an Iterator.
	* gnu/xml/transform/FormatNumberFunction.java:
	Add type parameter to args.
	(evaluate(List)): Suppress warnings from method
	prescribed by javax.xml.xpath.XPathFunction.
	(setArguments(List)): Add type parameter to argument.
	(evaluate(Node,int,int)): Add type arguments and
	remove unnecessary casts. Use a for-each loop rather
	than an Iterator.
	(clone(Object)): Add type parameter and remove
	unnecessary cast.
	(references(QName)): Likewise.
	* gnu/xml/transform/FunctionAvailableFunction.java:
	Add type parameters to xsltFunctions, xpathFunctions
	and args and in static initializer.
	(evaluate(Node,int,int)): Remove unnecessary cast.
	(clone(Object)): Add type parameter and remove
	unnecessary cast.
	(references(QName)): Likewise.
	* gnu/xml/transform/GenerateIdFunction.java:
	Add type parameter to args.
	(evaluate(List)): Suppress warnings from method
	prescribed by javax.xml.xpath.XPathFunction.
	(setArguments(List)): Add type parameter to argument.
	(evaluate(Node,int,int)): Add type arguments and
	remove unnecessary casts.
	(clone(Object)): Add type parameter and remove
	unnecessary cast.
	(references(QName)): Likewise.
	* gnu/xml/transform/KeyFunction.java:
	Add type parameter to args.
	(evaluate(List)): Suppress warnings from method
	(setArguments(List)): Add type parameter to argument.
	(matches(Node)): Add type parameter.
	(evaluate(Node,int,int)): Add type arguments and
	remove unnecessary casts.  Use a for-each loop rather
	than an Iterator.
	(addKeyNodes(Node,Collection,String,Collection)):
	Add type parameters.
	(addKeyNodesIfMatch(Node,Collection,String,Collection)):
	Likewise. Use a for-each loop rather than an Iterator.
	(clone(Object)): Add type parameter and remove
	unnecessary cast.
	(references(QName)): Likewise.
	* gnu/xml/transform/LiteralNode.java:
	Add type parameter to elementExcludeResultPrefixes.
	(LiteralNode(Node)): Add type parameters.
	* gnu/xml/transform/NamespaceProxy.java:
	(getPrefixes(String)): Add type parameter.
	* gnu/xml/transform/NodeNumberNode.java:
	(Stylesheet,Node,int,int): Add type parameters.
	Remove redundant casts.
	* gnu/xml/transform/SAXSerializer.java:
	Add type parameters to namespaces.
	(isDefined(String,String)): Add type parameters.
	Use a for-each loop rather than an Iterator.
	(define(String,String)): Likewise. Remove
	redundant cast.
	(undefine(String,String)): Add type parameters.
	Use a for-each loop rather than an Iterator.
	* gnu/xml/transform/StreamSerializer.java:
	Add type parameters to HTML_BOOLEAN_ATTRIBUTES,
	HTML_URIS, namespaces and cdataSectionElements.
	Use type parameter in the static initialiser.
	(StreamSerializer(int,String,String)): Add
	type parameter.
	(setCdataSectionElements(Collection)): Likewise.
	(isDefined(String,String)): Add type parameters.
	Use a for-each loop rather than an Iterator.
	Remove redundant cast.
	(pushNamespaceContext()): Add type parameters.
	(define(String,String)): Likewise. Remove
	redundant cast.
	(isHTMLBoolean(Attr,String)): Likewise.
	* gnu/xml/transform/SystemPropertyFunction.java:
	Add type parameter to args.
	(evaluate(List)): Suppress warnings from method
	prescribed by javax.xml.xpath.XPathFunction.
	(setArguments(List)): Add type parameter to argument.
	(evaluate(Node,int,int)): Add type parameters and
	remove unnecessary casts.
	(clone(Object)): Likewise.
	(references(QName)): Likewise.
	* gnu/xml/transform/Template.java:
	Implement Comparable&lt;Template&gt;.
	(compareTo(Template)): Update type of argument
	from Object to Template, and remove unnecessary
	check/cast.
	* gnu/xml/transform/TransformerFactoryImpl.java:
	(getAssociatedStylesheet(Source,String,String,String)):
	Add type parameters and remove unnecessary cast.
	Use a for-each loop rather than an Iterator.
	(parseParameters(String)): Add type parameters.
	* gnu/xml/transform/TransformerImpl.java:
	(transform(Source,Result)): Add type parameters.
	(writeStreamResult(Node,StreamResult,int,String)): Likewise.
	(reindent(Document,Node,int)): Likewise and remove
	unnecessary casts.
	(convertCdataSectionElements(Document,Node,List)): Likewise.
	* gnu/xml/transform/TransformerOutputProperties.java:
	(TransformerOutputProperties(Stylesheet)): Add type
	parameters and remove redundant casts.
	(apply()): Add type parameter.
	* gnu/xml/transform/UnparsedEntityUriFunction.java:
	(evaluate(List)): Suppress warnings from method
	prescribed by javax.xml.xpath.XPathFunction.
	* gnu/xml/transform/ValueOfNode.java:
	(doApply(Stylesheet,QNae,Node,int,int,Node,Node)):
	Avoid unchecked cast by retrieving objects and
	then casting them to Node after instanceof test.
	* gnu/xml/transform/XSLComparator.java:
	Remove unneeded Iterator import.
	* gnu/xml/util/DomParser.java:
	(callEnd(Node)): Add type parameter.
	* gnu/xml/util/Resolver.java:
	Replace untyped Dictionary with typed Map.
	(addDirectoryMapping(Map,String,File)): Likewise.
	(Resolver(Map)): Likewise.
	(resolveEntity(String,String)): Remove redundant cast.
	* gnu/xml/util/SAXNullTransformerFactory.java:
	Add type parameters to params.
	* gnu/xml/util/XCat.java:
	(normalizePublicId(boolean,String)): Remove unused
	variable token.
	(Catalog): Add type parameters to publicIds,
	publicDelegations, systemIds,
	systemRewrites, systemDelegations, uris,
	uriRewrites, uriDelegations, doctypes and next.
	(Catalog.mapURI(String,Hashtable,Hashtable,Hashtable)):
	Add type parameters and remove redundant casts.
	(Catalog.getExternalSubset(String)): Remove redundant cast.
	(Catalog.checkDelegations(Hashtable,String,String,String)):
	Add type parameters and remove redundant casts.
	(Loader): Add type parameteres to externals &amp; bases.
	(Loader.absolutize(String)): Remove redundant cast.
	(Loader.startDocument()): Add type parameter.
	(Loader.externalEntityDecl(String,String,String)):
	Likewise.
	(Loader.startEntity(String)): Remove redundant cast.
	(Loader.endEntity(String)): Likewise.
	(Loader.startElement(String,String,String,Attributes)):
	Remove redundant casts and add type parameters.
	* gnu/xml/util/XMLWriter.java:
	Add type parameter to space.
	(startElement(String,String,String,Attributes):
	Remove redundant cast.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
2016-01-04  Andrew John Hughes  &lt;gnu_andrew@member.fsf.org&gt;

	Cleanup warnings in gnu.xml.transform.* and
	gnu.xml.util.*.
	* gnu/xml/transform/AbstractNumberNode.java:
	(format(String,int[])): Add type parameters to
	lists and remove unnecessary casts.
	* gnu/xml/transform/ApplyTemplatesNode.java:
	Add type parameters to sortKeys and withParams.
	(ApplyTemplatesNode(Expr,QName,List,List,boolean)):
	Add type parameters to arguments.
	(clone(Stylesheet)): Add type parameters to lists
	and remove unnecessary casts.
	(doApply(Stylesheet,QName,Node,int,int,Node,Node)):
	Use a for-each loop rather than an Iterator. Remove
	unnecessary cast.
	(references(QName)): Likewise.
	* gnu/xml/transform/CallTemplateNode.java:
	Add type parameter to withParams.
	(CallTemplateNote(QName,List)): Add type parameters
	to List argument.
	(clone(Stylesheet)): Add type parameters to lists
	and remove unnecessary casts.
	(doApply(Stylesheet,QName,Node,int,int,Node,Node)):
	Use a for-each loop rather than an Iterator. Remove
	unnecessary cast.
	(references(QName)): Likewise.
	* gnu/xml/transform/CopyNode.java:
	(addAttributeSet(Stylesheet,QName,Node,int,int,
	Node,Node,String)): Replace Iterator usage with
	for-each loop.
	* gnu/xml/transform/CopyOfNode.java:
	(doApply(Stylesheet,QName,Node,int,int,Node,Node)):
	Likewise. Add type parameter to ns.
	* gnu/xml/transform/CurrentFunction.java:
	(evaluate(List)): Suppress warnings from method
	prescribed by javax.xml.xpath.XPathFunction.
	(setArguments(List)): Add type parameter to argument.
	* gnu/xml/transform/DocumentFunction.java:
	Add type parameters to args and values.
	(evaluate(List)): Suppress warnings from method
	prescribed by javax.xml.xpath.XPathFunction.
	(setArguments(List)): Add type parameter to argument.
	(evaluate(Node,int,int)): Add type arguments and
	remove unnecessary casts. Use a for-each loop rather
	than an Iterator.
	(document(String,String)): Add type parameters to
	return type and set creation.
	(clone(Object)): Add type parameter and remove
	unnecessary cast.
	(references(QName)): Likewise.
	* gnu/xml/transform/ElementAvailableFunction.java:
	Add type parameter to args, elements and in static
	initializer.
	(evaluate(List)): Suppress warnings from method
	prescribed by javax.xml.xpath.XPathFunction.
	(setArguments(List)): Add type parameter to argument.
	(evaluate(Node,int,int)): Remove unnecessary cast.
	(clone(Object)): Add type parameter and remove
	unnecessary cast.
	(references(QName)): Likewise.
	* gnu/xml/transform/ElementNode.java:
	Add type parameter to elementExcludeResultPrefixes.
	(EleemntNode(TemplateNode,TemplateNode,String,Node)):
	Add type parameters to collection creation.
	(addAttributeSet(Stylesheet,QName,Node,int,int,
	Node,Node,String)): Use a for-each loop rather than
	an Iterator.
	* gnu/xml/transform/FormatNumberFunction.java:
	Add type parameter to args.
	(evaluate(List)): Suppress warnings from method
	prescribed by javax.xml.xpath.XPathFunction.
	(setArguments(List)): Add type parameter to argument.
	(evaluate(Node,int,int)): Add type arguments and
	remove unnecessary casts. Use a for-each loop rather
	than an Iterator.
	(clone(Object)): Add type parameter and remove
	unnecessary cast.
	(references(QName)): Likewise.
	* gnu/xml/transform/FunctionAvailableFunction.java:
	Add type parameters to xsltFunctions, xpathFunctions
	and args and in static initializer.
	(evaluate(Node,int,int)): Remove unnecessary cast.
	(clone(Object)): Add type parameter and remove
	unnecessary cast.
	(references(QName)): Likewise.
	* gnu/xml/transform/GenerateIdFunction.java:
	Add type parameter to args.
	(evaluate(List)): Suppress warnings from method
	prescribed by javax.xml.xpath.XPathFunction.
	(setArguments(List)): Add type parameter to argument.
	(evaluate(Node,int,int)): Add type arguments and
	remove unnecessary casts.
	(clone(Object)): Add type parameter and remove
	unnecessary cast.
	(references(QName)): Likewise.
	* gnu/xml/transform/KeyFunction.java:
	Add type parameter to args.
	(evaluate(List)): Suppress warnings from method
	(setArguments(List)): Add type parameter to argument.
	(matches(Node)): Add type parameter.
	(evaluate(Node,int,int)): Add type arguments and
	remove unnecessary casts.  Use a for-each loop rather
	than an Iterator.
	(addKeyNodes(Node,Collection,String,Collection)):
	Add type parameters.
	(addKeyNodesIfMatch(Node,Collection,String,Collection)):
	Likewise. Use a for-each loop rather than an Iterator.
	(clone(Object)): Add type parameter and remove
	unnecessary cast.
	(references(QName)): Likewise.
	* gnu/xml/transform/LiteralNode.java:
	Add type parameter to elementExcludeResultPrefixes.
	(LiteralNode(Node)): Add type parameters.
	* gnu/xml/transform/NamespaceProxy.java:
	(getPrefixes(String)): Add type parameter.
	* gnu/xml/transform/NodeNumberNode.java:
	(Stylesheet,Node,int,int): Add type parameters.
	Remove redundant casts.
	* gnu/xml/transform/SAXSerializer.java:
	Add type parameters to namespaces.
	(isDefined(String,String)): Add type parameters.
	Use a for-each loop rather than an Iterator.
	(define(String,String)): Likewise. Remove
	redundant cast.
	(undefine(String,String)): Add type parameters.
	Use a for-each loop rather than an Iterator.
	* gnu/xml/transform/StreamSerializer.java:
	Add type parameters to HTML_BOOLEAN_ATTRIBUTES,
	HTML_URIS, namespaces and cdataSectionElements.
	Use type parameter in the static initialiser.
	(StreamSerializer(int,String,String)): Add
	type parameter.
	(setCdataSectionElements(Collection)): Likewise.
	(isDefined(String,String)): Add type parameters.
	Use a for-each loop rather than an Iterator.
	Remove redundant cast.
	(pushNamespaceContext()): Add type parameters.
	(define(String,String)): Likewise. Remove
	redundant cast.
	(isHTMLBoolean(Attr,String)): Likewise.
	* gnu/xml/transform/SystemPropertyFunction.java:
	Add type parameter to args.
	(evaluate(List)): Suppress warnings from method
	prescribed by javax.xml.xpath.XPathFunction.
	(setArguments(List)): Add type parameter to argument.
	(evaluate(Node,int,int)): Add type parameters and
	remove unnecessary casts.
	(clone(Object)): Likewise.
	(references(QName)): Likewise.
	* gnu/xml/transform/Template.java:
	Implement Comparable&lt;Template&gt;.
	(compareTo(Template)): Update type of argument
	from Object to Template, and remove unnecessary
	check/cast.
	* gnu/xml/transform/TransformerFactoryImpl.java:
	(getAssociatedStylesheet(Source,String,String,String)):
	Add type parameters and remove unnecessary cast.
	Use a for-each loop rather than an Iterator.
	(parseParameters(String)): Add type parameters.
	* gnu/xml/transform/TransformerImpl.java:
	(transform(Source,Result)): Add type parameters.
	(writeStreamResult(Node,StreamResult,int,String)): Likewise.
	(reindent(Document,Node,int)): Likewise and remove
	unnecessary casts.
	(convertCdataSectionElements(Document,Node,List)): Likewise.
	* gnu/xml/transform/TransformerOutputProperties.java:
	(TransformerOutputProperties(Stylesheet)): Add type
	parameters and remove redundant casts.
	(apply()): Add type parameter.
	* gnu/xml/transform/UnparsedEntityUriFunction.java:
	(evaluate(List)): Suppress warnings from method
	prescribed by javax.xml.xpath.XPathFunction.
	* gnu/xml/transform/ValueOfNode.java:
	(doApply(Stylesheet,QNae,Node,int,int,Node,Node)):
	Avoid unchecked cast by retrieving objects and
	then casting them to Node after instanceof test.
	* gnu/xml/transform/XSLComparator.java:
	Remove unneeded Iterator import.
	* gnu/xml/util/DomParser.java:
	(callEnd(Node)): Add type parameter.
	* gnu/xml/util/Resolver.java:
	Replace untyped Dictionary with typed Map.
	(addDirectoryMapping(Map,String,File)): Likewise.
	(Resolver(Map)): Likewise.
	(resolveEntity(String,String)): Remove redundant cast.
	* gnu/xml/util/SAXNullTransformerFactory.java:
	Add type parameters to params.
	* gnu/xml/util/XCat.java:
	(normalizePublicId(boolean,String)): Remove unused
	variable token.
	(Catalog): Add type parameters to publicIds,
	publicDelegations, systemIds,
	systemRewrites, systemDelegations, uris,
	uriRewrites, uriDelegations, doctypes and next.
	(Catalog.mapURI(String,Hashtable,Hashtable,Hashtable)):
	Add type parameters and remove redundant casts.
	(Catalog.getExternalSubset(String)): Remove redundant cast.
	(Catalog.checkDelegations(Hashtable,String,String,String)):
	Add type parameters and remove redundant casts.
	(Loader): Add type parameteres to externals &amp; bases.
	(Loader.absolutize(String)): Remove redundant cast.
	(Loader.startDocument()): Add type parameter.
	(Loader.externalEntityDecl(String,String,String)):
	Likewise.
	(Loader.startEntity(String)): Remove redundant cast.
	(Loader.endEntity(String)): Likewise.
	(Loader.startElement(String,String,String,Attributes)):
	Remove redundant casts and add type parameters.
	* gnu/xml/util/XMLWriter.java:
	Add type parameter to space.
	(startElement(String,String,String,Attributes):
	Remove redundant cast.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add remaining javax.lang.model.util classes for Java 7.</title>
<updated>2015-12-22T01:59:02+00:00</updated>
<author>
<name>Andrew John Hughes</name>
<email>gnu_andrew@member.fsf.org</email>
</author>
<published>2015-11-27T08:22:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/classpath.git/commit/?id=11d1d8efc1b17eb87b4cd6aa5ae82f67cb862e96'/>
<id>11d1d8efc1b17eb87b4cd6aa5ae82f67cb862e96</id>
<content type='text'>
2015-11-26  Andrew John Hughes  &lt;gnu_andrew@member.fsf.org&gt;

	* javax/lang/model/util/AbstractAnnotationValueVisitor6.java:
	Fix missing brace in Javadoc.
	* javax/lang/model/util/AbstractAnnotationValueVisitor7.java:
	New abstract class.
	(AbstractAnnotationValueVisitor7()): Implemented.
	* javax/lang/model/util/AbstractElementVisitor7.java,
	New abstract class.
	(AbstractElementVisitor7()): Implemented.
	* javax/lang/model/util/AbstractTypeVisitor6.java:
	Fix missing brace in Javadoc.
	* javax/lang/model/util/AbstractTypeVisitor7.java:
	New abstract class.
	(AbstractTypeVisitor7()): Implemented.
	(visitUnion(UnionType,P)): Likewise.
	* javax/lang/model/util/ElementKindVisitor6.java:
	(visitVariableAsResourceVariable(VariableElement,P)):
	Should call visitUnknown for version 6.
	* javax/lang/model/util/ElementKindVisitor7.java:
	New class.
	(ElementKindVisitor7()): Implemented.
	(ElementKindVisitor7(R)): Likewise.
	(visitVariableAsResourceVariable(VariableElement,P)):
	Implemented to return the result of defaultAction.
	* javax/lang/model/util/ElementScanner6.java:
	Fix missing brace in Javadoc. Add missing @return
	documentation.
	(visitVariable(VariableElement,P)): Should call visitUnknown
	on 6 if the element is a resource variable element.
	* javax/lang/model/util/ElementScanner7.java,
	New class.
	(ElementScanner7()): Implemented.
	(ElementScanner7(R)): Likewise.
	(visitVariable(VariableElement,P)): Implemented.
	* javax/lang/model/util/SimpleAnnotationValueVisitor7.java:
	New class.
	(SimpleAnnotationValueVisitor7()): Implemented.
	(SimpleAnnotationValueVisitor7(R)): Likewise.
	* javax/lang/model/util/SimpleElementVisitor6.java:
	(visitVariable(VariableElement,P)): Should call visitUnknown
	on 6 if the element is a resource variable element.
	* javax/lang/model/util/SimpleElementVisitor7.java:
	New class.
	(SimpleElementVisitor7()): Implemented.
	(SimpleElementVisitor7(R)): Likewise.
	(visitVariable(VariableElement,P)): Implemented.
	* javax/lang/model/util/SimpleTypeVisitor6.java:
	(SimpleTypeVisitor6): Fix copy-and-paste error in documentation.
	* javax/lang/model/util/SimpleTypeVisitor7.java:
	New class.
	(SimpleTypeVisitor7()): Implemented.
	(SimpleTypeVisitor7(R)): Likewise.
	(visitUnion(UnionType,P)): Implemented.
	* javax/lang/model/util/TypeKindVisitor7.java,
	New class.
	(TypeKindVisitor7()): Implemented.
	(TypeKindVisitor7(R)): Likewise.
	(visitUnion(UnionType,P)): Implemented.

Signed-off-by: Andrew John Hughes &lt;gnu_andrew@member.fsf.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
2015-11-26  Andrew John Hughes  &lt;gnu_andrew@member.fsf.org&gt;

	* javax/lang/model/util/AbstractAnnotationValueVisitor6.java:
	Fix missing brace in Javadoc.
	* javax/lang/model/util/AbstractAnnotationValueVisitor7.java:
	New abstract class.
	(AbstractAnnotationValueVisitor7()): Implemented.
	* javax/lang/model/util/AbstractElementVisitor7.java,
	New abstract class.
	(AbstractElementVisitor7()): Implemented.
	* javax/lang/model/util/AbstractTypeVisitor6.java:
	Fix missing brace in Javadoc.
	* javax/lang/model/util/AbstractTypeVisitor7.java:
	New abstract class.
	(AbstractTypeVisitor7()): Implemented.
	(visitUnion(UnionType,P)): Likewise.
	* javax/lang/model/util/ElementKindVisitor6.java:
	(visitVariableAsResourceVariable(VariableElement,P)):
	Should call visitUnknown for version 6.
	* javax/lang/model/util/ElementKindVisitor7.java:
	New class.
	(ElementKindVisitor7()): Implemented.
	(ElementKindVisitor7(R)): Likewise.
	(visitVariableAsResourceVariable(VariableElement,P)):
	Implemented to return the result of defaultAction.
	* javax/lang/model/util/ElementScanner6.java:
	Fix missing brace in Javadoc. Add missing @return
	documentation.
	(visitVariable(VariableElement,P)): Should call visitUnknown
	on 6 if the element is a resource variable element.
	* javax/lang/model/util/ElementScanner7.java,
	New class.
	(ElementScanner7()): Implemented.
	(ElementScanner7(R)): Likewise.
	(visitVariable(VariableElement,P)): Implemented.
	* javax/lang/model/util/SimpleAnnotationValueVisitor7.java:
	New class.
	(SimpleAnnotationValueVisitor7()): Implemented.
	(SimpleAnnotationValueVisitor7(R)): Likewise.
	* javax/lang/model/util/SimpleElementVisitor6.java:
	(visitVariable(VariableElement,P)): Should call visitUnknown
	on 6 if the element is a resource variable element.
	* javax/lang/model/util/SimpleElementVisitor7.java:
	New class.
	(SimpleElementVisitor7()): Implemented.
	(SimpleElementVisitor7(R)): Likewise.
	(visitVariable(VariableElement,P)): Implemented.
	* javax/lang/model/util/SimpleTypeVisitor6.java:
	(SimpleTypeVisitor6): Fix copy-and-paste error in documentation.
	* javax/lang/model/util/SimpleTypeVisitor7.java:
	New class.
	(SimpleTypeVisitor7()): Implemented.
	(SimpleTypeVisitor7(R)): Likewise.
	(visitUnion(UnionType,P)): Implemented.
	* javax/lang/model/util/TypeKindVisitor7.java,
	New class.
	(TypeKindVisitor7()): Implemented.
	(TypeKindVisitor7(R)): Likewise.
	(visitUnion(UnionType,P)): Implemented.

Signed-off-by: Andrew John Hughes &lt;gnu_andrew@member.fsf.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add remaining javax.lang.model.util classes for Java 6.</title>
<updated>2015-09-27T00:35:22+00:00</updated>
<author>
<name>Andrew John Hughes</name>
<email>gnu_andrew@member.fsf.org</email>
</author>
<published>2015-09-27T00:35:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/classpath.git/commit/?id=f41a2c18c6dd259d21cf72a0e66e68c7a0c9a808'/>
<id>f41a2c18c6dd259d21cf72a0e66e68c7a0c9a808</id>
<content type='text'>
2015-09-26  Andrew John Hughes  &lt;gnu_andrew@member.fsf.org&gt;

	* javax/lang/model/type/WildcardType.java:
	Remove unneeded import.
	* javax/lang/model/util/AbstractTypeVisitor6.java:
	Implemented.
	(AbstractTypeVisitor6()): Implemented.
	(visit(TypeMirror)): Likewise.
	(visit(TypeMirror,P)): Likewise.
	(visitUnknown(TypeMirror, P)): Likewise.
	(visitUnion(TypeMirror, P)): Likewise.
	* javax/lang/model/util/ElementKindVisitor6.java:
	Implemented.
	(ElementKindVisitor6): Implemented.
	(ElementKindVisitor6(R)): Likewise.
	(visitExecutable(ExecutableElement,P)): Likewise.
	(visitExecutableAsConstructor(ExecutableElement,P)): Likewise.
	(visitExecutableAsInstanceInit(ExecutableElement,P)): Likewise.
	(visitExecutableAsMethod(ExecutableElement,P)): Likewise.
	(visitExecutableAsStaticInit(ExecutableElement,P)): Likewise.
	(visitPackage(PackageElement,P)): Likewise.
	(visitTypeAsAnnotationType(TypeElement,P)): Likewise.
	(visitTypeAsClass(TypeElement,P)): Likewise.
	(visitTypeAsEnum(TypeElement,P)): Likewise.
	(visitTypeAsInterface(TypeElement,P)): Likewise.
	(visitTypeParameter(TypeParameterElement,P)): Likewise.
	(visitVariable(VariableElement,P)): Likewise.
	(visitVariableAsEnumConstant(VariableElement,P)): Likewise.
	(visitVariableAsExceptionParameter(VariableElement,P)): Likewise.
	(visitVariableAsField(VariableElement,P)): Likewise.
	(visitVariableAsLocalVariable(VariableElement,P)): Likewise.
	(visitVariableAsParameter(VariableElement,P)): Likewise.
	(visitVariableAsResourceVariable(VariableElement,P)): Likewise.
	* javax/lang/model/util/SimpleAnnotationValueVisitor6.java:
	(DEFAULT_VALUE): Added.
	(SimpleAnnotationValueVisitor6()): Implemented.
	(SimpleAnnotationValueVisitor6(R)): Likewise.
	(defaultAction(Object,P)): Likewise.
	(visitBoolean(boolean,P)): Likewise.
	(visitByte(byte,P)): Likewise.
	(visitChar(char,P)): Likewise.
	(visitDouble(double,P)): Likewise.
	(visitFloat(float,P)): Likewise.
	(visitInt(int,P)): Likewise.
	(visitLong(long,P)): Likewise.
	(visitShort(short,P)): Likewise.
	(visitString(String,P)): Likewise.
	(visitType(TypeMirror,P)): Likewise.
	(visitEnumConstant(VariableElement,P)): Likewise.
	(visitAnnotation(AnnotationMirror,P)): Likewise.
	(visitArray(List,P)): Likewise.
	* javax/lang/model/util/SimpleElementVisitor6.java:
	Fix missing brace in Javadoc. Add missing @return
	documentation.
	* javax/lang/model/util/SimpleTypeVisitor6.java:
	(DEFAULT_VALUE): Added.
	(SimpleTypeVisitor6()): Implemented.
	(SimpleTypeVisitor6(R)): Likewise.
	(defaultAction(TypeMirror,P)): Likewise.
	(visitPrimitive(PrimitiveType,P)): Likewise.
	(visitNull(NullType,P)): Likewise.
	(visitArray(ArrayType,P)): Likewise.
	(visitDeclared(DeclaredType,P)): Likewise.
	(visitError(ErrorType,P)): Likewise.
	(visitTypeVariable(TypeVariable,P)): Likewise.
	(visitWildcard(WildcardType,P)): Likewise.
	(visitExecutable(ExecutableType,P)): Likewise.
	(visitNoType(NoType,P)): Likewise.
	* javax/lang/model/util/TypeKindVisitor6.java:
	(TypeKindVisitor6()): Implemented.
	(TypeKindVisitor6(R)): Likewise.
	(visitNoType(NoType,P)): Likewise.
	(visitNoTypeAsNone(NoType,P)): Likewise.
	(visitNoTypeAsPackage(NoType,P)): Likewise.
	(visitNoTypeAsVoid(NoType,P)): Likewise.
	(visitPrimitive(PrimitiveType,P)): Likewise.
	(visitPrimitiveAsBoolean(PrimitiveType,P)): Likewise.
	(visitPrimitiveAsByte(PrimitiveType,P)): Likewise.
	(visitPrimitiveAsChar(PrimitiveType,P)): Likewise.
	(visitPrimitiveAsDouble(PrimitiveType,P)): Likewise.
	(visitPrimitiveAsFloat(PrimitiveType,P)): Likewise.
	(visitPrimitiveAsint(PrimitiveType,P)): Likewise.
	(visitPrimitiveAsLong(PrimitiveType,P)): Likewise.
	(visitPrimitiveAsShort(PrimitiveType,P)): Likewise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
2015-09-26  Andrew John Hughes  &lt;gnu_andrew@member.fsf.org&gt;

	* javax/lang/model/type/WildcardType.java:
	Remove unneeded import.
	* javax/lang/model/util/AbstractTypeVisitor6.java:
	Implemented.
	(AbstractTypeVisitor6()): Implemented.
	(visit(TypeMirror)): Likewise.
	(visit(TypeMirror,P)): Likewise.
	(visitUnknown(TypeMirror, P)): Likewise.
	(visitUnion(TypeMirror, P)): Likewise.
	* javax/lang/model/util/ElementKindVisitor6.java:
	Implemented.
	(ElementKindVisitor6): Implemented.
	(ElementKindVisitor6(R)): Likewise.
	(visitExecutable(ExecutableElement,P)): Likewise.
	(visitExecutableAsConstructor(ExecutableElement,P)): Likewise.
	(visitExecutableAsInstanceInit(ExecutableElement,P)): Likewise.
	(visitExecutableAsMethod(ExecutableElement,P)): Likewise.
	(visitExecutableAsStaticInit(ExecutableElement,P)): Likewise.
	(visitPackage(PackageElement,P)): Likewise.
	(visitTypeAsAnnotationType(TypeElement,P)): Likewise.
	(visitTypeAsClass(TypeElement,P)): Likewise.
	(visitTypeAsEnum(TypeElement,P)): Likewise.
	(visitTypeAsInterface(TypeElement,P)): Likewise.
	(visitTypeParameter(TypeParameterElement,P)): Likewise.
	(visitVariable(VariableElement,P)): Likewise.
	(visitVariableAsEnumConstant(VariableElement,P)): Likewise.
	(visitVariableAsExceptionParameter(VariableElement,P)): Likewise.
	(visitVariableAsField(VariableElement,P)): Likewise.
	(visitVariableAsLocalVariable(VariableElement,P)): Likewise.
	(visitVariableAsParameter(VariableElement,P)): Likewise.
	(visitVariableAsResourceVariable(VariableElement,P)): Likewise.
	* javax/lang/model/util/SimpleAnnotationValueVisitor6.java:
	(DEFAULT_VALUE): Added.
	(SimpleAnnotationValueVisitor6()): Implemented.
	(SimpleAnnotationValueVisitor6(R)): Likewise.
	(defaultAction(Object,P)): Likewise.
	(visitBoolean(boolean,P)): Likewise.
	(visitByte(byte,P)): Likewise.
	(visitChar(char,P)): Likewise.
	(visitDouble(double,P)): Likewise.
	(visitFloat(float,P)): Likewise.
	(visitInt(int,P)): Likewise.
	(visitLong(long,P)): Likewise.
	(visitShort(short,P)): Likewise.
	(visitString(String,P)): Likewise.
	(visitType(TypeMirror,P)): Likewise.
	(visitEnumConstant(VariableElement,P)): Likewise.
	(visitAnnotation(AnnotationMirror,P)): Likewise.
	(visitArray(List,P)): Likewise.
	* javax/lang/model/util/SimpleElementVisitor6.java:
	Fix missing brace in Javadoc. Add missing @return
	documentation.
	* javax/lang/model/util/SimpleTypeVisitor6.java:
	(DEFAULT_VALUE): Added.
	(SimpleTypeVisitor6()): Implemented.
	(SimpleTypeVisitor6(R)): Likewise.
	(defaultAction(TypeMirror,P)): Likewise.
	(visitPrimitive(PrimitiveType,P)): Likewise.
	(visitNull(NullType,P)): Likewise.
	(visitArray(ArrayType,P)): Likewise.
	(visitDeclared(DeclaredType,P)): Likewise.
	(visitError(ErrorType,P)): Likewise.
	(visitTypeVariable(TypeVariable,P)): Likewise.
	(visitWildcard(WildcardType,P)): Likewise.
	(visitExecutable(ExecutableType,P)): Likewise.
	(visitNoType(NoType,P)): Likewise.
	* javax/lang/model/util/TypeKindVisitor6.java:
	(TypeKindVisitor6()): Implemented.
	(TypeKindVisitor6(R)): Likewise.
	(visitNoType(NoType,P)): Likewise.
	(visitNoTypeAsNone(NoType,P)): Likewise.
	(visitNoTypeAsPackage(NoType,P)): Likewise.
	(visitNoTypeAsVoid(NoType,P)): Likewise.
	(visitPrimitive(PrimitiveType,P)): Likewise.
	(visitPrimitiveAsBoolean(PrimitiveType,P)): Likewise.
	(visitPrimitiveAsByte(PrimitiveType,P)): Likewise.
	(visitPrimitiveAsChar(PrimitiveType,P)): Likewise.
	(visitPrimitiveAsDouble(PrimitiveType,P)): Likewise.
	(visitPrimitiveAsFloat(PrimitiveType,P)): Likewise.
	(visitPrimitiveAsint(PrimitiveType,P)): Likewise.
	(visitPrimitiveAsLong(PrimitiveType,P)): Likewise.
	(visitPrimitiveAsShort(PrimitiveType,P)): Likewise.
</pre>
</div>
</content>
</entry>
<entry>
<title>Mention PR66376.</title>
<updated>2015-06-19T15:04:59+00:00</updated>
<author>
<name>Andrew John Hughes</name>
<email>gnu_andrew@member.fsf.org</email>
</author>
<published>2015-06-19T15:04:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/classpath.git/commit/?id=6bc8d84e4b0527f680b78a9a0c808cda74d4933d'/>
<id>6bc8d84e4b0527f680b78a9a0c808cda74d4933d</id>
<content type='text'>
2015-06-19  Andrew John Hughes  &lt;gnu_andrew@member.fsf.org&gt;

	* NEWS: Mention PR66376.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
2015-06-19  Andrew John Hughes  &lt;gnu_andrew@member.fsf.org&gt;

	* NEWS: Mention PR66376.
</pre>
</div>
</content>
</entry>
<entry>
<title>Cleanup warnings in XML parser.</title>
<updated>2015-04-22T02:02:28+00:00</updated>
<author>
<name>Andrew John Hughes</name>
<email>gnu_andrew@member.fsf.org</email>
</author>
<published>2015-04-22T02:02:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/classpath.git/commit/?id=591da8d224ab68474c4600d42fc74bafe974303a'/>
<id>591da8d224ab68474c4600d42fc74bafe974303a</id>
<content type='text'>
2015-04-18  Andrew John Hughes  &lt;gnu_andrew@member.fsf.org&gt;

	* gnu/xml/stream/SAXParser.java:
	(getParser()): Add @Override.
	(getXMLReader()): Likewise.
	(isNamespaceAware()): Likewise.
	(isValidating()): Likewise.
	(setProperty(String,Object): Likewise.
	(getProperty(String)): Likewise.
	(isXIncludeAware()): Likewise.
	(reset()): Likewise.
	(getFeature(String)): Likewise.
	(setFeature(String,boolean)): Likewise.
	(setEntityResolver(EntityResolver)): Likewise.
	(getEntityResolver()): Likewise.
	(setDTDHandler(DTDHandler)): Likewise.
	(getDTDHandler()): Likewise.
	(setContentHandler(ContentHandler)): Likewise.
	(getContentHandler()): Likewise.
	(setErrorHandler(ErrorHandler)): Likewise.
	(getErrorHandler()): Likewise.
	(parse(InputSource)): Likewise. Add type
	parameters to collection usage. Add
	default cases in switch statements. Check
	in is not null before attempting to call
	close(). Remove superfluous else block.
	(isIgnorableWhitespace(XMLParser,char,boolean)):
	Remove exception declaration which is never thrown.
	Rename 'reader' to 'r' to avoid shadowing. Fix
	ContentModel type reference to refer to new enum.
	(parse(String)): Add @Override.
	(getIndex(String)): Likewise.
	(getIndex(String,String)): Likewise.
	(getLength()): Likewise.
	(getLocalName(int)): Likewise.
	(getQName(int)): Likewise.
	(getType(int)): Likewise.
	(getType(String)): Likewise.
	(getType(String,String)): Likewise.
	(getURI(int)): Likewise.
	(getValue(int)): Likewise.
	(getValue(String)): Likewise.
	(getValue(String,String)): Likewise.
	(isDeclared(int)): Likewise.
	(isDeclared(String)): Likewise.
	(isDeclared(Stirng,String)): Likewise.
	(isSpecified(int)): Likewise.
	(isSpecified(String)): Likewise.
	(isSpecified(String,String)): Likewise.
	(getColumnNumber()): Likewise.
	(getLineNumber()): Likewise.
	(getPublicId()): Likewise.
	(getSystemId()): Likewise.
	(getEncoding()): Likewise.
	(getXMLVersion()): Likewise.
	(resolveEntity(String,String,String,String)):
	Likewise. Avoid shadowing of baseURI.
	(resolveAsXMLEventReader(String)): Remove
	unused method
	(resolveAsXMLStreamReader(String)): Likewise.
	(report(String,String,Object,Location)):
	Add @Override.
	(main(String[])): Add type parameter to Class
	instance.
	* gnu/xml/stream/XMLParser.java:
	Add type parameters to all collection class
	instances and use interfaces as types rather
	than specific implementations. Switch from
	StringBuffer to StringBuilder for internal
	string buffering.
	(XMLParser(InputStream, String, boolean,
	boolean, boolean, boolean, boolean, boolean,
	boolean, boolean, boolean, XMLReporter,
	XMLResolver)): Add type parameters to
	collection initialisation.
	(XMLParser(Reader, String, boolean,
	boolean, boolean, boolean, boolean, boolean,
	boolean, boolean, boolean, XMLReporter,
	XMLResolver)): Likewise.
	(getNamespaceURI(String)): Add @Override
	and type parameters.
	(getPrefix(String)): Likewise.
	(getPrefixes(String)): Likewise.
	(close()): Add @Override.
	(getNamespaceContext()): Likewise.
	(getAttributeCount()): Likewise.
	(getAttributeLocalName(int)): Likewise
	and remove unneeded casting and variable
	creation.
	(getAttributeNamespace(int)): Add @Override
	and remove unneeded variable creation.
	(getAttributePrefix(int)): Add @Override
	and remove unneeded casting and variable
	creation.
	(getAttributeName(int)): Add @Override and
	remove unneeded casting.
	(getAttributeType(int)): Add @Override and
	remove unneeded casting and variable creation.
	(getAttributeValue(int)): Likewise.
	(getAttributeValue(String,String)): Add @Override.
	Add for-each loop and remove unneeded casting.
	(getCharacterEncodingScheme()): Add @Override.
	(getElementText()): Likewise. Add Location instance
	to XMLStreamException being thrown. Handle other
	values of XMLStreamConstants as specified in
	method specification.
	(getEncoding()): Add @Override.
	(getEventType()): Likewise.
	(getLocalName()): Likewise.
	(getLocation()): Likewise.
	(getName()): Likewise.
	(getNamespaceCount()): Likewise. Avoid use of
	isEmpty() so Deque interface can be used for
	namespaces. Avoid superfluous variable creation.
	(getNamespacePrefix(int)): Add @Override and
	remove redundant casting.
	(getNamespaceURI()): Add @Override.
	(getNamespaceURI(int)): Likewise. Remove redundant
	casting.
	(getPIData()): Add @Override.
	(getPITarget()): Likewise.
	(getPrefix()): Likewise.
	(getProperty(String)): Likewise.
	(getText()): Likewise.
	(getTextCharacters()): Likewise.
	(getTextCharacters(int,char[],int,int)): Likewise.
	(getTextLength()): Likewise.
	(getTextStart()): Likewise.
	(getVersion(): Likewise.
	(hasName()): Likewise.
	(hasText()): Likewise.
	(isAttributeSpecified(int)): Likewise. Avoid
	redundant casting and variable creation.
	(isCharacters()): Add @Override.
	(isEndElement()): Likewise.
	(isStandalone()): Likewise.
	(isStartElement()): Likewise.
	(isWhiteSpace()): Likewise.
	(nextTag()): Likewise.
	(require(int,String,String)): Likewise.
	(standaloneSet()): Likewise.
	(hasNext()): Likewise.
	(next()): Likewise. Avoid use of isEmpty() so
	Deque interface can be used for namespaces)
	bases, startEntityStack, endEntityStack and
	stack. Avoid unnecessary casting.
	(getCurrentElement()): Remove redundant cast.
	(getXMLBase()): Avoid unnecessary casting
	and use for-each loops.
	(pushInput(String,String,boolean,boolean)):
	Likewise and drop IOException as one is not
	thrown.
	(pushInput(String,ExternalIds,boolean,boolean)):
	Rename ids to exIDs to avoid shadowing. Use
	for-each loop and avoid	unnecessary casting.
	(pushInput(Input)): Rename input to in to
	avoid shadowing.
	(popInput()): Remove unnecessary casting.
	(readTextDecl()): Remove redundant cast.
	(readDoctypeDecl()): Rename ids to exIDs to
	avoid shadowing. Remove redundant else block.
	(readMarkupDecl(boolean)): Add default case to
	switch statement.
	(readElements(CPStringBuilder)): Mark fall-through in
	a way the compiler can interpret.
	(readAttDef(String)): Use for-each loops and interfaces
	for collection types. Add type parameters and remove
	redundant casts.
	(readAttType(CPStringBuilder,Set)): Use Set with
	type parameter instead of raw HashSet. Remove
	redundant else block.
	(readEnumeration(boolean,CPStringBuilder,Set)):
	Use Set with type parameter rather than raw HashSet.
	(readNotationType(CPStringBuilder,Set)): Likewise.
	(readDefault(String,String,String,String,Set)): Likewise.
	Remove unused defaultType variable.
	(readEntityDecl(boolean)): Rename ids to exIDs to avoid
	shadowing.
	(readNotationDecl(boolean)): Likewise.
	(readExternalIds(boolean,boolean)): Likewise.
	(readStartElement()): Add type parameters and for-each
	loops, removing redundant casts. Add default cases to
	switch statements.
	(attributeSpecified(String)): Use for-each loop and
	avoid redundant casts.
	(readAttribute(String)): Suppress warning about null
	pointer as an exception is thrown via the error method.
	Use interface types and type parameters for collections.
	(addNamespace(Attribute)): Use interface types and type
	parameters for collections.
	(readEndElement()): Remove redundant cast.
	(endElementValidationHook()): Avoid isEmpty() method so
	Deque interface can be used for stack. Remove redundant
	cast.
	(readCharData(String)): Avoid redundant cast.
	(expandEntity(String,boolean,boolean)): Rename ids to
	exIDs to avoid shadowing.
	(literalReadCh(boolean)): Avoid redundant cast.
	(readLiteral(int,boolean)): Likewise.
	(normalize(StringBuilder)): Make static and use
	StringBuilder rather than StringBuffer. Rename buf
	to buffer to avoid shadowing.
	(normalizeCRLF(StringBuilder)): Likewise.
	(expandPEReference()): Call readNmtoken with
	StringBuilder, not StringBuffer.
	(readNmtoken(boolean,StringBuilder)): Use StringBuilder
	rather than StringBuffer. Rename buf to buffer
	to avoid shadowing.
	(isNameStartCharacter(int,boolean)): Remove unneeded else
	block.
	(isNameCharacter(int,boolean)): Likewise.
	(intern(String)): Make package-private to allow access
	from inner class.
	(error(String)): Make static.
	(error(String,Object)): Likewise. Avoid unnecessary
	cast to Character as toString is available from Object.
	(validateStartElement(String)): Remove unneeded prefix
	from constants now they are part of an enum. Drop unneeded
	cast. Add default case to switch statement.
	(validateEndElement()): Likewise.
	(validatePCData(String)): Remove unneeded prefix from
	constants now they are part of an enum. Add default
	case to switch statement.
	(validateElementContent(ElementContentModel, List)):
	Use interface type with parameter for collection.
	Rename buf to buffer to avoid shadowing. Add
	type parameters.
	(createRegularExpression(ElementContentModel)): Rename
	buf to buffer to avoid shadowing. Use type parameters
	and avoid redundant casting.
	(validateDoctype()): Add type parameters and avoid
	redundant casting. Rename ids to exIDs to avoid
	shadowing.
	(Attribute.equals(Object)): Add @Override. Use
	isNamespaceAware() and isXML11() rather than
	trying to access private variables of outer class.
	Remove redundant else block.
	(Attribute.hashCode()): Implemented to match
	equals method.
	(Attribute.toString()): Add @Override. Rename
	buf to buffer to avoid shadowing.
	(Doctype): Rename externalEntities to externalEntitiesSet
	to avoid shadowing.
	(Doctype.addElementDecl(String,String,ContentModel)):
	Use getInputSize() rather than trying to access
	private variables of outer class.
	(Doctype.addAttributeDecl(String,String,AttributeDecl)):
	Add type parameters and remove redundant casts.
	(Doctype.addEntityDecl(String,ExternalIds,boolean)):
	Rename ids to exIDs to avoid shadowing.
	(Doctype.addNotationDecl(String,ExternalIds,boolean)):
	Likewise.
	(Doctype.getElementModel(String)): Remove redundant cast.
	(Doctype.getAttributeDecl(String,String)): Add type
	parameters and remove redundant casts.
	(Doctype.isAttributeDeclared(String,String)): Likewise.
	(Doctype.attlistIterator(String)): Likewise.
	(Doctype.entityIterator()): Add type parameter.
	(Doctype.getNotation(String)): Remove redundant cast.
	(Doctype.getComment(String)): Likewise.
	(Doctype.getPI(String)): Likewise.
	(Doctype.entryIterator()): Add type parameter.
	(ContentModel): Make static.
	(ContentModel.EMPTY): Removed.
	(ContentModel.ANY): Likewise.
	(ContentModel.ELEMENT): Likewise.
	(ContentModel.MIXED): Likewise.
	(ContentModel.Type): Introduce enum type with
	values EMPTY, ANY, ELEMENT and MIXED to replace
	integer constants.
	(ContentModel.type): Change type to ContentModel.Type.
	(EmptyContentModel): Make static.
	(EmptyContentModel.EmptyContentModel()): Initialise using
	enum constant.
	(AnyContentModel): Make static.
	(AnyContentModel.AnyContentModel()): Initialise using
	enum constant.
	(ElementContentModel): Make static.
	(ElementContentModel.ElementContentModel()): Initialise using
	enum constant. Add type parameters.
	(ContentParticle): Make static.
	(MixedContentModel): Likewise.
	(MixedContentModel.MixedContentModel()): Initialise using
	enum constant. Add type parameters.
	(AttributeDecl): Make static.
	(AttributeDecl.AttributeDecl(String,String,int,String,Set,
	boolean)): Use Set with type parameter instead of raw HashSet.
	(getCharacterOffset()): Add @Override.
	(getColumnNumber()): Likewise.
	(getLineNumber()): Likewise.
	(getPublicId()): Likewise.
	(getSystemId()): Likewise.
	(isNamespaceAware()): New package-private accessor
	for inner classes.
	(isXML11()): Likewise.
	(getInputSize()): Likewise.
	* javax/xml/parsers/SAXParser.java:
	(reset()): Fix documentation to refer to Java version
	rather than JAXP version.
	(getSchema()): Likewise. Suppress warnings about making
	this a static method.
	(isXIncludeAware()): Likewise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
2015-04-18  Andrew John Hughes  &lt;gnu_andrew@member.fsf.org&gt;

	* gnu/xml/stream/SAXParser.java:
	(getParser()): Add @Override.
	(getXMLReader()): Likewise.
	(isNamespaceAware()): Likewise.
	(isValidating()): Likewise.
	(setProperty(String,Object): Likewise.
	(getProperty(String)): Likewise.
	(isXIncludeAware()): Likewise.
	(reset()): Likewise.
	(getFeature(String)): Likewise.
	(setFeature(String,boolean)): Likewise.
	(setEntityResolver(EntityResolver)): Likewise.
	(getEntityResolver()): Likewise.
	(setDTDHandler(DTDHandler)): Likewise.
	(getDTDHandler()): Likewise.
	(setContentHandler(ContentHandler)): Likewise.
	(getContentHandler()): Likewise.
	(setErrorHandler(ErrorHandler)): Likewise.
	(getErrorHandler()): Likewise.
	(parse(InputSource)): Likewise. Add type
	parameters to collection usage. Add
	default cases in switch statements. Check
	in is not null before attempting to call
	close(). Remove superfluous else block.
	(isIgnorableWhitespace(XMLParser,char,boolean)):
	Remove exception declaration which is never thrown.
	Rename 'reader' to 'r' to avoid shadowing. Fix
	ContentModel type reference to refer to new enum.
	(parse(String)): Add @Override.
	(getIndex(String)): Likewise.
	(getIndex(String,String)): Likewise.
	(getLength()): Likewise.
	(getLocalName(int)): Likewise.
	(getQName(int)): Likewise.
	(getType(int)): Likewise.
	(getType(String)): Likewise.
	(getType(String,String)): Likewise.
	(getURI(int)): Likewise.
	(getValue(int)): Likewise.
	(getValue(String)): Likewise.
	(getValue(String,String)): Likewise.
	(isDeclared(int)): Likewise.
	(isDeclared(String)): Likewise.
	(isDeclared(Stirng,String)): Likewise.
	(isSpecified(int)): Likewise.
	(isSpecified(String)): Likewise.
	(isSpecified(String,String)): Likewise.
	(getColumnNumber()): Likewise.
	(getLineNumber()): Likewise.
	(getPublicId()): Likewise.
	(getSystemId()): Likewise.
	(getEncoding()): Likewise.
	(getXMLVersion()): Likewise.
	(resolveEntity(String,String,String,String)):
	Likewise. Avoid shadowing of baseURI.
	(resolveAsXMLEventReader(String)): Remove
	unused method
	(resolveAsXMLStreamReader(String)): Likewise.
	(report(String,String,Object,Location)):
	Add @Override.
	(main(String[])): Add type parameter to Class
	instance.
	* gnu/xml/stream/XMLParser.java:
	Add type parameters to all collection class
	instances and use interfaces as types rather
	than specific implementations. Switch from
	StringBuffer to StringBuilder for internal
	string buffering.
	(XMLParser(InputStream, String, boolean,
	boolean, boolean, boolean, boolean, boolean,
	boolean, boolean, boolean, XMLReporter,
	XMLResolver)): Add type parameters to
	collection initialisation.
	(XMLParser(Reader, String, boolean,
	boolean, boolean, boolean, boolean, boolean,
	boolean, boolean, boolean, XMLReporter,
	XMLResolver)): Likewise.
	(getNamespaceURI(String)): Add @Override
	and type parameters.
	(getPrefix(String)): Likewise.
	(getPrefixes(String)): Likewise.
	(close()): Add @Override.
	(getNamespaceContext()): Likewise.
	(getAttributeCount()): Likewise.
	(getAttributeLocalName(int)): Likewise
	and remove unneeded casting and variable
	creation.
	(getAttributeNamespace(int)): Add @Override
	and remove unneeded variable creation.
	(getAttributePrefix(int)): Add @Override
	and remove unneeded casting and variable
	creation.
	(getAttributeName(int)): Add @Override and
	remove unneeded casting.
	(getAttributeType(int)): Add @Override and
	remove unneeded casting and variable creation.
	(getAttributeValue(int)): Likewise.
	(getAttributeValue(String,String)): Add @Override.
	Add for-each loop and remove unneeded casting.
	(getCharacterEncodingScheme()): Add @Override.
	(getElementText()): Likewise. Add Location instance
	to XMLStreamException being thrown. Handle other
	values of XMLStreamConstants as specified in
	method specification.
	(getEncoding()): Add @Override.
	(getEventType()): Likewise.
	(getLocalName()): Likewise.
	(getLocation()): Likewise.
	(getName()): Likewise.
	(getNamespaceCount()): Likewise. Avoid use of
	isEmpty() so Deque interface can be used for
	namespaces. Avoid superfluous variable creation.
	(getNamespacePrefix(int)): Add @Override and
	remove redundant casting.
	(getNamespaceURI()): Add @Override.
	(getNamespaceURI(int)): Likewise. Remove redundant
	casting.
	(getPIData()): Add @Override.
	(getPITarget()): Likewise.
	(getPrefix()): Likewise.
	(getProperty(String)): Likewise.
	(getText()): Likewise.
	(getTextCharacters()): Likewise.
	(getTextCharacters(int,char[],int,int)): Likewise.
	(getTextLength()): Likewise.
	(getTextStart()): Likewise.
	(getVersion(): Likewise.
	(hasName()): Likewise.
	(hasText()): Likewise.
	(isAttributeSpecified(int)): Likewise. Avoid
	redundant casting and variable creation.
	(isCharacters()): Add @Override.
	(isEndElement()): Likewise.
	(isStandalone()): Likewise.
	(isStartElement()): Likewise.
	(isWhiteSpace()): Likewise.
	(nextTag()): Likewise.
	(require(int,String,String)): Likewise.
	(standaloneSet()): Likewise.
	(hasNext()): Likewise.
	(next()): Likewise. Avoid use of isEmpty() so
	Deque interface can be used for namespaces)
	bases, startEntityStack, endEntityStack and
	stack. Avoid unnecessary casting.
	(getCurrentElement()): Remove redundant cast.
	(getXMLBase()): Avoid unnecessary casting
	and use for-each loops.
	(pushInput(String,String,boolean,boolean)):
	Likewise and drop IOException as one is not
	thrown.
	(pushInput(String,ExternalIds,boolean,boolean)):
	Rename ids to exIDs to avoid shadowing. Use
	for-each loop and avoid	unnecessary casting.
	(pushInput(Input)): Rename input to in to
	avoid shadowing.
	(popInput()): Remove unnecessary casting.
	(readTextDecl()): Remove redundant cast.
	(readDoctypeDecl()): Rename ids to exIDs to
	avoid shadowing. Remove redundant else block.
	(readMarkupDecl(boolean)): Add default case to
	switch statement.
	(readElements(CPStringBuilder)): Mark fall-through in
	a way the compiler can interpret.
	(readAttDef(String)): Use for-each loops and interfaces
	for collection types. Add type parameters and remove
	redundant casts.
	(readAttType(CPStringBuilder,Set)): Use Set with
	type parameter instead of raw HashSet. Remove
	redundant else block.
	(readEnumeration(boolean,CPStringBuilder,Set)):
	Use Set with type parameter rather than raw HashSet.
	(readNotationType(CPStringBuilder,Set)): Likewise.
	(readDefault(String,String,String,String,Set)): Likewise.
	Remove unused defaultType variable.
	(readEntityDecl(boolean)): Rename ids to exIDs to avoid
	shadowing.
	(readNotationDecl(boolean)): Likewise.
	(readExternalIds(boolean,boolean)): Likewise.
	(readStartElement()): Add type parameters and for-each
	loops, removing redundant casts. Add default cases to
	switch statements.
	(attributeSpecified(String)): Use for-each loop and
	avoid redundant casts.
	(readAttribute(String)): Suppress warning about null
	pointer as an exception is thrown via the error method.
	Use interface types and type parameters for collections.
	(addNamespace(Attribute)): Use interface types and type
	parameters for collections.
	(readEndElement()): Remove redundant cast.
	(endElementValidationHook()): Avoid isEmpty() method so
	Deque interface can be used for stack. Remove redundant
	cast.
	(readCharData(String)): Avoid redundant cast.
	(expandEntity(String,boolean,boolean)): Rename ids to
	exIDs to avoid shadowing.
	(literalReadCh(boolean)): Avoid redundant cast.
	(readLiteral(int,boolean)): Likewise.
	(normalize(StringBuilder)): Make static and use
	StringBuilder rather than StringBuffer. Rename buf
	to buffer to avoid shadowing.
	(normalizeCRLF(StringBuilder)): Likewise.
	(expandPEReference()): Call readNmtoken with
	StringBuilder, not StringBuffer.
	(readNmtoken(boolean,StringBuilder)): Use StringBuilder
	rather than StringBuffer. Rename buf to buffer
	to avoid shadowing.
	(isNameStartCharacter(int,boolean)): Remove unneeded else
	block.
	(isNameCharacter(int,boolean)): Likewise.
	(intern(String)): Make package-private to allow access
	from inner class.
	(error(String)): Make static.
	(error(String,Object)): Likewise. Avoid unnecessary
	cast to Character as toString is available from Object.
	(validateStartElement(String)): Remove unneeded prefix
	from constants now they are part of an enum. Drop unneeded
	cast. Add default case to switch statement.
	(validateEndElement()): Likewise.
	(validatePCData(String)): Remove unneeded prefix from
	constants now they are part of an enum. Add default
	case to switch statement.
	(validateElementContent(ElementContentModel, List)):
	Use interface type with parameter for collection.
	Rename buf to buffer to avoid shadowing. Add
	type parameters.
	(createRegularExpression(ElementContentModel)): Rename
	buf to buffer to avoid shadowing. Use type parameters
	and avoid redundant casting.
	(validateDoctype()): Add type parameters and avoid
	redundant casting. Rename ids to exIDs to avoid
	shadowing.
	(Attribute.equals(Object)): Add @Override. Use
	isNamespaceAware() and isXML11() rather than
	trying to access private variables of outer class.
	Remove redundant else block.
	(Attribute.hashCode()): Implemented to match
	equals method.
	(Attribute.toString()): Add @Override. Rename
	buf to buffer to avoid shadowing.
	(Doctype): Rename externalEntities to externalEntitiesSet
	to avoid shadowing.
	(Doctype.addElementDecl(String,String,ContentModel)):
	Use getInputSize() rather than trying to access
	private variables of outer class.
	(Doctype.addAttributeDecl(String,String,AttributeDecl)):
	Add type parameters and remove redundant casts.
	(Doctype.addEntityDecl(String,ExternalIds,boolean)):
	Rename ids to exIDs to avoid shadowing.
	(Doctype.addNotationDecl(String,ExternalIds,boolean)):
	Likewise.
	(Doctype.getElementModel(String)): Remove redundant cast.
	(Doctype.getAttributeDecl(String,String)): Add type
	parameters and remove redundant casts.
	(Doctype.isAttributeDeclared(String,String)): Likewise.
	(Doctype.attlistIterator(String)): Likewise.
	(Doctype.entityIterator()): Add type parameter.
	(Doctype.getNotation(String)): Remove redundant cast.
	(Doctype.getComment(String)): Likewise.
	(Doctype.getPI(String)): Likewise.
	(Doctype.entryIterator()): Add type parameter.
	(ContentModel): Make static.
	(ContentModel.EMPTY): Removed.
	(ContentModel.ANY): Likewise.
	(ContentModel.ELEMENT): Likewise.
	(ContentModel.MIXED): Likewise.
	(ContentModel.Type): Introduce enum type with
	values EMPTY, ANY, ELEMENT and MIXED to replace
	integer constants.
	(ContentModel.type): Change type to ContentModel.Type.
	(EmptyContentModel): Make static.
	(EmptyContentModel.EmptyContentModel()): Initialise using
	enum constant.
	(AnyContentModel): Make static.
	(AnyContentModel.AnyContentModel()): Initialise using
	enum constant.
	(ElementContentModel): Make static.
	(ElementContentModel.ElementContentModel()): Initialise using
	enum constant. Add type parameters.
	(ContentParticle): Make static.
	(MixedContentModel): Likewise.
	(MixedContentModel.MixedContentModel()): Initialise using
	enum constant. Add type parameters.
	(AttributeDecl): Make static.
	(AttributeDecl.AttributeDecl(String,String,int,String,Set,
	boolean)): Use Set with type parameter instead of raw HashSet.
	(getCharacterOffset()): Add @Override.
	(getColumnNumber()): Likewise.
	(getLineNumber()): Likewise.
	(getPublicId()): Likewise.
	(getSystemId()): Likewise.
	(isNamespaceAware()): New package-private accessor
	for inner classes.
	(isXML11()): Likewise.
	(getInputSize()): Likewise.
	* javax/xml/parsers/SAXParser.java:
	(reset()): Fix documentation to refer to Java version
	rather than JAXP version.
	(getSchema()): Likewise. Suppress warnings about making
	this a static method.
	(isXIncludeAware()): Likewise.
</pre>
</div>
</content>
</entry>
<entry>
<title>Cleanup the majority of the warnings in the gnu.java.security, java.security, javax.security and gnu.javax.security classes.</title>
<updated>2015-03-11T21:18:20+00:00</updated>
<author>
<name>Andrew John Hughes</name>
<email>gnu_andrew@member.fsf.org</email>
</author>
<published>2015-03-11T21:16:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/classpath.git/commit/?id=229a0915fbb027f0bbb4ce9b0981bc4cd2d5472e'/>
<id>229a0915fbb027f0bbb4ce9b0981bc4cd2d5472e</id>
<content type='text'>
2015-03-11  Andrew John Hughes  &lt;gnu_andrew@member.fsf.org&gt;

	* configure.ac:
	(ECJ_WARNINGS): Turn off parameter assignment,
	autoboxing and overridding without a super method
	call warnings for now.
	* gnu/java/security/OID.java:
	(OID(int[],boolean)): Remove unnecessary cast on clone() call.
	(getIDs()): Likewise.
	(getDER()): Likewise.
	(clone()): Add @Override.
	(toString()): Add @Override. Remove unncessary else clause.
	(hashCode()): Add @Override.
	(equals(Object)): Likewise.
	(compareTo(OID)): Likewise.
	* gnu/java/security/PolicyFile.java:
	(getPermissions(CodeSource)): Add @Override.
	(refresh()): Likewise and on anonymous inner class run() method.
	(toString()): Add @Override.
	(parse(URL)): Throw exception if p is null, and suppress associated
	warning, as exception is thrown via error method. Add default
	empty case to switch method. Call error method with the exception,
	not the result of its toString() method. Remove unneeded else block.
	(expand(String)): Avoid shadowing the prop variable.
	(error(URL,StreamTokenizer,Throwable)): Add new variant that allows
	the cause to be included.
	* gnu/java/security/Properties.java:
	(init()): Avoid unnecessary casts.
	(handleBooleanProperty(String)): Make static.
	* gnu/java/security/action/GetPropertyAction.java:
	(run()): Add @Override.
	* gnu/java/security/action/GetSecurityPropertyAction.java:
	(run()): Add @Override.
	* gnu/java/security/ber/BERReader.java:
	(read()): Add @Override. Remove unnecessary else clause.
	* gnu/java/security/ber/BERValue.java:
	(getLength()): Add @Override.
	* gnu/java/security/der/BitString.java:
	(toByteArray()): Remove unnecessary cast on clone() call.
	(getShiftedByteArray()): Likewise.
	(toBooleanArray()): Likewise.
	(clone(): Add @Override.
	(hashCode()): Likewise.
	(equals(Object)): Likewise.
	(toString()): Likewise.
	* gnu/java/security/der/DERReader.java:
	(makeTime(int,byte[])): Make static. Mark fall-through
	cases in switch statement. Add default case which throws
	an exception.
	* gnu/java/security/der/DERValue.java:
	(DERValue(int,int,Object,byte[])): Remove unnecessary cast on clone() call.
	(getValueAs(int)): Avoid shadowing of encoded variable.
	(getEncoded()): Remove unnecessary cast on clone() call.
	(toString()): Add @Override.
	* gnu/java/security/hash/BaseHash.java:
	(name()): Add @Override.
	(hashSize()): Likewise.
	(blockSize()): Likewise.
	(update(byte)): Likewise.
	(update(byte[])): Likewise.
	(update(byte[],int,int)): Likewise.
	(digest()): Likewise.
	(reset()): Likewise.
	(clone()): Likewise.
	(selfTest()): Likewise.
	* gnu/java/security/hash/Haval.java:
	(Haval(Haval)): Remove unnecessary cast on clone() call.
	(clone()): Add @Override.
	(transform(byte[],int)): Likewise.
	(padBuffer()): Likewise.
	(getResult()): Likewise.
	(resetContext()): Likewise.
	(selfTest()): Likewise.
	(tailorDigestBits()): Add empty default case to switch statement.
	(FF5(int,int,int,int,int,int,int,int,int,int)): Make static.
	(f1(int,int,int,int,int,int,int)): Likewise.
	(f2(int,int,int,int,int,int,int)): Likewise.
	(f3(int,int,int,int,int,int,int)): Likewise.
	(f4(int,int,int,int,int,int,int)): Likewise.
	(f5(int,int,int,int,int,int,int)): Likewise.
	* gnu/java/security/hash/MD2.java:
	(MD2(MD2)): Remove unnecessary casts on clone() call.
	(clone()): Add @Override.
	(getResult()): Likewise.
	(resetContext()): Likewise.
	(selfTest())): Likewise.
	(padBuffer()): Likewise.
	(transform(byte[],int)): LIkewise.
	* gnu/java/security/hash/MD4.java:
	(MD4(MD4)): Remove unncessary casts on clone() call.
	(clone()): Add @Override.
	(getResult()): Likewise.
	(resetContext()): Likewise.
	(selfTest())): Likewise. Avoid shadowing d variable.
	(padBuffer()): Likewise.
	(transform(byte[],int)): LIkewise.
	* gnu/java/security/hash/MD5.java:
	(MD5(MD5)): Remove unnecessary casts on clone() call.
	(clone()): Add @Override.
	(transform(byte[],int)): LIkewise.
	(padBuffer()): Likewise.
	(getResult()): Likewise.
	(resetContext()): Likewise.
	(selfTest())): Likewise.
	* gnu/java/security/hash/RipeMD128.java:
	(RipeMD128(RipeMD128)): Remove unnecessary casts on clone() call.
	(clone()): Add @Override.
	(transform(byte[],int)): LIkewise.
	(padBuffer()): Likewise.
	(getResult()): Likewise.
	(resetContext()): Likewise.
	(selfTest())): Likewise.
	* gnu/java/security/hash/RipeMD160.java:
	(RipeMD160(RipeMD160)): Remove unnecessary casts on clone() call.
	(clone()): Add @Override.
	(transform(byte[],int)): LIkewise.
	(padBuffer()): Likewise.
	(getResult()): Likewise.
	(resetContext()): Likewise.
	(selfTest())): Likewise.
	* gnu/java/security/hash/Sha160.java:
	(Sha160(Sha160)): Remove unnecessary casts on clone() call.
	(clone()): Add @Override.
	(transform(byte[],int)): LIkewise.
	(padBuffer()): Likewise.
	(getResult()): Likewise.
	(resetContext()): Likewise.
	(selfTest())): Likewise.
	* gnu/java/security/hash/Sha256.java:
	(Sha256(Sha256)): Remove unnecessary casts on clone() call.
	(clone()): Add @Override.
	(transform(byte[],int)): LIkewise.
	(padBuffer()): Likewise.
	(getResult()): Likewise.
	(resetContext()): Likewise.
	(selfTest())): Likewise.
	* gnu/java/security/hash/Sha384.java:
	(Sha384(Sha384)): Remove unnecessary casts on clone() call.
	(clone()): Add @Override.
	(transform(byte[],int)): LIkewise.
	(padBuffer()): Likewise.
	(getResult()): Likewise.
	(resetContext()): Likewise.
	(selfTest())): Likewise.
	* gnu/java/security/hash/Sha512.java:
	(Sha512(Sha512)): Remove unnecessary casts on clone() call.
	(clone()): Add @Override.
	(transform(byte[],int)): LIkewise.
	(padBuffer()): Likewise.
	(getResult()): Likewise.
	(resetContext()): Likewise.
	(selfTest())): Likewise.
	* gnu/java/security/hash/Tiger.java:
	(Tiger(Tiger)): Remove unnecessary casts on clone() call.
	(clone()): Add @Override.
	(selfTest())): Likewise.
	(padBuffer()): Likewise.
	(getResult()): Likewise.
	(resetContext()): Likewise.
	(transform(byte[],int)): LIkewise.
	* gnu/java/security/hash/Whirlpool.java,
	(Whirlpool(Whirlpool)): Remove unnecessary casts on clone() call.
	(clone()): Add @Override.
	(transform(byte[],int)): LIkewise.
	(padBuffer()): Likewise.
	(getResult()): Likewise.
	(resetContext()): Likewise.
	(selfTest())): Likewise.
	* gnu/java/security/jce/hash/MessageDigestAdapter.java:
	(clone()): Add @Override.
	(engineGetDigestLength()): Likewise.
	(engineUpdate(byte)): Likewise.
	(engineUpdate(byte[],int,int)): Likewise.
	(engineDigest()): Likewise.
	(engineDigest(byte[],int,int)): Likewise.
	(engineReset()): Likewise.
	* gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java:
	(initialize(int,SecureRandom)): Add @Override.
	(initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
	* gnu/java/security/jce/sig/DSSParametersGenerator.java:
	(engineInit(int,SecureRandom)): Add @Override.
	(engineInit(AlgorithmParameterSpec,SecureRandom)): Likewise.
	(engineGenerateParameters()): Likewise.
	* gnu/java/security/jce/sig/EncodedKeyFactory.java:
	(decodeDSSPublicKey(DSAPublicKeySpec)): Make static.
	(decodeRSAPublicKey(RSAPublicKeySpec)): Likewise.
	(decodeDHPublicKey(DHPublicKeySpec)): Likewise.
	(decodeDHPublicKey(byte[]]): Likewise.
	(decodeDSSPrivateKey(DSAPrivateKeySpec)): Likewise.
	(decodeRSAPrivateKey(RSAPrivateCrtKeySpec)): Likewise.
	(decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
	(decodeDHPrivateKey(byte[])): Likewise.
	* gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java:
	(initialize(int,SecureRandom)): Add Override.
	(initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
	(generateKeyPair()): Likewise.
	(localiseName(String)): Uncomment conversion.
	* gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java:
	(initialize(int,SecureRandom)): Add Override.
	(initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
	* gnu/java/security/jce/sig/SignatureAdapter.java:
	Drop unneeded import of BaseSignature.
	(clone()): Add @Override.
	(engineInitVerify(PublicKey)): Reference VERIFIER_KEY via
	interface ISignature where it is defined.
	(engineInitSign(PrivateKey)): Likewise for SIGNER_KEY.
	(engineInitSign(PrivateKey,SecureRandom)): Likewise for
	SIGNER_KEY and SOURCE_OF_RANDOMNESS.
	* gnu/java/security/key/KeyPairCodecFactory.java:
	(getInstance(String,int)): Add default case which returns null.
	(getInstance(Key)): Likewise and fix typo in documentation.
	* gnu/java/security/key/dss/DSSKey.java:
	(getParams()): Add @Override.
	(getAlgorithm()): Likewise.
	(getEncoded()): Likewise.
	(getFormat()): LIkewise.
	(equals(Object)): Likewise.
	(hashCode()): Add implementation using java.util.Objects.hash
	(toString()): Remove unneeded cast.
	* gnu/java/security/key/dss/DSSKeyPairGenerator.java:
	(setup(MAp)): Remove unnecessary else clause.
	(generate()): Remove left-over debug statement.
	* gnu/java/security/key/dss/DSSKeyPairRawCodec.java:
	(getFormatID()): Add @Override.
	(encodePublicKey(PublicKey)): Likewise.
	(decodePublicKey(byte[])): Likewise.
	(encodePrivateKey(PrivateKey)): Likewise.
	(decodePrivateKey(byte[])): Likewise.
	* gnu/java/security/key/dss/DSSKeyPairX509Codec.java:
	(getFormatID()): Add @Override.
	(encodePublicKey(PublicKey)): Likewise.
	(encodePrivateKey(PrivateKey)): Likewise.
	(decodePublicKey(byte[])): Likewise.
	(decodePrivateKey(byte[])): Likewise.
	* gnu/java/security/key/dss/DSSPrivateKey.java:
	Drop unneeded reference to PrivateKey.
	(getX()): Add @Override.
	(getEncoded(int)): Likewise.
	(equals(Object)): Likewise.
	(hashCode()): Implemented.
	(toString()): Add @Override and remove unneeded cast.
	* gnu/java/security/key/dss/DSSPublicKey.java:
	Drop unneeded reference to PublicKey.
	(getY()): Add @Override.
	(getEncoded(int)): Likewise.
	(equals(Object)): Likewise.
	(hashCode()): Implemented.
	(toString()): Add @Override and remove unneeded cast.
	* gnu/java/security/key/rsa/GnuRSAKey.java:
	(getModulus()): Add @Override.
	(getAlgorithm()): Likewise.
	(getEncoded()): Likewise.
	(getFormat()): Likewise.
	(equals(Object)): Likewise.
	(hashCode()): Implemented using java.util.Objects.hash
	(toString()): Add @Override and remove unneeded cast.
	* gnu/java/security/key/rsa/GnuRSAPrivateKey.java:
	Drop unneeded reference to PrivateKey.
	(getPrimeP()): Add @Override.
	(getPrimeQ()): Likewise.
	(getPrimeExponentP()): Likewise.
	(getPrimeExponentQ()): Likewise.
	(getCrtCoefficient()): Likewise.
	(getPrivateExponent()): Likewise.
	(getEncoded(int)): Likewise.
	(equals(Object)): Likewise.
	(hashCode()): Implemented using java.util.Objects.hash.
	(toString()): Add @Override and remove unneeded cast.
	* gnu/java/security/key/rsa/GnuRSAPublicKey.java:
	Drop unneeded reference to PublicKey.
	(getEncoded()): Add @Override.
	(equals(Object)): Likewise.
	(hashCode()): Implemented.
	(toString()): Add @Override and remove unneeded cast.
	* gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java:
	(getFormatID()): Add @Override.
	(encodePublicKey(PublicKey)): Likewise.
	(encodePrivateKey(PrivateKey)): Likewise.
	(decodePublicKey(byte[])): Likewise.
	(decodePrivateKey(byte[])): Likewise.
	* gnu/java/security/key/rsa/RSAKeyPairRawCodec.java:
	(getFormatID()): Add @Override.
	(encodePublicKey(PublicKey)): Likewise.
	(decodePublicKey(byte[])): Likewise.
	(encodePrivateKey(PrivateKey)): Likewise.
	(decodePrivateKey(byte[])): Likewise.
	* gnu/java/security/pkcs/PKCS7SignedData.java:
	(PKCS7SignedData(BERReader)): Refer to constants by
	the interface where they are defined. Rename crls
	to avoid shadowing the class variable.
	* gnu/java/security/pkcs/SignerInfo.java:
	(SignerInfo(BERReader)): Refer to constants by the
	interface where they are defined.
	* gnu/java/security/prng/BasePRNG.java:
	(addRandomBytes(byte[])): Add @Override.
	(addRandomBytes(byte[],int,int)): Likewise. Rename
	buffer to buf to avoid shadowing.
	(clone()): Remove unnecessary cast and this references.
	* gnu/java/security/prng/MDGenerator.java:
	Remove unneeded reference to Cloneable.
	* gnu/java/security/prng/RandomEvent.java:
	(RandomEvent(Object,byte,byte,byte[])): Remove unnecessary cast.
	* gnu/java/security/provider/DefaultPolicy.java:
	(getPermissions(CodeSource)): Add @Override.
	(refresh()): Likewise.
	* gnu/java/security/provider/Gnu.java:
	(Gnu()): Add @Override to run implementation in anonymous inner
	class.
	* gnu/java/security/provider/PKIXCertPathValidatorImpl.java:
	(engineValidate(CertPath,CertPathParameters)): Add @Override. Remove
	unneeded cast and else clause.
	(checkExplicitPolicy(int,List)): Make static.
	* gnu/java/security/provider/X509CertificateFactory.java:
	(generateCert(InputStream)): Make static. Remove unnecessary
	else clause.
	(generateCRL(InputStream)): Likewise.
	* gnu/java/security/sig/SignatureCodecFactory.java:
	(getInstance(String,int)): Add default case to switch statement.
	* gnu/java/security/sig/dss/DSSSignature.java:
	(encodeSignature(BigInteger,BigInteger)): Make static.
	(decodeSignature(Object)): Likewise.
	* gnu/java/security/sig/dss/DSSSignatureRawCodec.java:
	(getFormatID()): Add @Override.
	(encodeSignature(Object)): Likewise.
	(decodeSignature(byte[])): Likewise.
	* gnu/java/security/sig/dss/DSSSignatureX509Codec.java:
	(getFormatID()): Add @Override.
	(encodeSignature(Object)): Likewise.
	(decodeSignature(byte[])): Likewise.
	* gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java:
	(clone()): Add @Override.
	* gnu/java/security/sig/rsa/EMSA_PSS.java:
	(clone()): Add @Override.
	* gnu/java/security/sig/rsa/RSA.java:
	(RSADP(RSAPrivateKey, BigInteger)): Suppress null warning
	as r is always non-null if rsaBlinding is true.
	* gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java:
	(clone()): Add @Override.
	(setupForVerification(PublicKey)): Likewise.
	(setupForSigning(PrivateKey)): Likewise.
	(generateSignature()): Likewise.
	(verifySignature(Object)): Likewise.
	* gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java:
	(getFormatID()): Add @Override.
	(encodeSignature(Object)): Likewise.
	(decodeSignature(byte[])): Likewise.
	* gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
	(getFormatID()): Add @Override.
	(encodeSignature(Object)): Likewise.
	(decodeSignature(byte[])): Likewise.
	* gnu/java/security/sig/rsa/RSAPSSSignature.java:
	(clone()): Add @Override.
	(setupForVerification(PublicKey)): Likewise. Remove unnecessary
	cast.
	(setupForSigning(PrivateKey)): Likewise.
	(generateSignature()): Add @Override.
	(verifySignature(Object)): Likewise.
	* gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java:
	(getFormatID()): Add @Override.
	(encodeSignature(Object)): Likewise.
	(decodeSignature(byte[])): Likewise.
	* gnu/java/security/util/ByteArray.java:
	(toString()): Add @Override.
	* gnu/java/security/util/ByteBufferOutputStream.java:
	(toString()): Add @Override.
	* gnu/java/security/util/ExpirableObject.java:
	(destroy()): Add @Override.
	(Destroyer.run()): Likewise.
	* gnu/java/security/util/FormatUtil.java:
	(getEncodingName(int)): Add default case for switch statement.
	(getEncodingShortName(int)): Likewise.
	* gnu/java/security/util/Sequence.java:
	(size()): Add @Override.
	(toArray()): Likewise. Remove unnecessary cast.
	* gnu/java/security/util/SimpleList.java:
	(size()): Add @Override.
	(get(int)): Likewise.
	(toString()): Likewise.
	* gnu/java/security/util/Util.java:
	(toBase64(byte[])): Add default case to switch statement which
	does nothing. Remove unnecessary else clause.
	* gnu/java/security/x509/PolicyNodeImpl.java:
	(addExpectedPolicy(String)): Rename variable to expectedPolicy
	to avoid shadowing policy variable.
	(addAllPolicyQualifiers(Collection)): Rename variable to
	policyQualifiers to avoid shadowing qualifiers variable.
	Rewrite collection check to catch ClassCastException as,
	if it.next() returns normally, it will always be an instance
	of PolicyQualifierInfo.
	(toString()): Add @Override.
	* gnu/java/security/x509/X500DistinguishedName.java:
	(X500DistinguishedName(String)): Throw IOException rather
	than catching it as calling methods in X509CRLSelector
	implementations, addIssuerName(String), expect an
	IOException to be thrown if there is a parsing error.
	(getName()): Add @Override.
	(hashCode()): Likewise.
	(equals(Object)): Likewise.
	(toString()): Likewise.
	(getDer()): Remove unnecessary casts.
	(readAttributeType(Reader)): Make static.
	* gnu/java/security/x509/X509CRL.java:
	(equals(Object)): Add @Override.
	(hashCode()): Likewise.
	(getEncoded()): Remove unnecessary cast.
	(getIssuerX500Principal()): Add @Override.
	(getTBSCertList()): Remove unnecessary cast.
	(getSignature()): Likewise.
	(getSigAlgParams()): Likewise.
	(hasUnsupportedCriticalExtension()): Add @Override.
	(getCriticialExtensionOIDs()): Likewise.
	(getNonCriticalExtensionOIDs()): Likewise.
	(getExtensionValue(String)): Likewise.
	(isRevoked(Certificate)): Likewise. Remove unnecessary
	cast.
	(parse(InputStream)): Remove unnecessary cast.
	* gnu/java/security/x509/X509CRLEntry.java:
	(getEncoded()): Remove unncessary cast.
	(hasUnsupportedCriticalExtension()): Add @Override.
	(getCriticialExtensionOIDs()): Likewise.
	(getNonCriticalExtensionOIDs()): Likewise.
	(getExtensionValue(String)): Likewise.
	* gnu/java/security/x509/X509CRLSelectorImpl.java:
	(addIssuerName(String)): Throw IOException as specified.
	* gnu/java/security/x509/X509CertPath.java:
	(getCertificates()): Add @Override.
	(getEncoded()): Likewise. Remove unnecessary casts.
	(getEncodings()): Add @Override.
	(parse(InputStream, String)): Rename path to parsedPath
	to avoid shadowing.
	* gnu/java/security/x509/X509CertSelectorImpl.java:
	(addIssuerName(String)): Throw IOException as specified.
	* gnu/java/security/x509/X509Certificate.java:
	Remove unneeded Serializable reference.
	(checkValidity()): Add @Override.
	(checkValidity(Date)): Likewise.
	(getVersion()): Likewise.
	(getSerialNumber()): Likewise.
	(getIssuerDN()): Likewise.
	(getIssuerX500Principal()): Likewise.
	(getSubjectDN()): Likewise.
	(getSubjectX500Principal()): Likewise.
	(getNotBefore()): Likewise.
	(getNotAfter()): Likewise.
	(getTBSCertificate()): Likewise. Remove unnecessary cast.
	(getSignature()): Likewise.
	(getSigAlgName()): Add @Override.
	(getSigAlgOID()): Likewise.
	(getSigAlgParams()): Likewise. Remove unnecessary cast.
	(getIssuerUniqueID()): Add @Override.
	(getSubjectUniqueID()): Likewise.
	(getKeyUsage()): Likewise.
	(getExtendedKeyUsage()): Likewise.
	(getBasicConstraints()): Likewise.
	(getSubjectAlternativeNames()): Likewise. Make conversion
	from int to Integer explicit.
	(getIssuerAlternativeNames()): Likewise.
	(hasUnsupportedCriticalExtension()): Add @Override.
	(getCriticialExtensionOIDs()): Likewise.
	(getNonCriticalExtensionOIDs()): Likewise.
	(getExtensionValue(String)): Likewise.
	(getEncoded()): Likewise. Remove unnecessary cast.
	(verify(PublicKey)): Add @Override.
	(verify(PublicKey, String)): Likewise.
	(toString()): Likewise.
	(getPublicKey()): Likewise.
	(parse(InputStream)): Rename encoded to enc to avoid shadowing.
	Avoid unnecessary cast.
	* gnu/java/security/x509/ext/AuthorityKeyIdentifier.java:
	(toString()): Add @Override.
	* gnu/java/security/x509/ext/BasicConstraints.java:
	(getEncoded()): Add @Override. Remove unncessary casts.
	(toString()): Add @Override.
	* gnu/java/security/x509/ext/CRLNumber.java:
	(getEncoded()): Add @Override. Remove unncessary casts.
	(toString()): Add @Override.
	* gnu/java/security/x509/ext/CertificatePolicies.java:
	(CertificatePolicies(List,Map)): Swap empty for-loop
	for a while loop.
	(getEncoded()): Add @Override. Remove unnecessary cast.
	(toString()): Add @Override.
	* gnu/java/security/x509/ext/ExtendedKeyUsage.java:
	(toString()): Add @Override.
	* gnu/java/security/x509/ext/Extension.java:
	(Extension(byte[])): Remove unnecessary cast.
	(getEncoded()): Likewise.
	(toString()): Add @Override.
	(Value.Value(byte[])): Remove unnecessary cast.
	(Value.getEncoded()): Likewise.
	(hashCode()): Add @Override.
	(equals(Object)): Likewise.
	(toString()): Likewise.
	* gnu/java/security/x509/ext/GeneralName.java:
	(Kind.forTag(int)): Add default case.
	(Kind): Remove unnecessary ; on closing brace.
	(GeneralName(Kind,byte[])): Remove unnecessary cast.
	(name()): Likewise.
	(encoded()): Check for null rather than catching exception.
	Remove unnecessary cast.
	(equals(Object)): Add @Override. Avoid unnecessary method call.
	(hashCode()): Implemented using java.util.Objects.hash.
	(toString()): Add @Override.
	* gnu/java/security/x509/ext/GeneralNames.java:
	(toString()): Add @Override.
	* gnu/java/security/x509/ext/GeneralSubtree.java:
	(toString()): Add @Override.
	* gnu/java/security/x509/ext/IssuerAlternativeNames.java:
	(toString()): Add @Override.
	* gnu/java/security/x509/ext/KeyUsage.java:
	(toString()): Add @Override.
	* gnu/java/security/x509/ext/NameConstraints.java:
	(toString()): Add @Override.
	* gnu/java/security/x509/ext/PolicyConstraint.java:
	(toString()): Add @Override.
	* gnu/java/security/x509/ext/PolicyMappings.java:
	(toString()): Add @Override.
	* gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java:
	(toString()): Add @Override.
	* gnu/java/security/x509/ext/ReasonCode.java:
	(toString()): Add @Override.
	* gnu/java/security/x509/ext/SubjectAlternativeNames.java:
	(toString()): Add @Override.
	* gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
	(getKeyIdentifier()): Remove unnecessary cast.
	(toString()): Add @Override.
	* gnu/javax/security/auth/Password.java:
	(doDestroy): Add @Override. Remove unneeded else block.
	(isDestroyed): Add @Override.
	* gnu/javax/security/auth/callback/AWTCallbackHandler.java:
	(handleChoice(ChoiceCallback)): Add @Override.
	(handleConfirmation(ConfirmationCallback)): Likewise.
	(handleLanguage(LanguageCallback)): Likewise.
	(handleName(NameCallback)): Likewise.
	(handlePassword(PasswordCallback)): Likewise.
	(handleTextInput(TextInputCallback)): Likewise.
	(handleTextOutput(TextOutputCallback)): Likewise.
	(actionPerformed(ActionEvent)): Likewise.
	(windowClosing(WindowEvent)): Likewise.
	(windowOpened(WindowEvent)): Likewise.
	(windowClosed(WindowEvent)): Likewise.
	(windowIconified(WindowEvent)): Likewise.
	(windowDeiconified(WindowEvent)): Likewise.
	(windowActivated(WindowEvent)): Likewise.
	(windowDeactivated(WindowEvent)): Likewise.
	* gnu/javax/security/auth/callback/AbstractCallbackHandler.java:
	(AbstractCallbackHandler(String)): Reference getBundle by class
	where it is implemented (ResourceBundle).
	(handle(Callback[])): Add @Override.
	(handleChoice(ChoiceCallback)): Allow and document an
	UnsupportedCallbackException being thrown.
	(handleConfirmation(ConfirmationCallback)): Likewise.
	(handleLanguage(LanguageCallback)): Likewise.
	(handleName(NameCallback)): Likewise.
	(handlePassword(PasswordCallback)): Likewise.
	(handleTextInput(TextInputCallback)): Likewise.
	(handleTextOutput(TextOutputCallback)): Likewise.
	(handleOther(Callback)): Suppress warnings resulting from
	unused variables, unthrown exceptions and lack of IOException
	being thrown. They are necessary for subclasses.
	* gnu/javax/security/auth/callback/ConsoleCallbackHandler.java:
	(handleChoice(ChoiceCallback)): Add @Override. Drop unnecessary
	cast.
	(handleConfirmation(ConfirmationCallback)): Add @Override.
	(handleLanguage(LanguageCallback)): Likewise.
	(handleName(NameCallback)): Likewise.
	(handlePassword(PasswordCallback)): Likewise.
	(handleTextInput(TextInputCallback)): Likewise.
	(handleTextOutput(TextOutputCallback)): Likewise.
	* gnu/javax/security/auth/callback/DefaultCallbackHandler.java:
	(handleChoice(ChoiceCallback)): Add @Override.
	(handleConfirmation(ConfirmationCallback)): Likewise.
	(handleLanguage(LanguageCallback)): Likewise.
	(handleName(NameCallback)): Likewise.
	(handlePassword(PasswordCallback)): Likewise.
	(handleTextInput(TextInputCallback)): Likewise.
	(handleTextOutput(TextOutputCallback)): Likewise.
	* gnu/javax/security/auth/callback/GnuCallbacks.java:
	(GnuCallbacks()): Add @Override to run() implementation
	in anonymous inner class.
	* gnu/javax/security/auth/callback/SwingCallbackHandler.java:
	(handleChoice(ChoiceCallback)): Add @Override to method
	and methods of anonymous inner classes. Refer to
	constants using interface where they appear.
	(handleConfirmation(ConfirmationCallback)): Add @Override
	to method and methods of anonymous inner class. Declare
	UnsupportedCallbackException as thrown and add default
	cases and fall-through markers to switch statements.
	(handleLanguage(LanguageCallback)): Add @Override. Remove
	unused variable defaultIndex.
	(handleName(NameCallback)): Add @Override to method and
	method of anonymous inner class.
	(handlePassword(PasswordCallback)): Likewise.
	(handleTextInput(TextInputCallback)): Likewise. Refer to
	constants using interface where they appear.
	(handleTextOutput(TextOutputCallback)): Likewise. Declare
	UnsupportedCallbackException as thrown and add default
	case to switch statement.
	(waitForInput(JDialog, Callback)): Make static.
	* gnu/javax/security/auth/login/ConfigFileParser.java:
	(initParser(Reader)): Don't declare IOException as thrown
	as one is never thrown.
	(expandParamValue(String)): Make static.
	* gnu/javax/security/auth/login/GnuConfiguration.java:
	(getAppConfigurationEntry(String)): Add @Override.
	(refresh()): Likewise.
	(getInputStreamFromURL(String)): Make static.
	(parseConfig(InputStream)): Remove unneeded variable.
	(getUserName()): Make static.
	(getConfigFromUserName(File,String)): Likewise.
	* java/security/AccessControlContext.java:
	(equals(Object)): Add @Override.
	(hashCode()): Likewise.
	* java/security/AlgorithmParameters.java:
	(toString()): Add @Override.
	* java/security/AllPermission.java:
	(AllPermission(String,String)): Suppress
	warning about actions variable being unused.
	(implies(Permission)): Add @Override.
	(equals(Object)): Likewise.
	(hashCode()): Likewise.
	(getActions()): Likewise.
	(newPermissionCollection()): Likewise.
	(AllPermissionCollection()): Add public constructor
	to avoid generating a synthetic accessor method.
	* java/security/BasicPermission.java:
	Remove unneeded Serializable reference.
	(BasicPermission(String,String)): Suppress
	warnings about actions variable being unused.
	(getActions()): Add @Override.
	(newPermissionCollection()): Likewise.
	* java/security/Certificate.java:
	Mark with @Deprecated. Fix typo in documentation.
	* java/security/DigestInputStream.java:
	(read()): Add @Override.
	(read(byte[],int,int)): Likewise.
	(toString()): Likewise.
	* java/security/DigestOutputStream.java:
	(write(int)): Add @Override.
	(write(byte[],int,int)): Likewise.
	(toString()): Likewise.
	* java/security/DummyKeyPairGenerator.java:
	(clone()): Add @Override.
	(initialize(int,SecureRandom)): Likewise.
	(initialize(AlgorithmParameterSpec,SecureRandom)):
	Likewise.
	(generateKeyPair()): Likewise.
	* java/security/DummyMessageDigest.java:
	(clone()): Add @Override.
	(engineDigest()): Likewise.
	(engineDigest(byte[],int,int)): Likewise.
	(engineGetDigestLength()): Likewise.
	(engineReset()): Likewise.
	(engineUpdate(byte)): Likewise.
	(engineUpdate(byte[],int,int)): Likewise.
	* java/security/Identity.java:
	Mark as @Deprecated. Fix typo in documentation.
	(getName()): Add @Override.
	(equals(Object)): Likewise.
	(toString()): Likewise.
	(toString(boolean)): Remove unnecessary else clause.
	(hashCode()): Add @Override.
	* java/security/IdentityScope.java:
	Mark as @Deprecated.
	(toString()): Add @Override.
	* java/security/IntersectingDomainCombiner.java:
	(combine(ProtectionDomain[],ProtectionDomain[])):
	Add @Override.
	* java/security/KeyPairGenerator.java:
	(generateKeyPair()): Add @Override.
	* java/security/KeyPairGeneratorSpi.java:
	(initialize(AlgorithmParameterSpec,SecureRandom)):
	Suppress warning about making this method static.
	Intended to be overridden by subclasses.
	(clone()): Add @Override.
	* java/security/KeyStore.java:
	(getInstance(String,Provider)): Fix typo in documentation.
	(getDefaultType()): Add @Override to run() in anonymous
	inner class.
	* java/security/MessageDigest.java:
	(toString()): Add @Override.
	(clone()): Likewise.
	* java/security/MessageDigestSpi.java:
	(engineGetDigestLength()): Suppress warning about
	making this method static. Intended to be overridden
	by subclasses.
	(clone()): Add @Override.
	* java/security/Permission.java:
	(checkGuard(Object)): Add @Override.
	(equals(Object)): Likewise.
	(hashCode()): Likewise.
	(newPermissionCollection()): Likewise.
	(toString()): Likewise.
	* java/security/PermissionCollection.java:
	(toString()): Add @Override.
	* java/security/Permissions.java:
	Remove unneeded Serializable reference.
	(elements()): Add @Override to hasMoreElements
	and nextElement methods in anonymous inner class.
	(PermissionsHash.PermissionsHash()): Add explicit
	constructor to avoid a synthetic accessor method.
	(add(Permission)): Mark synchronized.
	(implies(Permission)): Likewise.
	* java/security/Policy.java:
	(implies(ProtectionDomain,Permission)): Remove
	unnecessary cast.
	* java/security/Principal.java:
	(equals(Object)): Add @Override.
	(toString()): Likewise.
	(hashCode()): Likewise.
	* java/security/PrivilegedActionException.java:
	(getCause()): Add @Override.
	(toString()): Removed; pointless as it just calls
	superclass version.
	* java/security/ProtectionDomain.java:
	(ProtectionDomain(CodeSource,PermissionCollection,
	ClassLoader,Principal[],boolean)): Remove unnecessary
	cast.
	(getPrincipals()): Add @Override.
	(toString()): Likewise.
	* java/security/Provider.java:
	Remove unneeded Serializable reference.
	(put(Object,Object)): Add @Override. Suppress warnings
	about overridding a synchronized method as all collection
	modifications are made in synchronized superclass method.
	(get(Object)): Likewise.
	(remove(Object)): Likewise.
	(clear()): Likewise.
	(toString()): Add @Override. Suppress warning about
	overridding a synchronized method as the collection isn't
	used.
	(toCanonicalKey(Object)): Make static.
	* java/security/SecureClassLoader.java:
	(getPermissions(CodeSource)): Suppress warning about
	making this method static; may potentially be overridden
	by subclasses. Avoid unnecessary variable policy.
	* java/security/SecureRandom.java:
	(setSeed(byte[])): Make synchronized to prevent
	concurrent access to secureRandomSpi.
	(setSeed(long)): Add @Override and make synchronized.
	(nextBytes(byte[])): Likewise.
	(next(int)): Likewise.
	(generateSeed(byte[])): Make synchronized.
	* java/security/Security.java:
	(getAlgorithmProperty(String,String)): Add @Deprecated.
	(getProvider(String)): Remove unnecessary else clause.
	(getAlgorithm(String)): Use provs instead of providers
	to avoid shadowing class variable.
	(provides(Provider,String,String,String,String)): Set
	serviceDotAlgorithm to the empty string to avoid null
	pointer issues.
	* java/security/SecurityPermission.java:
	(SecurityPermission(String,String)): Suppress warning
	due to nothing being done with actions.
	* java/security/Signature.java:
	(sign()): Remove unnecessary else clause.
	(sign(byte[],int,int)): Likewise.
	(verify(byte[])): Likewise.
	(toString()): Mark @Override.
	(setParameter(String,Object)): Add @Deprecated.
	(getParameter(String)): Likewise.
	(clone()): Add @Override.
	* java/security/SignatureSpi.java:
	(engineSetParameter(String,Object)): Add @Deprecated.
	(engineSetParameter(AlgorithmParameterSpec)): Suppress
	warnings about unused variables, unthrown exceptions and
	ability to be a static method. Subclasses override this.
	(engineGetParameters()): Suppress warnings about making
	this method static.
	(engineGetParameter(String)): Add @Deprecated.
	* java/security/SignedObject.java:
	(getSignature()): Remove unnecessary cast.
	(readObject(ObjectInputStream)): Likewise x 2.
	* java/security/Signer.java:
	Mark as @Deprecated.
	(toString()): Add @Override.
	* java/security/UnresolvedPermission.java:
	(getUnresolvedCerts()): Remove unnecessaary cast.
	(UnresolvedPermissionCollection.elements()):
	Add @Override to hasMoreElements and nextElement.
	* java/security/acl/Acl.java:
	(toString()): Add @Override.
	* java/security/acl/AclEntry.java:
	(setPrincipal(Principal)): Fix formatting of documentation.
	(addPermission(Permission)): Likewise.
	(removePermission(Permission)): Likewise.
	(checkPermission(Permission)): Likewise.
	(toString()): Add @Override.
	* java/security/acl/Permission.java:
	(equals(Object)): Add @Override.
	(toString()): Likewise.
	* java/security/cert/CRL.java:
	(toString()): Add @Override.
	* java/security/cert/CertPath.java:
	(equals(Object)): Add @Override.
	(hashCode()): Likewise.
	(toString()): Likewise.
	* java/security/cert/CertPathBuilderException.java:
	(CertPathBuilderException(Throwable)): Just call
	superclass constructor.
	(CertPathBuilderException(String,Throwable)): Likewise.
	(getMessage()): Removed; provided by superclass.
	(getCause()): Likewise.
	(toString()): Likewise.
	(printStackTrace()): Likewise.
	(printStackTrace(PrintStream)): Likewise.
	(printStackTrace(PrintWriter)): Likewise.
	* java/security/cert/CertPathValidatorException.java:
	(CertPathValidatorException(String,Throwable)): Just call
	superclass with both arguments, rather than initCause.
	(getMessage()): Removed; provided by superclass.
	(getCause()): Likewise.
	(toString()): Likewise.
	(printStackTrace()): Likewise.
	(printStackTrace(PrintStream)): Likewise.
	(printStackTrace(PrintWriter)): Likewise.
	* java/security/cert/CertStoreException.java:
	(CertStoreException(Throwable)): Just call superclass
	constructor.
	(CertStoreException(String,Throwable)): Likewise.
	(getMessage()): Removed; provided by superclass.
	(getCause()): Likewise.
	(toString()): Likewise.
	(printStackTrace()): Likewise.
	(printStackTrace(PrintStream)): Likewise.
	(printStackTrace(PrintWriter)): Likewise.
	* java/security/cert/CertStoreSpi.java:
	(CertStoreSpi(CertStoreParameters)): Suppress warnings
	about exception not being thrown. Present for subclasses.
	* java/security/cert/Certificate.java:
	(equals(Object)): Add @Override.
	(hashCode()): Likewise.
	(toString()): Likewise.
	* java/security/cert/CertificateFactorySpi.java:
	(engineGenerateCertPath(InputStream)): Suppress warnings
	about unused arguments, exceptions not being thrown and
	method can be static. Provided for subclass implementations.
	(engineGenerateCertPath(InputStream,String)): Likewise.
	(engineGenerateCertPath(List)): Likewise.
	(engineGetCertPathEncodings()): Likewise.
	* java/security/cert/CollectionCertStoreParameters.java:
	(toString()): Add @Override.
	* java/security/cert/LDAPCertStoreParameters.java:
	(clone()): Add @Override.
	(toString()): Likewise.
	* java/security/cert/PKIXBuilderParameters.java:
	(toString()): Likewise.
	* java/security/cert/PKIXCertPathBuilderResult.java:
	(getCertPath()): Add @Override.
	(toString()): Likewise.
	* java/security/cert/PKIXCertPathChecker.java:
	(clone()): Add @Override.
	* java/security/cert/PKIXCertPathValidatorResult.java:
	(clone()): Add @Override.
	(toString()): Likewise.
	* java/security/cert/PKIXParameters.java:
	(clone()): Add @Overrride.
	(toString()): Likewise.
	* java/security/cert/PolicyQualifierInfo.java:
	(PolicyQualifierInfo(byte[])): Remove unnecessary cast.
	(getEncoded()): Likewise.
	(toString()): Add @Override.
	* java/security/cert/TrustAnchor.java:
	(TrustAnchor(X509Certificate,byte[])): Remove unnecessary cast.
	(TrustAnchor(String,PublicKey,byte[])): Document exceptions.
	Catch IOException and throw as IllegalArgumentException.
	Remove unnecessary casts.
	(toString()): Add @Override.
	* java/security/cert/X509CRL.java:
	(equals(Object)): Add @Override.
	(hashCode()): Likewise.
	(getIssuerX500Principal()): Suppress warning about making this
	static. Should be overridden by subclasses.
	* java/security/cert/X509CRLEntry.java:
	(equals(Object):: Add @Override.
	(hashCode()): Likewise.
	(toString()): Likewise.
	* java/security/cert/X509CRLSelector.java:
	Remove unneeded Cloneable reference.
	(getIssuerNames()): Remove unneeded else block.
	(toString()): Add @Override.
	(match(CRL)): Likewise.
	(clone()): LIkewise.
	* java/security/cert/X509CertSelector.java:
	Remove unneeded Cloneable reference.
	(makeName(int,String)): Re-use earlier result of Kind.forTag(id).
	Add default case.
	(clone()): Add @Override.
	(getAuthorityKeyIdentifier()): Remove unneeded else block
	and cast.
	(getCertificateValid()): Remove unneeded else block.
	(getExtendedKeyUsage()): Likewise.
	(getIssuerAsBytes()): Likewise.
	(getIssuerAsString()): Likewise.
	(getKeyUsage()): Likewise and remove unneeded cast.
	(getNameConstraints()): Likewise.
	(getPathToNames()): Explicitly convert int to Integer.
	(getPrivateKeyValid()): Suppress static method warning.
	Method is deliberately useless.
	(getSubjectAlternativeNames()): Explicitly convert int to
	Integer.
	(getSubjectAsBytes()): Remove unneeded else block.
	(getSubjectAsString()): Likewise.
	(getSubjectKeyIdentifier()): Likewise and remove unneeded
	cast.
	(match(Certificate)): Add @Override. Rename cert to other
	to avoid shadowing.
	(setNameConstraints(byte[])): Remove unnecessary cast.
	Suppress warnings about NameConstraints instance being unused.
	(setPrivateKeyValid()): Suppress unused variable warning.
	Method is deliberately useless.
	(setSubjectPublicKey(PublicKey)): Remove unneeded cast.
	(toString()): Add @Override.
	* java/security/cert/X509Certificate.java:
	(getExtendedKeyUsage()): Suppress unthrown exception warning
	and static method suggestion. Overridden by subclasses.
	(getSubjectAlternativeNames()): Likewise.
	(getIssuerAlternativeNames()): Likewise.
	(getSubjectX500Principal()): Suppress static method suggestion.
	Overridden by subclasses.
	(getIssuerX500Principal()): Likewise.
	* java/security/spec/DSAParameterSpec.java:
	(getP()): Add @Override.
	(getQ()): Likewise.
	(getG()): Likewise.
	* java/security/spec/PKCS8EncodedKeySpec.java:
	(getEncoded()): Add @Override.
	(getFormat()): Likewise.
	* java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
	(RSAMultiPrimePrivateCrtKeySpec(BigInteger,BigInteger,BigInteger,
	BigInteger,BigInteger,BigInteger,BigInteger,BigInteger,
	RSAOtherPrimeInfo[])): Remove unneeded else block.
	* java/security/spec/X509EncodedKeySpec.java:
	(getEncoded()): Add @Override.
	(getFormat()): Likewise.
	* javax/security/auth/Policy.java:
	Add @Deprecated.
	* javax/security/auth/PrivateCredentialPermission.java:
	Remove unneeded Serializable reference.
	(equals(Object)): Add @Override. Rename principals to
	thisPrincipals to avoid shadowing.
	(getActions()): Add @Override.
	(hashCode()): Likewise.
	(implies(Permission)): Likewise. Rename principals to
	thisPrincipals to avoid shadowing.
	(newPermissionCollection()): Add @Override to method
	and anonymous inner class implementations of equals(Object) &amp;
	hashCode().
	* javax/security/auth/SubjectDomainCombiner.java:
	(combine(ProtectionDomain[],ProtectionDomain[])): Add @Override.
	* javax/security/auth/callback/ConfirmationCallback.java:
	(setOptions(String[],int)): Move reference to options.length to
	after options null check.
	* javax/security/auth/kerberos/KerberosKey.java:
	Remove unneeded Serializable reference.
	(getAlgorithm()): Add @Override.
	(getFormat()): Likewise.
	(getEncoded()): Likewise and remove unnecessary cast.
	(destroy()): Add @Override.
	(isDestroyed()): Likewise.
	(toString()): Likewise.
	* javax/security/auth/kerberos/KerberosPrincipal.java:
	(getName()): Add @Override.
	(hashCode()): Likewise.
	(equals(Object)): Likewise.
	(toString()): Likewise.
	* javax/security/auth/kerberos/KerberosTicket.java:
	(asn1Encoding): Remove @SuppressWarnings.
	(KerberosTicket(byte[],KerberosPrincipal,KerberosPrincipal,
	byte[],int,boolean[],Date,Date,Date,Date,InetAddress[])):
	Remove unnecessary cast. Remove duplicate assignment to flags.
	(destroy()): Add @Override.
	(isDestroyed()): Likewise.
	(isCurrent()): Likewise.
	(refresh()): Likewise.
	(getFlags()): Remove unnecessary cast.
	(getEncoded()): Likewise.
	(toString()): Add @Override.
	* javax/security/auth/kerberos/KeyImpl.java:
	Remove unneeded Serializable reference.
	(KeyImpl(byte[],int)): Remove unnecessary cast.
	(getAlgorithm()): Add @Override.
	(getEncoded()): Likewise.
	(getFormat()): Likewise.
	(toString()): Likewise.
	* javax/security/auth/login/AppConfigurationEntry.java:
	(toString()): Add @Override.
	(LoginModuleControlFlag.toString()): Likewise.
	* javax/security/auth/login/Configuration.java:
	(getConfig()): Use GetSecurityPropertyAction rather than
	a bespoke PrivilegedAction implementation.
	* javax/security/auth/login/LoginContext.java:
	(LoginContext(String,Subject,CallbackHandler,Configuration)):
	Rename entries to appEntries to avoid shadowing.
	(lookupModule(AppConfigurationEntry,Subject,Map)): Rename
	subject to subj to avoid shadowing. Check module is null
	rather than cause is non-null.
	* javax/security/auth/login/NullConfiguration.java:
	(getAppConfigurationEntry(String)): Add @Override.
	(refresh()): Likewise.
	* javax/security/auth/x500/X500Principal.java:
	(hashCode()): Add @Override.
	(equals(Object)): Likewise.
	(getEncoded()): Remove unnecessary cast.
	(getName()): Add @Override.
	(toString()): Likewise.
	(readAttributeType(Reader)): Make static.
	(parseDer(InputStream)): Rename encoded to encodedStream to
	avoid shadowing.
	* javax/security/auth/x500/X500PrivateCredential.java:
	(destroy()): Add @Override.
	(isDestroyed()): Likewise.
	* javax/security/cert/Certificate.java:
	(equals(Object)): Add @Override.
	(hashCode()): Likewise.
	(toString()): Likewise.
	* javax/security/cert/X509CertBridge.java:
	(getEncoded()): Add @Override.
	(verify(PublicKey)): Likewise.
	(verify(PublicKey,String)): Likewise.
	(toString()): Likewise.
	(getPublicKey()): Likewise.
	(checkValidity()): Likewise.
	(checkValidity(Date)): Likewise.
	(getVersion()): Likewise.
	(getSerialNumber()): Likewise.
	(getIssuerDN()): Likewise.
	(getSubjectDN()): Likewise.
	(getNotBefore()): Likewise.
	(getNotAfter()): Likewise.
	(getSigAlgName()): Likewise.
	(getSigAlgOID()): Likewise.
	(getSigAlgParams()): Likewise.
	* javax/security/sasl/Sasl.java:
	(createSaslClient(String[],String,String,String,Map,CallbackHandler)):
	Remove unnecessary else clause and pointless result assignment.
	(createSaslServer(String,String,String,Map,CallbackHandler)): Likewise.
	* javax/security/sasl/SaslException.java:
	Remove unneeded Serializable reference.
	(SaslException(String,Throwable)): Add cause to superclass call.
	(getCause()): Add @Override.
	(printStackTrace()): Removed; provided by superclass.
	(printStackTrace(PrintStream)): Likewise.
	(printStackTrace(PrintWriter)): Likewise.
	(initCause(Throwable)): Call superclass version, then sync the
	local copy.
	(toString()): Add @Override.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
2015-03-11  Andrew John Hughes  &lt;gnu_andrew@member.fsf.org&gt;

	* configure.ac:
	(ECJ_WARNINGS): Turn off parameter assignment,
	autoboxing and overridding without a super method
	call warnings for now.
	* gnu/java/security/OID.java:
	(OID(int[],boolean)): Remove unnecessary cast on clone() call.
	(getIDs()): Likewise.
	(getDER()): Likewise.
	(clone()): Add @Override.
	(toString()): Add @Override. Remove unncessary else clause.
	(hashCode()): Add @Override.
	(equals(Object)): Likewise.
	(compareTo(OID)): Likewise.
	* gnu/java/security/PolicyFile.java:
	(getPermissions(CodeSource)): Add @Override.
	(refresh()): Likewise and on anonymous inner class run() method.
	(toString()): Add @Override.
	(parse(URL)): Throw exception if p is null, and suppress associated
	warning, as exception is thrown via error method. Add default
	empty case to switch method. Call error method with the exception,
	not the result of its toString() method. Remove unneeded else block.
	(expand(String)): Avoid shadowing the prop variable.
	(error(URL,StreamTokenizer,Throwable)): Add new variant that allows
	the cause to be included.
	* gnu/java/security/Properties.java:
	(init()): Avoid unnecessary casts.
	(handleBooleanProperty(String)): Make static.
	* gnu/java/security/action/GetPropertyAction.java:
	(run()): Add @Override.
	* gnu/java/security/action/GetSecurityPropertyAction.java:
	(run()): Add @Override.
	* gnu/java/security/ber/BERReader.java:
	(read()): Add @Override. Remove unnecessary else clause.
	* gnu/java/security/ber/BERValue.java:
	(getLength()): Add @Override.
	* gnu/java/security/der/BitString.java:
	(toByteArray()): Remove unnecessary cast on clone() call.
	(getShiftedByteArray()): Likewise.
	(toBooleanArray()): Likewise.
	(clone(): Add @Override.
	(hashCode()): Likewise.
	(equals(Object)): Likewise.
	(toString()): Likewise.
	* gnu/java/security/der/DERReader.java:
	(makeTime(int,byte[])): Make static. Mark fall-through
	cases in switch statement. Add default case which throws
	an exception.
	* gnu/java/security/der/DERValue.java:
	(DERValue(int,int,Object,byte[])): Remove unnecessary cast on clone() call.
	(getValueAs(int)): Avoid shadowing of encoded variable.
	(getEncoded()): Remove unnecessary cast on clone() call.
	(toString()): Add @Override.
	* gnu/java/security/hash/BaseHash.java:
	(name()): Add @Override.
	(hashSize()): Likewise.
	(blockSize()): Likewise.
	(update(byte)): Likewise.
	(update(byte[])): Likewise.
	(update(byte[],int,int)): Likewise.
	(digest()): Likewise.
	(reset()): Likewise.
	(clone()): Likewise.
	(selfTest()): Likewise.
	* gnu/java/security/hash/Haval.java:
	(Haval(Haval)): Remove unnecessary cast on clone() call.
	(clone()): Add @Override.
	(transform(byte[],int)): Likewise.
	(padBuffer()): Likewise.
	(getResult()): Likewise.
	(resetContext()): Likewise.
	(selfTest()): Likewise.
	(tailorDigestBits()): Add empty default case to switch statement.
	(FF5(int,int,int,int,int,int,int,int,int,int)): Make static.
	(f1(int,int,int,int,int,int,int)): Likewise.
	(f2(int,int,int,int,int,int,int)): Likewise.
	(f3(int,int,int,int,int,int,int)): Likewise.
	(f4(int,int,int,int,int,int,int)): Likewise.
	(f5(int,int,int,int,int,int,int)): Likewise.
	* gnu/java/security/hash/MD2.java:
	(MD2(MD2)): Remove unnecessary casts on clone() call.
	(clone()): Add @Override.
	(getResult()): Likewise.
	(resetContext()): Likewise.
	(selfTest())): Likewise.
	(padBuffer()): Likewise.
	(transform(byte[],int)): LIkewise.
	* gnu/java/security/hash/MD4.java:
	(MD4(MD4)): Remove unncessary casts on clone() call.
	(clone()): Add @Override.
	(getResult()): Likewise.
	(resetContext()): Likewise.
	(selfTest())): Likewise. Avoid shadowing d variable.
	(padBuffer()): Likewise.
	(transform(byte[],int)): LIkewise.
	* gnu/java/security/hash/MD5.java:
	(MD5(MD5)): Remove unnecessary casts on clone() call.
	(clone()): Add @Override.
	(transform(byte[],int)): LIkewise.
	(padBuffer()): Likewise.
	(getResult()): Likewise.
	(resetContext()): Likewise.
	(selfTest())): Likewise.
	* gnu/java/security/hash/RipeMD128.java:
	(RipeMD128(RipeMD128)): Remove unnecessary casts on clone() call.
	(clone()): Add @Override.
	(transform(byte[],int)): LIkewise.
	(padBuffer()): Likewise.
	(getResult()): Likewise.
	(resetContext()): Likewise.
	(selfTest())): Likewise.
	* gnu/java/security/hash/RipeMD160.java:
	(RipeMD160(RipeMD160)): Remove unnecessary casts on clone() call.
	(clone()): Add @Override.
	(transform(byte[],int)): LIkewise.
	(padBuffer()): Likewise.
	(getResult()): Likewise.
	(resetContext()): Likewise.
	(selfTest())): Likewise.
	* gnu/java/security/hash/Sha160.java:
	(Sha160(Sha160)): Remove unnecessary casts on clone() call.
	(clone()): Add @Override.
	(transform(byte[],int)): LIkewise.
	(padBuffer()): Likewise.
	(getResult()): Likewise.
	(resetContext()): Likewise.
	(selfTest())): Likewise.
	* gnu/java/security/hash/Sha256.java:
	(Sha256(Sha256)): Remove unnecessary casts on clone() call.
	(clone()): Add @Override.
	(transform(byte[],int)): LIkewise.
	(padBuffer()): Likewise.
	(getResult()): Likewise.
	(resetContext()): Likewise.
	(selfTest())): Likewise.
	* gnu/java/security/hash/Sha384.java:
	(Sha384(Sha384)): Remove unnecessary casts on clone() call.
	(clone()): Add @Override.
	(transform(byte[],int)): LIkewise.
	(padBuffer()): Likewise.
	(getResult()): Likewise.
	(resetContext()): Likewise.
	(selfTest())): Likewise.
	* gnu/java/security/hash/Sha512.java:
	(Sha512(Sha512)): Remove unnecessary casts on clone() call.
	(clone()): Add @Override.
	(transform(byte[],int)): LIkewise.
	(padBuffer()): Likewise.
	(getResult()): Likewise.
	(resetContext()): Likewise.
	(selfTest())): Likewise.
	* gnu/java/security/hash/Tiger.java:
	(Tiger(Tiger)): Remove unnecessary casts on clone() call.
	(clone()): Add @Override.
	(selfTest())): Likewise.
	(padBuffer()): Likewise.
	(getResult()): Likewise.
	(resetContext()): Likewise.
	(transform(byte[],int)): LIkewise.
	* gnu/java/security/hash/Whirlpool.java,
	(Whirlpool(Whirlpool)): Remove unnecessary casts on clone() call.
	(clone()): Add @Override.
	(transform(byte[],int)): LIkewise.
	(padBuffer()): Likewise.
	(getResult()): Likewise.
	(resetContext()): Likewise.
	(selfTest())): Likewise.
	* gnu/java/security/jce/hash/MessageDigestAdapter.java:
	(clone()): Add @Override.
	(engineGetDigestLength()): Likewise.
	(engineUpdate(byte)): Likewise.
	(engineUpdate(byte[],int,int)): Likewise.
	(engineDigest()): Likewise.
	(engineDigest(byte[],int,int)): Likewise.
	(engineReset()): Likewise.
	* gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java:
	(initialize(int,SecureRandom)): Add @Override.
	(initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
	* gnu/java/security/jce/sig/DSSParametersGenerator.java:
	(engineInit(int,SecureRandom)): Add @Override.
	(engineInit(AlgorithmParameterSpec,SecureRandom)): Likewise.
	(engineGenerateParameters()): Likewise.
	* gnu/java/security/jce/sig/EncodedKeyFactory.java:
	(decodeDSSPublicKey(DSAPublicKeySpec)): Make static.
	(decodeRSAPublicKey(RSAPublicKeySpec)): Likewise.
	(decodeDHPublicKey(DHPublicKeySpec)): Likewise.
	(decodeDHPublicKey(byte[]]): Likewise.
	(decodeDSSPrivateKey(DSAPrivateKeySpec)): Likewise.
	(decodeRSAPrivateKey(RSAPrivateCrtKeySpec)): Likewise.
	(decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
	(decodeDHPrivateKey(byte[])): Likewise.
	* gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java:
	(initialize(int,SecureRandom)): Add Override.
	(initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
	(generateKeyPair()): Likewise.
	(localiseName(String)): Uncomment conversion.
	* gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java:
	(initialize(int,SecureRandom)): Add Override.
	(initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
	* gnu/java/security/jce/sig/SignatureAdapter.java:
	Drop unneeded import of BaseSignature.
	(clone()): Add @Override.
	(engineInitVerify(PublicKey)): Reference VERIFIER_KEY via
	interface ISignature where it is defined.
	(engineInitSign(PrivateKey)): Likewise for SIGNER_KEY.
	(engineInitSign(PrivateKey,SecureRandom)): Likewise for
	SIGNER_KEY and SOURCE_OF_RANDOMNESS.
	* gnu/java/security/key/KeyPairCodecFactory.java:
	(getInstance(String,int)): Add default case which returns null.
	(getInstance(Key)): Likewise and fix typo in documentation.
	* gnu/java/security/key/dss/DSSKey.java:
	(getParams()): Add @Override.
	(getAlgorithm()): Likewise.
	(getEncoded()): Likewise.
	(getFormat()): LIkewise.
	(equals(Object)): Likewise.
	(hashCode()): Add implementation using java.util.Objects.hash
	(toString()): Remove unneeded cast.
	* gnu/java/security/key/dss/DSSKeyPairGenerator.java:
	(setup(MAp)): Remove unnecessary else clause.
	(generate()): Remove left-over debug statement.
	* gnu/java/security/key/dss/DSSKeyPairRawCodec.java:
	(getFormatID()): Add @Override.
	(encodePublicKey(PublicKey)): Likewise.
	(decodePublicKey(byte[])): Likewise.
	(encodePrivateKey(PrivateKey)): Likewise.
	(decodePrivateKey(byte[])): Likewise.
	* gnu/java/security/key/dss/DSSKeyPairX509Codec.java:
	(getFormatID()): Add @Override.
	(encodePublicKey(PublicKey)): Likewise.
	(encodePrivateKey(PrivateKey)): Likewise.
	(decodePublicKey(byte[])): Likewise.
	(decodePrivateKey(byte[])): Likewise.
	* gnu/java/security/key/dss/DSSPrivateKey.java:
	Drop unneeded reference to PrivateKey.
	(getX()): Add @Override.
	(getEncoded(int)): Likewise.
	(equals(Object)): Likewise.
	(hashCode()): Implemented.
	(toString()): Add @Override and remove unneeded cast.
	* gnu/java/security/key/dss/DSSPublicKey.java:
	Drop unneeded reference to PublicKey.
	(getY()): Add @Override.
	(getEncoded(int)): Likewise.
	(equals(Object)): Likewise.
	(hashCode()): Implemented.
	(toString()): Add @Override and remove unneeded cast.
	* gnu/java/security/key/rsa/GnuRSAKey.java:
	(getModulus()): Add @Override.
	(getAlgorithm()): Likewise.
	(getEncoded()): Likewise.
	(getFormat()): Likewise.
	(equals(Object)): Likewise.
	(hashCode()): Implemented using java.util.Objects.hash
	(toString()): Add @Override and remove unneeded cast.
	* gnu/java/security/key/rsa/GnuRSAPrivateKey.java:
	Drop unneeded reference to PrivateKey.
	(getPrimeP()): Add @Override.
	(getPrimeQ()): Likewise.
	(getPrimeExponentP()): Likewise.
	(getPrimeExponentQ()): Likewise.
	(getCrtCoefficient()): Likewise.
	(getPrivateExponent()): Likewise.
	(getEncoded(int)): Likewise.
	(equals(Object)): Likewise.
	(hashCode()): Implemented using java.util.Objects.hash.
	(toString()): Add @Override and remove unneeded cast.
	* gnu/java/security/key/rsa/GnuRSAPublicKey.java:
	Drop unneeded reference to PublicKey.
	(getEncoded()): Add @Override.
	(equals(Object)): Likewise.
	(hashCode()): Implemented.
	(toString()): Add @Override and remove unneeded cast.
	* gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java:
	(getFormatID()): Add @Override.
	(encodePublicKey(PublicKey)): Likewise.
	(encodePrivateKey(PrivateKey)): Likewise.
	(decodePublicKey(byte[])): Likewise.
	(decodePrivateKey(byte[])): Likewise.
	* gnu/java/security/key/rsa/RSAKeyPairRawCodec.java:
	(getFormatID()): Add @Override.
	(encodePublicKey(PublicKey)): Likewise.
	(decodePublicKey(byte[])): Likewise.
	(encodePrivateKey(PrivateKey)): Likewise.
	(decodePrivateKey(byte[])): Likewise.
	* gnu/java/security/pkcs/PKCS7SignedData.java:
	(PKCS7SignedData(BERReader)): Refer to constants by
	the interface where they are defined. Rename crls
	to avoid shadowing the class variable.
	* gnu/java/security/pkcs/SignerInfo.java:
	(SignerInfo(BERReader)): Refer to constants by the
	interface where they are defined.
	* gnu/java/security/prng/BasePRNG.java:
	(addRandomBytes(byte[])): Add @Override.
	(addRandomBytes(byte[],int,int)): Likewise. Rename
	buffer to buf to avoid shadowing.
	(clone()): Remove unnecessary cast and this references.
	* gnu/java/security/prng/MDGenerator.java:
	Remove unneeded reference to Cloneable.
	* gnu/java/security/prng/RandomEvent.java:
	(RandomEvent(Object,byte,byte,byte[])): Remove unnecessary cast.
	* gnu/java/security/provider/DefaultPolicy.java:
	(getPermissions(CodeSource)): Add @Override.
	(refresh()): Likewise.
	* gnu/java/security/provider/Gnu.java:
	(Gnu()): Add @Override to run implementation in anonymous inner
	class.
	* gnu/java/security/provider/PKIXCertPathValidatorImpl.java:
	(engineValidate(CertPath,CertPathParameters)): Add @Override. Remove
	unneeded cast and else clause.
	(checkExplicitPolicy(int,List)): Make static.
	* gnu/java/security/provider/X509CertificateFactory.java:
	(generateCert(InputStream)): Make static. Remove unnecessary
	else clause.
	(generateCRL(InputStream)): Likewise.
	* gnu/java/security/sig/SignatureCodecFactory.java:
	(getInstance(String,int)): Add default case to switch statement.
	* gnu/java/security/sig/dss/DSSSignature.java:
	(encodeSignature(BigInteger,BigInteger)): Make static.
	(decodeSignature(Object)): Likewise.
	* gnu/java/security/sig/dss/DSSSignatureRawCodec.java:
	(getFormatID()): Add @Override.
	(encodeSignature(Object)): Likewise.
	(decodeSignature(byte[])): Likewise.
	* gnu/java/security/sig/dss/DSSSignatureX509Codec.java:
	(getFormatID()): Add @Override.
	(encodeSignature(Object)): Likewise.
	(decodeSignature(byte[])): Likewise.
	* gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java:
	(clone()): Add @Override.
	* gnu/java/security/sig/rsa/EMSA_PSS.java:
	(clone()): Add @Override.
	* gnu/java/security/sig/rsa/RSA.java:
	(RSADP(RSAPrivateKey, BigInteger)): Suppress null warning
	as r is always non-null if rsaBlinding is true.
	* gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java:
	(clone()): Add @Override.
	(setupForVerification(PublicKey)): Likewise.
	(setupForSigning(PrivateKey)): Likewise.
	(generateSignature()): Likewise.
	(verifySignature(Object)): Likewise.
	* gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java:
	(getFormatID()): Add @Override.
	(encodeSignature(Object)): Likewise.
	(decodeSignature(byte[])): Likewise.
	* gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
	(getFormatID()): Add @Override.
	(encodeSignature(Object)): Likewise.
	(decodeSignature(byte[])): Likewise.
	* gnu/java/security/sig/rsa/RSAPSSSignature.java:
	(clone()): Add @Override.
	(setupForVerification(PublicKey)): Likewise. Remove unnecessary
	cast.
	(setupForSigning(PrivateKey)): Likewise.
	(generateSignature()): Add @Override.
	(verifySignature(Object)): Likewise.
	* gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java:
	(getFormatID()): Add @Override.
	(encodeSignature(Object)): Likewise.
	(decodeSignature(byte[])): Likewise.
	* gnu/java/security/util/ByteArray.java:
	(toString()): Add @Override.
	* gnu/java/security/util/ByteBufferOutputStream.java:
	(toString()): Add @Override.
	* gnu/java/security/util/ExpirableObject.java:
	(destroy()): Add @Override.
	(Destroyer.run()): Likewise.
	* gnu/java/security/util/FormatUtil.java:
	(getEncodingName(int)): Add default case for switch statement.
	(getEncodingShortName(int)): Likewise.
	* gnu/java/security/util/Sequence.java:
	(size()): Add @Override.
	(toArray()): Likewise. Remove unnecessary cast.
	* gnu/java/security/util/SimpleList.java:
	(size()): Add @Override.
	(get(int)): Likewise.
	(toString()): Likewise.
	* gnu/java/security/util/Util.java:
	(toBase64(byte[])): Add default case to switch statement which
	does nothing. Remove unnecessary else clause.
	* gnu/java/security/x509/PolicyNodeImpl.java:
	(addExpectedPolicy(String)): Rename variable to expectedPolicy
	to avoid shadowing policy variable.
	(addAllPolicyQualifiers(Collection)): Rename variable to
	policyQualifiers to avoid shadowing qualifiers variable.
	Rewrite collection check to catch ClassCastException as,
	if it.next() returns normally, it will always be an instance
	of PolicyQualifierInfo.
	(toString()): Add @Override.
	* gnu/java/security/x509/X500DistinguishedName.java:
	(X500DistinguishedName(String)): Throw IOException rather
	than catching it as calling methods in X509CRLSelector
	implementations, addIssuerName(String), expect an
	IOException to be thrown if there is a parsing error.
	(getName()): Add @Override.
	(hashCode()): Likewise.
	(equals(Object)): Likewise.
	(toString()): Likewise.
	(getDer()): Remove unnecessary casts.
	(readAttributeType(Reader)): Make static.
	* gnu/java/security/x509/X509CRL.java:
	(equals(Object)): Add @Override.
	(hashCode()): Likewise.
	(getEncoded()): Remove unnecessary cast.
	(getIssuerX500Principal()): Add @Override.
	(getTBSCertList()): Remove unnecessary cast.
	(getSignature()): Likewise.
	(getSigAlgParams()): Likewise.
	(hasUnsupportedCriticalExtension()): Add @Override.
	(getCriticialExtensionOIDs()): Likewise.
	(getNonCriticalExtensionOIDs()): Likewise.
	(getExtensionValue(String)): Likewise.
	(isRevoked(Certificate)): Likewise. Remove unnecessary
	cast.
	(parse(InputStream)): Remove unnecessary cast.
	* gnu/java/security/x509/X509CRLEntry.java:
	(getEncoded()): Remove unncessary cast.
	(hasUnsupportedCriticalExtension()): Add @Override.
	(getCriticialExtensionOIDs()): Likewise.
	(getNonCriticalExtensionOIDs()): Likewise.
	(getExtensionValue(String)): Likewise.
	* gnu/java/security/x509/X509CRLSelectorImpl.java:
	(addIssuerName(String)): Throw IOException as specified.
	* gnu/java/security/x509/X509CertPath.java:
	(getCertificates()): Add @Override.
	(getEncoded()): Likewise. Remove unnecessary casts.
	(getEncodings()): Add @Override.
	(parse(InputStream, String)): Rename path to parsedPath
	to avoid shadowing.
	* gnu/java/security/x509/X509CertSelectorImpl.java:
	(addIssuerName(String)): Throw IOException as specified.
	* gnu/java/security/x509/X509Certificate.java:
	Remove unneeded Serializable reference.
	(checkValidity()): Add @Override.
	(checkValidity(Date)): Likewise.
	(getVersion()): Likewise.
	(getSerialNumber()): Likewise.
	(getIssuerDN()): Likewise.
	(getIssuerX500Principal()): Likewise.
	(getSubjectDN()): Likewise.
	(getSubjectX500Principal()): Likewise.
	(getNotBefore()): Likewise.
	(getNotAfter()): Likewise.
	(getTBSCertificate()): Likewise. Remove unnecessary cast.
	(getSignature()): Likewise.
	(getSigAlgName()): Add @Override.
	(getSigAlgOID()): Likewise.
	(getSigAlgParams()): Likewise. Remove unnecessary cast.
	(getIssuerUniqueID()): Add @Override.
	(getSubjectUniqueID()): Likewise.
	(getKeyUsage()): Likewise.
	(getExtendedKeyUsage()): Likewise.
	(getBasicConstraints()): Likewise.
	(getSubjectAlternativeNames()): Likewise. Make conversion
	from int to Integer explicit.
	(getIssuerAlternativeNames()): Likewise.
	(hasUnsupportedCriticalExtension()): Add @Override.
	(getCriticialExtensionOIDs()): Likewise.
	(getNonCriticalExtensionOIDs()): Likewise.
	(getExtensionValue(String)): Likewise.
	(getEncoded()): Likewise. Remove unnecessary cast.
	(verify(PublicKey)): Add @Override.
	(verify(PublicKey, String)): Likewise.
	(toString()): Likewise.
	(getPublicKey()): Likewise.
	(parse(InputStream)): Rename encoded to enc to avoid shadowing.
	Avoid unnecessary cast.
	* gnu/java/security/x509/ext/AuthorityKeyIdentifier.java:
	(toString()): Add @Override.
	* gnu/java/security/x509/ext/BasicConstraints.java:
	(getEncoded()): Add @Override. Remove unncessary casts.
	(toString()): Add @Override.
	* gnu/java/security/x509/ext/CRLNumber.java:
	(getEncoded()): Add @Override. Remove unncessary casts.
	(toString()): Add @Override.
	* gnu/java/security/x509/ext/CertificatePolicies.java:
	(CertificatePolicies(List,Map)): Swap empty for-loop
	for a while loop.
	(getEncoded()): Add @Override. Remove unnecessary cast.
	(toString()): Add @Override.
	* gnu/java/security/x509/ext/ExtendedKeyUsage.java:
	(toString()): Add @Override.
	* gnu/java/security/x509/ext/Extension.java:
	(Extension(byte[])): Remove unnecessary cast.
	(getEncoded()): Likewise.
	(toString()): Add @Override.
	(Value.Value(byte[])): Remove unnecessary cast.
	(Value.getEncoded()): Likewise.
	(hashCode()): Add @Override.
	(equals(Object)): Likewise.
	(toString()): Likewise.
	* gnu/java/security/x509/ext/GeneralName.java:
	(Kind.forTag(int)): Add default case.
	(Kind): Remove unnecessary ; on closing brace.
	(GeneralName(Kind,byte[])): Remove unnecessary cast.
	(name()): Likewise.
	(encoded()): Check for null rather than catching exception.
	Remove unnecessary cast.
	(equals(Object)): Add @Override. Avoid unnecessary method call.
	(hashCode()): Implemented using java.util.Objects.hash.
	(toString()): Add @Override.
	* gnu/java/security/x509/ext/GeneralNames.java:
	(toString()): Add @Override.
	* gnu/java/security/x509/ext/GeneralSubtree.java:
	(toString()): Add @Override.
	* gnu/java/security/x509/ext/IssuerAlternativeNames.java:
	(toString()): Add @Override.
	* gnu/java/security/x509/ext/KeyUsage.java:
	(toString()): Add @Override.
	* gnu/java/security/x509/ext/NameConstraints.java:
	(toString()): Add @Override.
	* gnu/java/security/x509/ext/PolicyConstraint.java:
	(toString()): Add @Override.
	* gnu/java/security/x509/ext/PolicyMappings.java:
	(toString()): Add @Override.
	* gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java:
	(toString()): Add @Override.
	* gnu/java/security/x509/ext/ReasonCode.java:
	(toString()): Add @Override.
	* gnu/java/security/x509/ext/SubjectAlternativeNames.java:
	(toString()): Add @Override.
	* gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
	(getKeyIdentifier()): Remove unnecessary cast.
	(toString()): Add @Override.
	* gnu/javax/security/auth/Password.java:
	(doDestroy): Add @Override. Remove unneeded else block.
	(isDestroyed): Add @Override.
	* gnu/javax/security/auth/callback/AWTCallbackHandler.java:
	(handleChoice(ChoiceCallback)): Add @Override.
	(handleConfirmation(ConfirmationCallback)): Likewise.
	(handleLanguage(LanguageCallback)): Likewise.
	(handleName(NameCallback)): Likewise.
	(handlePassword(PasswordCallback)): Likewise.
	(handleTextInput(TextInputCallback)): Likewise.
	(handleTextOutput(TextOutputCallback)): Likewise.
	(actionPerformed(ActionEvent)): Likewise.
	(windowClosing(WindowEvent)): Likewise.
	(windowOpened(WindowEvent)): Likewise.
	(windowClosed(WindowEvent)): Likewise.
	(windowIconified(WindowEvent)): Likewise.
	(windowDeiconified(WindowEvent)): Likewise.
	(windowActivated(WindowEvent)): Likewise.
	(windowDeactivated(WindowEvent)): Likewise.
	* gnu/javax/security/auth/callback/AbstractCallbackHandler.java:
	(AbstractCallbackHandler(String)): Reference getBundle by class
	where it is implemented (ResourceBundle).
	(handle(Callback[])): Add @Override.
	(handleChoice(ChoiceCallback)): Allow and document an
	UnsupportedCallbackException being thrown.
	(handleConfirmation(ConfirmationCallback)): Likewise.
	(handleLanguage(LanguageCallback)): Likewise.
	(handleName(NameCallback)): Likewise.
	(handlePassword(PasswordCallback)): Likewise.
	(handleTextInput(TextInputCallback)): Likewise.
	(handleTextOutput(TextOutputCallback)): Likewise.
	(handleOther(Callback)): Suppress warnings resulting from
	unused variables, unthrown exceptions and lack of IOException
	being thrown. They are necessary for subclasses.
	* gnu/javax/security/auth/callback/ConsoleCallbackHandler.java:
	(handleChoice(ChoiceCallback)): Add @Override. Drop unnecessary
	cast.
	(handleConfirmation(ConfirmationCallback)): Add @Override.
	(handleLanguage(LanguageCallback)): Likewise.
	(handleName(NameCallback)): Likewise.
	(handlePassword(PasswordCallback)): Likewise.
	(handleTextInput(TextInputCallback)): Likewise.
	(handleTextOutput(TextOutputCallback)): Likewise.
	* gnu/javax/security/auth/callback/DefaultCallbackHandler.java:
	(handleChoice(ChoiceCallback)): Add @Override.
	(handleConfirmation(ConfirmationCallback)): Likewise.
	(handleLanguage(LanguageCallback)): Likewise.
	(handleName(NameCallback)): Likewise.
	(handlePassword(PasswordCallback)): Likewise.
	(handleTextInput(TextInputCallback)): Likewise.
	(handleTextOutput(TextOutputCallback)): Likewise.
	* gnu/javax/security/auth/callback/GnuCallbacks.java:
	(GnuCallbacks()): Add @Override to run() implementation
	in anonymous inner class.
	* gnu/javax/security/auth/callback/SwingCallbackHandler.java:
	(handleChoice(ChoiceCallback)): Add @Override to method
	and methods of anonymous inner classes. Refer to
	constants using interface where they appear.
	(handleConfirmation(ConfirmationCallback)): Add @Override
	to method and methods of anonymous inner class. Declare
	UnsupportedCallbackException as thrown and add default
	cases and fall-through markers to switch statements.
	(handleLanguage(LanguageCallback)): Add @Override. Remove
	unused variable defaultIndex.
	(handleName(NameCallback)): Add @Override to method and
	method of anonymous inner class.
	(handlePassword(PasswordCallback)): Likewise.
	(handleTextInput(TextInputCallback)): Likewise. Refer to
	constants using interface where they appear.
	(handleTextOutput(TextOutputCallback)): Likewise. Declare
	UnsupportedCallbackException as thrown and add default
	case to switch statement.
	(waitForInput(JDialog, Callback)): Make static.
	* gnu/javax/security/auth/login/ConfigFileParser.java:
	(initParser(Reader)): Don't declare IOException as thrown
	as one is never thrown.
	(expandParamValue(String)): Make static.
	* gnu/javax/security/auth/login/GnuConfiguration.java:
	(getAppConfigurationEntry(String)): Add @Override.
	(refresh()): Likewise.
	(getInputStreamFromURL(String)): Make static.
	(parseConfig(InputStream)): Remove unneeded variable.
	(getUserName()): Make static.
	(getConfigFromUserName(File,String)): Likewise.
	* java/security/AccessControlContext.java:
	(equals(Object)): Add @Override.
	(hashCode()): Likewise.
	* java/security/AlgorithmParameters.java:
	(toString()): Add @Override.
	* java/security/AllPermission.java:
	(AllPermission(String,String)): Suppress
	warning about actions variable being unused.
	(implies(Permission)): Add @Override.
	(equals(Object)): Likewise.
	(hashCode()): Likewise.
	(getActions()): Likewise.
	(newPermissionCollection()): Likewise.
	(AllPermissionCollection()): Add public constructor
	to avoid generating a synthetic accessor method.
	* java/security/BasicPermission.java:
	Remove unneeded Serializable reference.
	(BasicPermission(String,String)): Suppress
	warnings about actions variable being unused.
	(getActions()): Add @Override.
	(newPermissionCollection()): Likewise.
	* java/security/Certificate.java:
	Mark with @Deprecated. Fix typo in documentation.
	* java/security/DigestInputStream.java:
	(read()): Add @Override.
	(read(byte[],int,int)): Likewise.
	(toString()): Likewise.
	* java/security/DigestOutputStream.java:
	(write(int)): Add @Override.
	(write(byte[],int,int)): Likewise.
	(toString()): Likewise.
	* java/security/DummyKeyPairGenerator.java:
	(clone()): Add @Override.
	(initialize(int,SecureRandom)): Likewise.
	(initialize(AlgorithmParameterSpec,SecureRandom)):
	Likewise.
	(generateKeyPair()): Likewise.
	* java/security/DummyMessageDigest.java:
	(clone()): Add @Override.
	(engineDigest()): Likewise.
	(engineDigest(byte[],int,int)): Likewise.
	(engineGetDigestLength()): Likewise.
	(engineReset()): Likewise.
	(engineUpdate(byte)): Likewise.
	(engineUpdate(byte[],int,int)): Likewise.
	* java/security/Identity.java:
	Mark as @Deprecated. Fix typo in documentation.
	(getName()): Add @Override.
	(equals(Object)): Likewise.
	(toString()): Likewise.
	(toString(boolean)): Remove unnecessary else clause.
	(hashCode()): Add @Override.
	* java/security/IdentityScope.java:
	Mark as @Deprecated.
	(toString()): Add @Override.
	* java/security/IntersectingDomainCombiner.java:
	(combine(ProtectionDomain[],ProtectionDomain[])):
	Add @Override.
	* java/security/KeyPairGenerator.java:
	(generateKeyPair()): Add @Override.
	* java/security/KeyPairGeneratorSpi.java:
	(initialize(AlgorithmParameterSpec,SecureRandom)):
	Suppress warning about making this method static.
	Intended to be overridden by subclasses.
	(clone()): Add @Override.
	* java/security/KeyStore.java:
	(getInstance(String,Provider)): Fix typo in documentation.
	(getDefaultType()): Add @Override to run() in anonymous
	inner class.
	* java/security/MessageDigest.java:
	(toString()): Add @Override.
	(clone()): Likewise.
	* java/security/MessageDigestSpi.java:
	(engineGetDigestLength()): Suppress warning about
	making this method static. Intended to be overridden
	by subclasses.
	(clone()): Add @Override.
	* java/security/Permission.java:
	(checkGuard(Object)): Add @Override.
	(equals(Object)): Likewise.
	(hashCode()): Likewise.
	(newPermissionCollection()): Likewise.
	(toString()): Likewise.
	* java/security/PermissionCollection.java:
	(toString()): Add @Override.
	* java/security/Permissions.java:
	Remove unneeded Serializable reference.
	(elements()): Add @Override to hasMoreElements
	and nextElement methods in anonymous inner class.
	(PermissionsHash.PermissionsHash()): Add explicit
	constructor to avoid a synthetic accessor method.
	(add(Permission)): Mark synchronized.
	(implies(Permission)): Likewise.
	* java/security/Policy.java:
	(implies(ProtectionDomain,Permission)): Remove
	unnecessary cast.
	* java/security/Principal.java:
	(equals(Object)): Add @Override.
	(toString()): Likewise.
	(hashCode()): Likewise.
	* java/security/PrivilegedActionException.java:
	(getCause()): Add @Override.
	(toString()): Removed; pointless as it just calls
	superclass version.
	* java/security/ProtectionDomain.java:
	(ProtectionDomain(CodeSource,PermissionCollection,
	ClassLoader,Principal[],boolean)): Remove unnecessary
	cast.
	(getPrincipals()): Add @Override.
	(toString()): Likewise.
	* java/security/Provider.java:
	Remove unneeded Serializable reference.
	(put(Object,Object)): Add @Override. Suppress warnings
	about overridding a synchronized method as all collection
	modifications are made in synchronized superclass method.
	(get(Object)): Likewise.
	(remove(Object)): Likewise.
	(clear()): Likewise.
	(toString()): Add @Override. Suppress warning about
	overridding a synchronized method as the collection isn't
	used.
	(toCanonicalKey(Object)): Make static.
	* java/security/SecureClassLoader.java:
	(getPermissions(CodeSource)): Suppress warning about
	making this method static; may potentially be overridden
	by subclasses. Avoid unnecessary variable policy.
	* java/security/SecureRandom.java:
	(setSeed(byte[])): Make synchronized to prevent
	concurrent access to secureRandomSpi.
	(setSeed(long)): Add @Override and make synchronized.
	(nextBytes(byte[])): Likewise.
	(next(int)): Likewise.
	(generateSeed(byte[])): Make synchronized.
	* java/security/Security.java:
	(getAlgorithmProperty(String,String)): Add @Deprecated.
	(getProvider(String)): Remove unnecessary else clause.
	(getAlgorithm(String)): Use provs instead of providers
	to avoid shadowing class variable.
	(provides(Provider,String,String,String,String)): Set
	serviceDotAlgorithm to the empty string to avoid null
	pointer issues.
	* java/security/SecurityPermission.java:
	(SecurityPermission(String,String)): Suppress warning
	due to nothing being done with actions.
	* java/security/Signature.java:
	(sign()): Remove unnecessary else clause.
	(sign(byte[],int,int)): Likewise.
	(verify(byte[])): Likewise.
	(toString()): Mark @Override.
	(setParameter(String,Object)): Add @Deprecated.
	(getParameter(String)): Likewise.
	(clone()): Add @Override.
	* java/security/SignatureSpi.java:
	(engineSetParameter(String,Object)): Add @Deprecated.
	(engineSetParameter(AlgorithmParameterSpec)): Suppress
	warnings about unused variables, unthrown exceptions and
	ability to be a static method. Subclasses override this.
	(engineGetParameters()): Suppress warnings about making
	this method static.
	(engineGetParameter(String)): Add @Deprecated.
	* java/security/SignedObject.java:
	(getSignature()): Remove unnecessary cast.
	(readObject(ObjectInputStream)): Likewise x 2.
	* java/security/Signer.java:
	Mark as @Deprecated.
	(toString()): Add @Override.
	* java/security/UnresolvedPermission.java:
	(getUnresolvedCerts()): Remove unnecessaary cast.
	(UnresolvedPermissionCollection.elements()):
	Add @Override to hasMoreElements and nextElement.
	* java/security/acl/Acl.java:
	(toString()): Add @Override.
	* java/security/acl/AclEntry.java:
	(setPrincipal(Principal)): Fix formatting of documentation.
	(addPermission(Permission)): Likewise.
	(removePermission(Permission)): Likewise.
	(checkPermission(Permission)): Likewise.
	(toString()): Add @Override.
	* java/security/acl/Permission.java:
	(equals(Object)): Add @Override.
	(toString()): Likewise.
	* java/security/cert/CRL.java:
	(toString()): Add @Override.
	* java/security/cert/CertPath.java:
	(equals(Object)): Add @Override.
	(hashCode()): Likewise.
	(toString()): Likewise.
	* java/security/cert/CertPathBuilderException.java:
	(CertPathBuilderException(Throwable)): Just call
	superclass constructor.
	(CertPathBuilderException(String,Throwable)): Likewise.
	(getMessage()): Removed; provided by superclass.
	(getCause()): Likewise.
	(toString()): Likewise.
	(printStackTrace()): Likewise.
	(printStackTrace(PrintStream)): Likewise.
	(printStackTrace(PrintWriter)): Likewise.
	* java/security/cert/CertPathValidatorException.java:
	(CertPathValidatorException(String,Throwable)): Just call
	superclass with both arguments, rather than initCause.
	(getMessage()): Removed; provided by superclass.
	(getCause()): Likewise.
	(toString()): Likewise.
	(printStackTrace()): Likewise.
	(printStackTrace(PrintStream)): Likewise.
	(printStackTrace(PrintWriter)): Likewise.
	* java/security/cert/CertStoreException.java:
	(CertStoreException(Throwable)): Just call superclass
	constructor.
	(CertStoreException(String,Throwable)): Likewise.
	(getMessage()): Removed; provided by superclass.
	(getCause()): Likewise.
	(toString()): Likewise.
	(printStackTrace()): Likewise.
	(printStackTrace(PrintStream)): Likewise.
	(printStackTrace(PrintWriter)): Likewise.
	* java/security/cert/CertStoreSpi.java:
	(CertStoreSpi(CertStoreParameters)): Suppress warnings
	about exception not being thrown. Present for subclasses.
	* java/security/cert/Certificate.java:
	(equals(Object)): Add @Override.
	(hashCode()): Likewise.
	(toString()): Likewise.
	* java/security/cert/CertificateFactorySpi.java:
	(engineGenerateCertPath(InputStream)): Suppress warnings
	about unused arguments, exceptions not being thrown and
	method can be static. Provided for subclass implementations.
	(engineGenerateCertPath(InputStream,String)): Likewise.
	(engineGenerateCertPath(List)): Likewise.
	(engineGetCertPathEncodings()): Likewise.
	* java/security/cert/CollectionCertStoreParameters.java:
	(toString()): Add @Override.
	* java/security/cert/LDAPCertStoreParameters.java:
	(clone()): Add @Override.
	(toString()): Likewise.
	* java/security/cert/PKIXBuilderParameters.java:
	(toString()): Likewise.
	* java/security/cert/PKIXCertPathBuilderResult.java:
	(getCertPath()): Add @Override.
	(toString()): Likewise.
	* java/security/cert/PKIXCertPathChecker.java:
	(clone()): Add @Override.
	* java/security/cert/PKIXCertPathValidatorResult.java:
	(clone()): Add @Override.
	(toString()): Likewise.
	* java/security/cert/PKIXParameters.java:
	(clone()): Add @Overrride.
	(toString()): Likewise.
	* java/security/cert/PolicyQualifierInfo.java:
	(PolicyQualifierInfo(byte[])): Remove unnecessary cast.
	(getEncoded()): Likewise.
	(toString()): Add @Override.
	* java/security/cert/TrustAnchor.java:
	(TrustAnchor(X509Certificate,byte[])): Remove unnecessary cast.
	(TrustAnchor(String,PublicKey,byte[])): Document exceptions.
	Catch IOException and throw as IllegalArgumentException.
	Remove unnecessary casts.
	(toString()): Add @Override.
	* java/security/cert/X509CRL.java:
	(equals(Object)): Add @Override.
	(hashCode()): Likewise.
	(getIssuerX500Principal()): Suppress warning about making this
	static. Should be overridden by subclasses.
	* java/security/cert/X509CRLEntry.java:
	(equals(Object):: Add @Override.
	(hashCode()): Likewise.
	(toString()): Likewise.
	* java/security/cert/X509CRLSelector.java:
	Remove unneeded Cloneable reference.
	(getIssuerNames()): Remove unneeded else block.
	(toString()): Add @Override.
	(match(CRL)): Likewise.
	(clone()): LIkewise.
	* java/security/cert/X509CertSelector.java:
	Remove unneeded Cloneable reference.
	(makeName(int,String)): Re-use earlier result of Kind.forTag(id).
	Add default case.
	(clone()): Add @Override.
	(getAuthorityKeyIdentifier()): Remove unneeded else block
	and cast.
	(getCertificateValid()): Remove unneeded else block.
	(getExtendedKeyUsage()): Likewise.
	(getIssuerAsBytes()): Likewise.
	(getIssuerAsString()): Likewise.
	(getKeyUsage()): Likewise and remove unneeded cast.
	(getNameConstraints()): Likewise.
	(getPathToNames()): Explicitly convert int to Integer.
	(getPrivateKeyValid()): Suppress static method warning.
	Method is deliberately useless.
	(getSubjectAlternativeNames()): Explicitly convert int to
	Integer.
	(getSubjectAsBytes()): Remove unneeded else block.
	(getSubjectAsString()): Likewise.
	(getSubjectKeyIdentifier()): Likewise and remove unneeded
	cast.
	(match(Certificate)): Add @Override. Rename cert to other
	to avoid shadowing.
	(setNameConstraints(byte[])): Remove unnecessary cast.
	Suppress warnings about NameConstraints instance being unused.
	(setPrivateKeyValid()): Suppress unused variable warning.
	Method is deliberately useless.
	(setSubjectPublicKey(PublicKey)): Remove unneeded cast.
	(toString()): Add @Override.
	* java/security/cert/X509Certificate.java:
	(getExtendedKeyUsage()): Suppress unthrown exception warning
	and static method suggestion. Overridden by subclasses.
	(getSubjectAlternativeNames()): Likewise.
	(getIssuerAlternativeNames()): Likewise.
	(getSubjectX500Principal()): Suppress static method suggestion.
	Overridden by subclasses.
	(getIssuerX500Principal()): Likewise.
	* java/security/spec/DSAParameterSpec.java:
	(getP()): Add @Override.
	(getQ()): Likewise.
	(getG()): Likewise.
	* java/security/spec/PKCS8EncodedKeySpec.java:
	(getEncoded()): Add @Override.
	(getFormat()): Likewise.
	* java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
	(RSAMultiPrimePrivateCrtKeySpec(BigInteger,BigInteger,BigInteger,
	BigInteger,BigInteger,BigInteger,BigInteger,BigInteger,
	RSAOtherPrimeInfo[])): Remove unneeded else block.
	* java/security/spec/X509EncodedKeySpec.java:
	(getEncoded()): Add @Override.
	(getFormat()): Likewise.
	* javax/security/auth/Policy.java:
	Add @Deprecated.
	* javax/security/auth/PrivateCredentialPermission.java:
	Remove unneeded Serializable reference.
	(equals(Object)): Add @Override. Rename principals to
	thisPrincipals to avoid shadowing.
	(getActions()): Add @Override.
	(hashCode()): Likewise.
	(implies(Permission)): Likewise. Rename principals to
	thisPrincipals to avoid shadowing.
	(newPermissionCollection()): Add @Override to method
	and anonymous inner class implementations of equals(Object) &amp;
	hashCode().
	* javax/security/auth/SubjectDomainCombiner.java:
	(combine(ProtectionDomain[],ProtectionDomain[])): Add @Override.
	* javax/security/auth/callback/ConfirmationCallback.java:
	(setOptions(String[],int)): Move reference to options.length to
	after options null check.
	* javax/security/auth/kerberos/KerberosKey.java:
	Remove unneeded Serializable reference.
	(getAlgorithm()): Add @Override.
	(getFormat()): Likewise.
	(getEncoded()): Likewise and remove unnecessary cast.
	(destroy()): Add @Override.
	(isDestroyed()): Likewise.
	(toString()): Likewise.
	* javax/security/auth/kerberos/KerberosPrincipal.java:
	(getName()): Add @Override.
	(hashCode()): Likewise.
	(equals(Object)): Likewise.
	(toString()): Likewise.
	* javax/security/auth/kerberos/KerberosTicket.java:
	(asn1Encoding): Remove @SuppressWarnings.
	(KerberosTicket(byte[],KerberosPrincipal,KerberosPrincipal,
	byte[],int,boolean[],Date,Date,Date,Date,InetAddress[])):
	Remove unnecessary cast. Remove duplicate assignment to flags.
	(destroy()): Add @Override.
	(isDestroyed()): Likewise.
	(isCurrent()): Likewise.
	(refresh()): Likewise.
	(getFlags()): Remove unnecessary cast.
	(getEncoded()): Likewise.
	(toString()): Add @Override.
	* javax/security/auth/kerberos/KeyImpl.java:
	Remove unneeded Serializable reference.
	(KeyImpl(byte[],int)): Remove unnecessary cast.
	(getAlgorithm()): Add @Override.
	(getEncoded()): Likewise.
	(getFormat()): Likewise.
	(toString()): Likewise.
	* javax/security/auth/login/AppConfigurationEntry.java:
	(toString()): Add @Override.
	(LoginModuleControlFlag.toString()): Likewise.
	* javax/security/auth/login/Configuration.java:
	(getConfig()): Use GetSecurityPropertyAction rather than
	a bespoke PrivilegedAction implementation.
	* javax/security/auth/login/LoginContext.java:
	(LoginContext(String,Subject,CallbackHandler,Configuration)):
	Rename entries to appEntries to avoid shadowing.
	(lookupModule(AppConfigurationEntry,Subject,Map)): Rename
	subject to subj to avoid shadowing. Check module is null
	rather than cause is non-null.
	* javax/security/auth/login/NullConfiguration.java:
	(getAppConfigurationEntry(String)): Add @Override.
	(refresh()): Likewise.
	* javax/security/auth/x500/X500Principal.java:
	(hashCode()): Add @Override.
	(equals(Object)): Likewise.
	(getEncoded()): Remove unnecessary cast.
	(getName()): Add @Override.
	(toString()): Likewise.
	(readAttributeType(Reader)): Make static.
	(parseDer(InputStream)): Rename encoded to encodedStream to
	avoid shadowing.
	* javax/security/auth/x500/X500PrivateCredential.java:
	(destroy()): Add @Override.
	(isDestroyed()): Likewise.
	* javax/security/cert/Certificate.java:
	(equals(Object)): Add @Override.
	(hashCode()): Likewise.
	(toString()): Likewise.
	* javax/security/cert/X509CertBridge.java:
	(getEncoded()): Add @Override.
	(verify(PublicKey)): Likewise.
	(verify(PublicKey,String)): Likewise.
	(toString()): Likewise.
	(getPublicKey()): Likewise.
	(checkValidity()): Likewise.
	(checkValidity(Date)): Likewise.
	(getVersion()): Likewise.
	(getSerialNumber()): Likewise.
	(getIssuerDN()): Likewise.
	(getSubjectDN()): Likewise.
	(getNotBefore()): Likewise.
	(getNotAfter()): Likewise.
	(getSigAlgName()): Likewise.
	(getSigAlgOID()): Likewise.
	(getSigAlgParams()): Likewise.
	* javax/security/sasl/Sasl.java:
	(createSaslClient(String[],String,String,String,Map,CallbackHandler)):
	Remove unnecessary else clause and pointless result assignment.
	(createSaslServer(String,String,String,Map,CallbackHandler)): Likewise.
	* javax/security/sasl/SaslException.java:
	Remove unneeded Serializable reference.
	(SaslException(String,Throwable)): Add cause to superclass call.
	(getCause()): Add @Override.
	(printStackTrace()): Removed; provided by superclass.
	(printStackTrace(PrintStream)): Likewise.
	(printStackTrace(PrintWriter)): Likewise.
	(initCause(Throwable)): Call superclass version, then sync the
	local copy.
	(toString()): Add @Override.
</pre>
</div>
</content>
</entry>
<entry>
<title>PR64902: Keys returned by KeyPairGenerator don't use standardised algorithm names</title>
<updated>2015-02-10T02:01:19+00:00</updated>
<author>
<name>Andrew John Hughes</name>
<email>gnu_andrew@member.fsf.org</email>
</author>
<published>2015-02-10T02:01:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/classpath.git/commit/?id=a09acb2a1f9dc481c980ab38e19f510581e43ea8'/>
<id>a09acb2a1f9dc481c980ab38e19f510581e43ea8</id>
<content type='text'>
PR64904: KeyPairGenerator.genKeyPair() fails if not explicitly initialised

2015-02-02  Andrew John Hughes  &lt;gnu_andrew@member.fsf.org&gt;

	PR classpath/64902
	PR classpath/64904
	* NEWS: Updated.
	* gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java:
	(KeyPairGeneratorAdapter(String)): Filter incoming generator
	names so all standardised names are handled (e.g. the
	DiffieHellman alias for DH.
	(generateKeyPair()): Check whether the generator has been
	initialized and initialize it with defaults if not.
	(getAlgorithm()): Return the standardised name, not the
	internal one.
	(localiseName(String)): Convert requested standardised
	name to the internal equivalent.
	* gnu/java/security/key/IKeyPairGenerator.java:
	(isInitialized()): New method to check whether the generator
	has been initialized.
	(getDefaultKeySize()): Return the default key size used
	by the generator.
	* gnu/java/security/key/dss/DSSKey.java:
	(getAlgorithm()): Return standard "DSA" rather than "dsa".
	* gnu/java/security/key/dss/DSSKeyPairGenerator.java:
	(initialized): Flag to indicate whether the generator has
	been initialized or not.
	(initLock): Lock to prevent multiple concurrent initializations.
	(setup(Map)): Wrap initialization in a lock and set initialized
	flag when done.
	(isInitialized()): Returns the value of the initialized flag.
	(getDefaultKeySize()): Returns the default key size.
	* gnu/java/security/key/rsa/GnuRSAKey.java:
	(getAlgorithm()): Return standard "RSA" rather than "rsa".
	* gnu/java/security/key/rsa/RSAKeyPairGenerator.java:
	(initialized): Flag to indicate whether the generator has
	been initialized or not.
	(initLock): Lock to prevent multiple concurrent initializations.
	(setup(Map)): Wrap initialization in a lock and set initialized
	flag when done.
	(isInitialized()): Returns the value of the initialized flag.
	(getDefaultKeySize()): Returns the default key size.
	* gnu/javax/crypto/key/dh/GnuDHKey.java:
	(getAlgorithm()): Return standard "DH" rather than "dh".
	* gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java:
	(initialized): Flag to indicate whether the generator has
	been initialized or not.
	(initLock): Lock to prevent multiple concurrent initializations.
	(setup(Map)): Wrap initialization in a lock and set initialized
	flag when done.
	(isInitialized()): Returns the value of the initialized flag.
	(getDefaultKeySize()): Returns the default key size.
	* gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java:
	(initialized): Flag to indicate whether the generator has
	been initialized or not.
	(initLock): Lock to prevent multiple concurrent initializations.
	(setup(Map)): Wrap initialization in a lock and set initialized
	flag when done.
	(isInitialized()): Returns the value of the initialized flag.
	(getDefaultKeySize()): Returns the default key size.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR64904: KeyPairGenerator.genKeyPair() fails if not explicitly initialised

2015-02-02  Andrew John Hughes  &lt;gnu_andrew@member.fsf.org&gt;

	PR classpath/64902
	PR classpath/64904
	* NEWS: Updated.
	* gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java:
	(KeyPairGeneratorAdapter(String)): Filter incoming generator
	names so all standardised names are handled (e.g. the
	DiffieHellman alias for DH.
	(generateKeyPair()): Check whether the generator has been
	initialized and initialize it with defaults if not.
	(getAlgorithm()): Return the standardised name, not the
	internal one.
	(localiseName(String)): Convert requested standardised
	name to the internal equivalent.
	* gnu/java/security/key/IKeyPairGenerator.java:
	(isInitialized()): New method to check whether the generator
	has been initialized.
	(getDefaultKeySize()): Return the default key size used
	by the generator.
	* gnu/java/security/key/dss/DSSKey.java:
	(getAlgorithm()): Return standard "DSA" rather than "dsa".
	* gnu/java/security/key/dss/DSSKeyPairGenerator.java:
	(initialized): Flag to indicate whether the generator has
	been initialized or not.
	(initLock): Lock to prevent multiple concurrent initializations.
	(setup(Map)): Wrap initialization in a lock and set initialized
	flag when done.
	(isInitialized()): Returns the value of the initialized flag.
	(getDefaultKeySize()): Returns the default key size.
	* gnu/java/security/key/rsa/GnuRSAKey.java:
	(getAlgorithm()): Return standard "RSA" rather than "rsa".
	* gnu/java/security/key/rsa/RSAKeyPairGenerator.java:
	(initialized): Flag to indicate whether the generator has
	been initialized or not.
	(initLock): Lock to prevent multiple concurrent initializations.
	(setup(Map)): Wrap initialization in a lock and set initialized
	flag when done.
	(isInitialized()): Returns the value of the initialized flag.
	(getDefaultKeySize()): Returns the default key size.
	* gnu/javax/crypto/key/dh/GnuDHKey.java:
	(getAlgorithm()): Return standard "DH" rather than "dh".
	* gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java:
	(initialized): Flag to indicate whether the generator has
	been initialized or not.
	(initLock): Lock to prevent multiple concurrent initializations.
	(setup(Map)): Wrap initialization in a lock and set initialized
	flag when done.
	(isInitialized()): Returns the value of the initialized flag.
	(getDefaultKeySize()): Returns the default key size.
	* gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java:
	(initialized): Flag to indicate whether the generator has
	been initialized or not.
	(initLock): Lock to prevent multiple concurrent initializations.
	(setup(Map)): Wrap initialization in a lock and set initialized
	flag when done.
	(isInitialized()): Returns the value of the initialized flag.
	(getDefaultKeySize()): Returns the default key size.
</pre>
</div>
</content>
</entry>
<entry>
<title>PR64881: KeyPairGenerator.genKeyPair() ends up calling the default generateKeyPair method which returns a DSA generator</title>
<updated>2015-02-02T15:28:40+00:00</updated>
<author>
<name>Andrew John Hughes</name>
<email>gnu_andrew@member.fsf.org</email>
</author>
<published>2015-02-02T15:28:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/classpath.git/commit/?id=55c5097f9ce57cb5ebdbec6383c6c89ad4933348'/>
<id>55c5097f9ce57cb5ebdbec6383c6c89ad4933348</id>
<content type='text'>
2015-01-30  Andrew John Hughes  &lt;gnu_andrew@member.fsf.org&gt;

	PR classpath/64881
	* NEWS: Updated.
	* java/security/KeyPairGenerator.java:
	(genKeyPair()): Document properly. Call original
	method, generateKeyPair().
	(generateKeyPair()): Document properly. Use provider
	and algorithm values if set rather than just defaulting
	to GNU and DSA.

Signed-off-by: Andrew John Hughes &lt;gnu_andrew@member.fsf.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
2015-01-30  Andrew John Hughes  &lt;gnu_andrew@member.fsf.org&gt;

	PR classpath/64881
	* NEWS: Updated.
	* java/security/KeyPairGenerator.java:
	(genKeyPair()): Document properly. Call original
	method, generateKeyPair().
	(generateKeyPair()): Document properly. Use provider
	and algorithm values if set rather than just defaulting
	to GNU and DSA.

Signed-off-by: Andrew John Hughes &lt;gnu_andrew@member.fsf.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
