| Summary: | Negative1 test failing on Linux | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Walter Harley <eclipse> |
| Component: | APT | Assignee: | Generic inbox for the JDT-APT component <jdt-apt-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | minor | ||
| Priority: | P3 | ||
| Version: | 3.4 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | stalebug | ||
I've added a test case in NegativeTests that checks the XML generation, parsing, and comparison, independently of any APT language generation. Hopefully this will help disentangle the question of where the failure is occurring. Reassigning to jdt-apt-inbox, per http://wiki.eclipse.org/Platform_UI/Bug_Triage_Change_2009. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |
The compiler.apt.tests Negative1 test case is failing on Linux. The test case fails identically when run with javac as with Eclipse, so this is a problem in the test code, not the product. For now, I'll disable the test on Linux. The test output (from the javac test) is as follows: Test Negative1 failed. Detailed output follows: Missing expected <annotation-values> in annotation: Anno1 Actual was: -------- <?xml version="1.0" encoding="UTF-8" standalone="no"?> <model> <type-element kind="CLASS" qname="targets.negative.pa.Negative1" sname="Negative1"> <superclass> <type-mirror kind="DECLARED" to-string="java.lang.Object"/> </superclass> <annotations> <annotation sname="A3"/> </annotations> <executable-element kind="CONSTRUCTOR" sname="<init>"/> <variable-element kind="FIELD" sname="s1" type="java.lang.String"> <annotations> <annotation sname="Anno1"/> </annotations> </variable-element> <variable-element kind="FIELD" sname="m1" type="Missing1"> <annotations> <annotation sname="A4"/> </annotations> </variable-element> <variable-element kind="FIELD" sname="i1" type="int"> <annotations> <annotation sname="A5"/> </annotations> </variable-element> <variable-element kind="FIELD" sname="m2" type="Missing2.Missing3.Missing4"> <annotations> <annotation sname="A8"/> </annotations> </variable-element> </type-element> </model> -------- And expected was: <?xml version="1.0" encoding="UTF-8" standalone="no"?> <model> <type-element kind="CLASS" qname="targets.negative.pa.Negative1" sname="Negative1"> <superclass> <type-mirror kind="DECLARED" to-string="java.lang.Object"/> </superclass> <annotations> <annotation sname="A3"/> </annotations> <executable-element kind="CONSTRUCTOR" sname="<init>"/> <variable-element kind="FIELD" sname="s1" type="java.lang.String"> <annotations> <annotation sname="Anno1"> <annotation-values> <annotation-value member="value" type="java.lang.String" value="spud"/> </annotation-values> </annotation> </annotations> </variable-element> <variable-element kind="FIELD" sname="m1" type="Missing1"> <annotations> <annotation sname="A4"/> </annotations> </variable-element> <variable-element kind="FIELD" sname="i1" type="int"> <annotations> <annotation sname="A5"/> </annotations> </variable-element> <variable-element kind="FIELD" sname="m2" type="Missing2.Missing3.Missing4"> <annotations> <annotation sname="A8"/> </annotations> </variable-element> </type-element> </model>