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 36749 Details for
Bug 132813
[compiler] NPE in Javadoc.resolve(Javadoc.java:196) + log swamped
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Test case
v00-compiler.txt (text/plain), 1.81 KB, created by
Frederic Fusier
on 2006-03-22 11:11:24 EST
(
hide
)
Description:
Test case
Filename:
MIME Type:
Creator:
Frederic Fusier
Created:
2006-03-22 11:11:24 EST
Size:
1.81 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core.tests.compiler >Index: src/org/eclipse/jdt/core/tests/compiler/regression/JavadocBugsTest.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/JavadocBugsTest.java,v >retrieving revision 1.20 >diff -u -r1.20 JavadocBugsTest.java >--- src/org/eclipse/jdt/core/tests/compiler/regression/JavadocBugsTest.java 13 Mar 2006 18:41:24 -0000 1.20 >+++ src/org/eclipse/jdt/core/tests/compiler/regression/JavadocBugsTest.java 22 Mar 2006 16:08:53 -0000 >@@ -3997,6 +3997,7 @@ > "----------\n" > ); > } >+ > /** > * Bug 128954: Javadoc problems with category CAT_INTERNAL > * @see "http://bugs.eclipse.org/bugs/show_bug.cgi?id=128954" >@@ -4176,4 +4177,37 @@ > } > ); > } >+ >+ /** >+ * Bug 132813: NPE in Javadoc.resolve(Javadoc.java:196) + log swamped >+ * @see "http://bugs.eclipse.org/bugs/show_bug.cgi?id=132813" >+ */ >+ public void testBug132813() { >+ runNegativeTest( >+ new String[] { >+ "Test.java", >+ "public class X { \n" + >+ " /** */ \n" + >+ " public Test() {}\n" + >+ " /** */\n" + >+ " public test() {}\n" + >+ "}\n" }, >+ "----------\n" + >+ "1. ERROR in Test.java (at line 1)\n" + >+ " public class X { \n" + >+ " ^\n" + >+ "The public type X must be defined in its own file\n" + >+ "----------\n" + >+ "2. ERROR in Test.java (at line 3)\n" + >+ " public Test() {}\n" + >+ " ^^^^^^\n" + >+ "Return type for the method is missing\n" + >+ "----------\n" + >+ "3. ERROR in Test.java (at line 5)\n" + >+ " public test() {}\n" + >+ " ^^^^^^\n" + >+ "Return type for the method is missing\n" + >+ "----------\n" >+ ); >+ } > }
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 132813
: 36749