--- old/src/java.xml.bind/share/classes/com/sun/xml/internal/bind/v2/runtime/IllegalAnnotationException.java 2015-09-19 13:15:17.856707083 +0300 +++ new/src/java.xml.bind/share/classes/com/sun/xml/internal/bind/v2/runtime/IllegalAnnotationException.java 2015-09-19 13:15:17.712706369 +0300 @@ -119,7 +119,7 @@ * annotation, in which case this method returns a list that * contains another list, which in turn contains the location * information that leads to the error location - * (IOW, [ [pos1,pos2,...,posN] ]) + * (IOW, {@code [ [pos1,pos2,...,posN] ]}) * *

* Sometimes, an error could occur because of two or more conflicting @@ -127,12 +127,12 @@ * that contains many lists, where each list contains * the location information that leads to each of the conflicting * annotations - * (IOW, [ [pos11,pos12,...,pos1N],[pos21,pos22,...,pos2M], ... ]) + * (IOW, {@code [ [pos11,pos12,...,pos1N],[pos21,pos22,...,pos2M], ... ]}) * *

* Yet some other time, the runtime can fail to provide any * error location, in which case this method returns an empty list. - * (IOW, []). We do try hard to make sure this won't happen, + * (IOW, {@code []}). We do try hard to make sure this won't happen, * so please let us know * if you see this behavior. * @@ -146,13 +146,13 @@ * to the first in the list, sort of like a stack trace. * *

- * For example, suppose you specify class Foo to {@link JAXBContext}, - * Foo derives from Bar, Bar has a field pea - * that points to Zot, Zot contains a gum + * For example, suppose you specify class {@code Foo} to {@link JAXBContext}, + * {@code Foo} derives from {@code Bar}, {@code Bar} has a field {@code pea} + * that points to {@code Zot}, {@code Zot} contains a {@code gum} * property, and this property has an errornous annotation. * Then when this exception is thrown, the list of {@link Location}s * will look something like - * [ "gum property", "Zot class", "pea property", "Bar class", "Foo class" ] + * {@code [ "gum property", "Zot class", "pea property", "Bar class", "Foo class" ]} * * * @return