This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
From the test refactoring/qa-functional/Move class/testClass7 is sometimes thrown a problem about accessing a protected field which should not be thrown there. The moved class is a subclass of class which declares the field. Problem: Class "org.netbeans.tests.examples.packb.BeanDD" accesses protected field "refID" declared in class "org.netbeans.tests.examples.packb.Bean". Class Bean was previously moved into the package packb, class BeanDD is 'secondary' top-level class of moved BeansD class.
Emane can you provide "manual" step by step instructions, please. I'm looking at the tests, and they move BeansD into "packagec". If I do it, no warning is shown.
There is six tests which are changing the project before the testClass7. I'll try to find some better steps to reproduce it.
See: refactoring/qa-functional|Undo/move class testUndoMoveClass3 and testUndoMoveClass4. They are failing with the same reason.
Well, is this bug reproducible without automatic tests (manually?)
I don't know, it is RANDOM. I have not reproduced it yet.
Is this bug still valid?
I'm not able to reproduce it without xtest. I'm setting target milestone to future. As soon as someone provides "manual" steps to reproduce, I'll look at it again.
Checking in src/org/netbeans/modules/refactoring/api/Bundle.properties; /cvs/refactoring/src/org/netbeans/modules/refactoring/api/Bundle.properties,v <-- Bundle.properties new revision: 1.21; previous revision: 1.20 done Processing log script arguments... More commits to come... Checking in src/org/netbeans/modules/refactoring/plugins/MoveClassRefactoringPlugin.java; /cvs/refactoring/src/org/netbeans/modules/refactoring/plugins/MoveClassRefactoringPlugin.java,v <-- MoveClassRefactoringPlugin.java new revision: 1.15; previous revision: 1.14 done
It is back in tests' results.
I can fix it, If you provide steps to reproduce without xtest.
QA-Functional refactoring tests are too complecated for debugging. Marking as INCOMPLETE. As soon as you provide reproducible scenario without xtest framework, please let me know.
Emane, is this issue still valid?
I do not know history of test results, probably it is not valid now.
Closing as reporter suggested.
verified