Bug 22728 - Java Structured Compare mangles compilation Unit [compare]
Summary: Java Structured Compare mangles compilation Unit [compare]
Status: RESOLVED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Compare (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Andre Weinand CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 31063 (view as bug list)
Depends on: 14442
Blocks:
  Show dependency tree
 
Reported: 2002-08-22 12:26 EDT by Randy Hudson CLA
Modified: 2004-12-08 17:23 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Randy Hudson CLA 2002-08-22 12:26:06 EDT
Structured compare merging does not work.  I merged a CU adding in an Inner 
class, and a field which held onto an instance of that inner class, along with 
several methods on the outer class (using copy current right to left).  The 
field was placed inside the Inner Class.

I've seen it place added methods inside existing methods too.

I can send two versions of the CU to reproduce the merge, but it is internal 
IBM code, so I'd have to send it directly.
Comment 1 Dirk Baeumer CLA 2002-08-22 12:48:39 EDT
Andre, can you have a look at this.
Comment 2 Andre Weinand CLA 2002-09-18 04:23:13 EDT
will be fixed when switching impl to AST
Comment 3 Randy Hudson CLA 2003-02-12 13:48:49 EST
Still broken in M5.
Comment 4 Andre Weinand CLA 2003-02-14 11:22:08 EST
The Severity field is for bug reporters, the Priority field is for the component owner.
Comment 5 Andre Weinand CLA 2003-02-19 12:41:07 EST
*** Bug 31063 has been marked as a duplicate of this bug. ***
Comment 6 Andre Weinand CLA 2003-02-20 04:14:28 EST

*** This bug has been marked as a duplicate of 11375 ***
Comment 7 Randy Hudson CLA 2004-12-08 16:35:43 EST
Java structured compare is still broken in 3.0. In 4 releases, it has never 
worked when the differences include new or deleted members.
Comment 8 Andre Weinand CLA 2004-12-08 17:23:49 EST
Randy please cc yourself to bug #68758