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
/*
	 * @see org.eclipse.jdt.internal.ui.text.comment.CommentLine#tokenizeLine(int)
	 */
	protected void tokenizeLine(int line) {
		int offset= 0;
		int index= offset;
		final CommentRegion parent= getParent();
		final CommentRange range= getFirst();
		final int begin= range.getOffset();
		final String content= parent.getText(begin, range.getLength());
		final int length= content.length();
		while (offset < length && Character.isWhitespace(content.charAt(offset)))
			offset++;
		CommentRange result= null;
		if (offset >= length && !parent.isClearLines() && (line > 0 && line < parent.getSize() - 1)) {
			result= new CommentRange(begin, 0);
			result.setAttribute(COMMENT_BLANKLINE);
			result.setAttribute(COMMENT_FIRST_TOKEN);
			parent.append(result);
		}
		int attribute= COMMENT_FIRST_TOKEN;
		while (offset < length) {
			while (offset < length && Character.isWhitespace(content.charAt(offset)))
				offset++;
			index= offset;
			if (index < length) {
				if (content.charAt(index) == HTML_TAG_PREFIX) {