Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 53467 Details for
Bug 107931
Add unimplemented methods and missing classpath entry
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Experimentation - do not release
org.eclipse.jdt.core_01.txt (text/plain), 3.09 KB, created by
Maxime Daniel
on 2006-11-08 10:45:29 EST
(
hide
)
Description:
Experimentation - do not release
Filename:
MIME Type:
Creator:
Maxime Daniel
Created:
2006-11-08 10:45:29 EST
Size:
3.09 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: compiler/org/eclipse/jdt/internal/compiler/lookup/SourceTypeBinding.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/SourceTypeBinding.java,v >retrieving revision 1.140 >diff -u -r1.140 SourceTypeBinding.java >--- compiler/org/eclipse/jdt/internal/compiler/lookup/SourceTypeBinding.java 30 Oct 2006 10:56:45 -0000 1.140 >+++ compiler/org/eclipse/jdt/internal/compiler/lookup/SourceTypeBinding.java 8 Nov 2006 15:40:05 -0000 >@@ -1356,6 +1356,7 @@ > Argument arg = arguments[i]; > TypeBinding parameterType = arg.type.resolveType(methodDecl.scope, true /* check bounds*/); > if (parameterType == null) { >+ parameterType = TypeBinding.INT; > foundArgProblem = true; > } else if (parameterType == TypeBinding.VOID) { > methodDecl.scope.problemReporter().argumentTypeCannotBeVoid(this, methodDecl, arg); >@@ -1369,6 +1370,7 @@ > method.modifiers |= ExtraCompilerModifiers.AccGenericSignature; > method.parameters[i] = parameterType; > } >+ method.parameters[i] = parameterType; > } > } > >@@ -1397,14 +1399,15 @@ > } > } > if (foundArgProblem) { >- methodDecl.binding = null; >- method.parameters = Binding.NO_PARAMETERS; // see 107004 >- // nullify type parameter bindings as well as they have a backpointer to the method binding >- // (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=81134) >- if (typeParameters != null) >- for (int i = 0, length = typeParameters.length; i < length; i++) >- typeParameters[i].binding = null; >- return null; >+// methodDecl.binding = null; >+// method.parameters = Binding.NO_PARAMETERS; // see 107004 >+// // nullify type parameter bindings as well as they have a backpointer to the method binding >+// // (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=81134) >+// if (typeParameters != null) >+// for (int i = 0, length = typeParameters.length; i < length; i++) >+// typeParameters[i].binding = null; >+// return null; >+ return method; > } > if (foundReturnTypeProblem) > return method; // but its still unresolved with a null return type & is still connected to its method declaration >#P org.eclipse.jdt.core.tests.model >Index: src/org/eclipse/jdt/core/tests/model/ReconcilerTests.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/ReconcilerTests.java,v >retrieving revision 1.106 >diff -u -r1.106 ReconcilerTests.java >--- src/org/eclipse/jdt/core/tests/model/ReconcilerTests.java 8 Nov 2006 15:18:37 -0000 1.106 >+++ src/org/eclipse/jdt/core/tests/model/ReconcilerTests.java 8 Nov 2006 15:40:13 -0000 >@@ -3388,7 +3388,7 @@ > } > > // https://bugs.eclipse.org/bugs/show_bug.cgi?id=107931 >-public void _test1001() throws CoreException, InterruptedException, IOException { >+public void testONLY_1001() throws CoreException, InterruptedException, IOException { > try { > // Resources creation > String sources[] = new String[3];
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 107931
:
53467
|
54770