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
attribute= 0;
		}
	}
	/**
	 * Checks whether <code>tag</code> is a valid tag content (text inside the angular
	 * brackets &lt;, &gt;).
	 * <p>
	 * The algorithm is to see if the tag trimmed of whitespace and an optional slash 
	 * starts with one of our recognized tags.
	 * 
	 * @param tag
	 * @return <code>true</code> if <code>tag</code> is a valid tag content
	 */
	private boolean isValidTag(String tag) {
		
		if (tag.startsWith("/")) 
			tag= tag.substring(1, tag.length());
		
		
		tag= tag.trim();
		
		
		int i= 0;
		while (i < tag.length() && !Character.isWhitespace(tag.charAt(i)))
			i++;
		tag= tag.substring(0, i);
		
		
		return isTagName(tag.toLowerCase());
	}