--- old/src/java.xml.bind/share/classes/com/sun/xml/internal/bind/annotation/XmlIsSet.java 2015-09-19 13:15:09.840667334 +0300 +++ new/src/java.xml.bind/share/classes/com/sun/xml/internal/bind/annotation/XmlIsSet.java 2015-09-19 13:15:09.688666580 +0300 @@ -58,9 +58,9 @@ * marshaller.marshal(new Foo()); * * and you get: - *

+ * <pre>{@code
  * <foo><x>0</x></foo>
- * 
+ * } * *

* By creating a side boolean field/property that has this annotation, @@ -81,14 +81,14 @@ * * marshaller.marshal(f); * - *

+ * {@code * <foo/> - * + * } * * f.xIsPresent = true; - * + * {@code * <foo><x>5</x></foo> - * + * } * * *