Bug 7211 - Freeze when entering certain Java syntax
Summary: Freeze when entering certain Java syntax
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P1 critical (vote)
Target Milestone: ---   Edit
Assignee: Kai-Uwe Maetzel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-01 18:05 EST by Boris Shingarov CLA
Modified: 2002-01-11 10:57 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Shingarov CLA 2002-01-01 18:05:07 EST
(Version: Christmas stable build.)

When typing text in the Java source pane, certain Java expressions may cause the
whole Eclipse UI to freeze, the only way out being to kill the VM from another
terminal.

Scenaio:

Having this method:

public static final native void gdk_window_resize(int window, int height);

we try to insert a new "width" argument between window and height.  Place the
cursor in front of "int height" and start typing "int width, ".  The UI
completely freezes after int.
Comment 1 Veronika Irvine CLA 2002-01-03 14:40:05 EST
I am using build 20011220-S-20011220 on Windows 2000.

When I edit org.eclipse.swt.internal.win32.OS and add the line (excluding 
double quotes):

"SPI_GETWHEELSCROLLLINES   104" 

in the middle of the field declarations, Eclipse hangs and never comes back.  I 
do not have to try to save to cause this to happen.
Comment 2 Kai-Uwe Maetzel CLA 2002-01-08 10:54:21 EST
Problem fixed in build >= 20020108.
Comment 3 Kai-Uwe Maetzel CLA 2002-01-11 10:57:25 EST
Build 20020109.