Bug 85260 IAE when trying to copy name of TestSuite to clipboard [junit]
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/FailureTrace.java
String pattern;
		int len;
		for (int i= (patterns.length - 1); i >= 0; --i) {
			pattern= patterns[i];
			len= pattern.length() - 1;
			if (pattern.charAt(len) == '*') {
				
				pattern= pattern.substring(0, len);
			} else if (Character.isUpperCase(pattern.charAt(0))) {
				
				pattern= FRAME_PREFIX + pattern + '.';
			} else {
				
				final int lastDotIndex= pattern.lastIndexOf('.');
				if ((lastDotIndex != -1) && (lastDotIndex != len) && Character.isUpperCase(pattern.charAt(lastDotIndex + 1)))
					pattern += '.'; 
			}
			if (line.indexOf(pattern) > 0)
				return true;
		}		
		return false;
	}
    public TestRunInfo getFailedTest() {
        return fFailure;
    }
    public Shell getShell() {
        return fTable.getShell();
    }
}