Skip to content

hennr/NetBeansDupplicateClassMergeBug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

This is a project to help the NetBeans devs reproducing the following bug:

http://netbeans.org/bugzilla/show_bug.cgi?id=197983

Update: The bug is closed now, this project will stay here for possible regressions and historical reasons.

== Reproduce ==

To reproduce, do the following:

git clone https://github.com/hennr/NetBeansDupplicateClassMergeBug.git
cd NetBeansDupplicateClassMergeBug

open the project in NetBeans

git checkout conflict
git checkout master
git merge conflict
git mergetool
// will open meld for example, accept changes as you like for both files, should make no difference

// rm the *.orig files afterwards
rm src/main/java/name/hennr/netbeansdupplicateclassmergebug/*.orig

NetBeans should now have trouble with the class Bar or Foo
depending on which version you accepted (ours, theirs or one and one).

"duplicate class: name.hennr.netbeansdupplicateclassmergebug.Foo"