Bug 51654 [formatting] formatter removes last line with block comments
The formatter seems to remove anything contained on the line with the end block comment. before formating: example: /* style.process( xmlinput, new XSLTResultTarget(response.getWriter())); */ After formating: /* * style.process( xmlinput, */ If I put the end block comment on the next line if format properly. I am using all the default settings for 3.0M6
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/comment/MultiCommentLine.java
/**
	 * Checks whether <code>tag</code> is one of the configured tags.
	 * 
	 * @param tag the tag to check
	 * @return <code>true</code> if <code>tag</code> is a configured tag name
	 */
	private boolean isTagName(String tag) {
		return fgTagLookup.contains(tag);
	}
	/**
	 * Removes all leading and trailing occurrences from <code>line</code>.
	 * 
	 * @param line
	 *                  The string to remove the occurrences of <code>trimmable</code>
	 * @param trimmable
	 *                  The string to remove from <code>line</code>
	 * @return The region of the trimmed substring within <code>line</code>
	 */
	protected final IRegion trimLine(final String line, final String trimmable) {
		final int trim= trimmable.length();
		int offset= 0;
		int length= line.length() - trim;
		while (line.startsWith(trimmable, offset))
			offset += trim;
		while (line.startsWith(trimmable, length))
			length -= trim;
		return new Region(offset, length + trim);
	}
}