Project: JDT
Bug 29379 [typing] Auto-inserted bracket '}' crosses parentheses scope
Reported: 2003-01-13 08:46:00 | Status: resolved fixed

Suppose there is a method void foo (String []); if in some place you want ivoke the method creating the array on fly, and suppose to type something like: foo (new String [] {"x"}) automatic parentheses and curved brackets insertion makes your code looking as foo (new String [] {<cursor here>) } i.e closing curved bracket goes out of the method parameter parentheses...

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java