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 96896 Details for
Bug 222326
[1.5][compiler] NullPointerException during: "Compute launch button tooltip".
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Testcase
patch.txt (text/plain), 2.47 KB, created by
Kent Johnson
on 2008-04-21 13:39:41 EDT
(
hide
)
Description:
Testcase
Filename:
MIME Type:
Creator:
Kent Johnson
Created:
2008-04-21 13:39:41 EDT
Size:
2.47 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core.tests.model >Index: src/org/eclipse/jdt/core/tests/model/CompletionTests_1_5.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/CompletionTests_1_5.java,v >retrieving revision 1.101 >diff -u -r1.101 CompletionTests_1_5.java >--- src/org/eclipse/jdt/core/tests/model/CompletionTests_1_5.java 16 Apr 2008 11:19:26 -0000 1.101 >+++ src/org/eclipse/jdt/core/tests/model/CompletionTests_1_5.java 21 Apr 2008 17:38:36 -0000 >@@ -13164,4 +13164,39 @@ > "varzz1[LOCAL_VARIABLE_REF]{varzz1, null, I, varzz1, null, " + (R_DEFAULT + R_RESOLVED + R_INTERESTING + R_CASE + R_UNQUALIFIED + R_NON_RESTRICTED) + "}", > requestor.getResults()); > } >+//https://bugs.eclipse.org/bugs/show_bug.cgi?id=222326 >+public void test0367() throws JavaModelException { >+ this.workingCopies = new ICompilationUnit[7]; >+ this.workingCopies[0] = getWorkingCopy( >+ "/Completion/src/X.java", >+ "public interface X<T1 extends Y<?, ?, ?>, T2 extends Zz<?, ?, ?>> extends O<T1> , U<T2> {}"); >+ this.workingCopies[1] = getWorkingCopy( >+ "/Completion/src/Y.java", >+ "public interface Y<T1 extends Y<?, ?, ?>, T2 extends Zz<?, ?, ?>, T3 extends X<?, ?>> extends X<T1, T2>, N<T3> {}"); >+ this.workingCopies[2] = getWorkingCopy( >+ "/Completion/src/Zz.java", >+ "public interface Zz<T1 extends Y<?, ?, ?>, T2 extends Zz<?, ?, ?>, T3 extends X<?, ?>>extends X<T1, T2>, C<T3> {}"); >+ this.workingCopies[3] = getWorkingCopy( >+ "/Completion/src/C.java", >+ "public interface C<T extends U<? extends C<?>>> {}"); >+ this.workingCopies[4] = getWorkingCopy( >+ "/Completion/src/N.java", >+ "public interface N<T extends O<? extends N<?>>> {}"); >+ this.workingCopies[5] = getWorkingCopy( >+ "/Completion/src/O.java", >+ "public interface O<T extends N<? extends O<?>>> {}"); >+ this.workingCopies[6] = getWorkingCopy( >+ "/Completion/src/U.java", >+ "public interface U<T extends C<? extends U<?>>> {}"); >+ >+ CompletionTestsRequestor2 requestor = new CompletionTestsRequestor2(true); >+ String str = this.workingCopies[0].getSource(); >+ String completeBehind = "extends Zz"; >+ int cursorLocation = str.lastIndexOf(completeBehind) + completeBehind.length(); >+ this.workingCopies[0].codeComplete(cursorLocation, requestor, this.wcOwner); >+ >+ assertResults( >+ "Zz[TYPE_REF]{Zz, , LZz;, null, null, 26}", >+ requestor.getResults()); >+} > }
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 222326
:
96451
| 96896