This occurred in version 3.8GA (installed on clean eclipse 3)
<%@ page language="java" import="java.util.regex.*,java.util.*"%>
<% int a = 1; %>
when formatted (right click -> format -> document)
turns into:
<%@ page language="java" import="java.util.regex.*;
import jav"%>
<%
int a = 1;
%>
Something like this seems to happen as soon as there is more than one import (whether separated by comma or defined as import=”x” import=”y”) and ‘some’ other JSP code on the page.