Bug 22392 - StackOverflowError caused by CompilationResult.quickPrioritize when importing or pasting a file
Summary: StackOverflowError caused by CompilationResult.quickPrioritize when importing...
Status: VERIFIED DUPLICATE of bug 21230
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P2 major (vote)
Target Milestone: 2.0.1   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-13 11:37 EDT by Alice Connors CLA
Modified: 2002-08-21 07:46 EDT (History)
0 users

See Also:


Attachments
Java file generated using EGL (371.23 KB, text/plain)
2002-08-13 11:40 EDT, Alice Connors CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alice Connors CLA 2002-08-13 11:37:06 EDT
Do the following to reproduce the problem:
1.  Define a Java project.
2.  Import the attached file into the project.  (I've also gotten the error by
copying and pasting the file.)

I get the following error:
java.lang.StackOverflowError
	at 
org.eclipse.jdt.internal.compiler.CompilationResult.computePriority(CompilationR
esult.java:97)
	at 
org.eclipse.jdt.internal.compiler.CompilationResult.quickPrioritize(CompilationR
esult.java:220)
	at 
org.eclipse.jdt.internal.compiler.CompilationResult.quickPrioritize(CompilationR
esult.java:230)
	at 
org.eclipse.jdt.internal.compiler.CompilationResult.quickPrioritize(CompilationR
esult.java:230)
	at 
org.eclipse.jdt.internal.compiler.CompilationResult.quickPrioritize(CompilationR
esult.java:230)
	at 
org.eclipse.jdt.internal.compiler.CompilationResult.quickPrioritize(CompilationR
esult.java:230)
	at 
org.eclipse.jdt.internal.compiler.CompilationResult.quickPrioritize(CompilationR
esult.java:230)
	at 
org.eclipse.jdt.internal.compiler.CompilationResult.quickPrioritize(CompilationR
esult.java:230)  etc...

I am using a 2.0 build of Eclipse.  This looks alot like bug #21230.
Comment 1 Alice Connors CLA 2002-08-13 11:40:29 EDT
Created attachment 1836 [details]
Java file generated using EGL
Comment 2 Mike Wilson CLA 2002-08-13 15:44:44 EDT
I have no idea why this would be SWT. Moving to JDT for consideration.
Comment 3 Jerome Lanneluc CLA 2002-08-20 07:53:40 EDT
Yes this is a dup of 21230

*** This bug has been marked as a duplicate of 21230 ***
Comment 4 Jerome Lanneluc CLA 2002-08-21 07:46:05 EDT
Verified