View | Details | Raw Unified | Return to bug 65090
Collapse All | Expand All

(-)buildnotes_jdt-core.html (+15 lines)
Lines 32-38 Link Here
32
	</td>
32
	</td>
33
  </tr>
33
  </tr>
34
</table>
34
</table>
35
<a name="v_437"></a>
36
<p><hr><h1>
37
Eclipse Platform Build Notes&nbsp;<br>
38
Java Development Tooling Core</h1>
39
Eclipse SDK 3.0RC2 Build - ? June 2004 - 3.0 RELEASE CANDIDATE 2
40
<br>Project org.eclipse.jdt.core v_437
41
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_437">cvs</a>).
42
<h2>
43
What's new in this drop</h2>
44
<ul>
45
</ul>
35
46
47
<h3>Problem Reports Fixed</h3>
48
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=65090">65090</a>
49
ASTParser with kind == K_STATEMENTS doesn't work unless source range specified
50
	  	
36
<a name="v_436"></a>
51
<a name="v_436"></a>
37
<p><hr><h1>
52
<p><hr><h1>
38
Eclipse Platform Build Notes&nbsp;<br>
53
Eclipse Platform Build Notes&nbsp;<br>
(-)batch/org/eclipse/jdt/internal/compiler/batch/messages.properties (-1 / +1 lines)
Lines 12-18 Link Here
12
12
13
### compiler 
13
### compiler 
14
compiler.name = Eclipse Java Compiler
14
compiler.name = Eclipse Java Compiler
15
compiler.version = 0.436
15
compiler.version = 0.437
16
compiler.copyright = Copyright IBM Corp 2000, 2004. All rights reserved.
16
compiler.copyright = Copyright IBM Corp 2000, 2004. All rights reserved.
17
17
18
### scanning
18
### scanning
(-)dom/org/eclipse/jdt/core/dom/ASTParser.java (+6 lines)
Lines 644-649 Link Here
644
					if (source == null) {
644
					if (source == null) {
645
						throw new IllegalStateException();
645
						throw new IllegalStateException();
646
					}
646
					}
647
					if (this.sourceLength == -1) {
648
						this.sourceLength = source.length;
649
					}
647
					if (this.partial) {
650
					if (this.partial) {
648
						searcher = new NodeSearcher(this.focalPointPosition);
651
						searcher = new NodeSearcher(this.focalPointPosition);
649
					}
652
					}
Lines 796-801 Link Here
796
		converter.setAST(ast);
799
		converter.setAST(ast);
797
		CodeSnippetParsingUtil codeSnippetParsingUtil = new CodeSnippetParsingUtil();
800
		CodeSnippetParsingUtil codeSnippetParsingUtil = new CodeSnippetParsingUtil();
798
		CompilationUnit compilationUnit = ast.newCompilationUnit();
801
		CompilationUnit compilationUnit = ast.newCompilationUnit();
802
		if (this.sourceLength == -1) {
803
			this.sourceLength = this.rawSource.length;
804
		}
799
		switch(this.astKind) {
805
		switch(this.astKind) {
800
			case K_STATEMENTS :
806
			case K_STATEMENTS :
801
				ConstructorDeclaration constructorDeclaration = codeSnippetParsingUtil.parseStatements(this.rawSource, this.sourceOffset, this.sourceLength, this.compilerOptions, true);
807
				ConstructorDeclaration constructorDeclaration = codeSnippetParsingUtil.parseStatements(this.rawSource, this.sourceOffset, this.sourceLength, this.compilerOptions, true);

Return to bug 65090