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.

Bug 131696

Summary: [Pull Up][Push Down] Show warning if there would be reference to not-available private elements after refactoring
Product: java Reporter: Jiri Prox <jiriprox>
Component: RefactoringAssignee: Jan Becicka <jbecicka>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Jiri Prox 2008-04-01 10:14:38 UTC
Product Version: NetBeans IDE Dev (Build 200803311211)
Java: 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22
System: Linux version 2.6.22-14-generic running on i386; UTF-8; en_US (nb)

There should be warning announcing that some reference will become invalid when:

- pulling/pushing private element referenced from element which will stay in actual class
- pulling/pushing element referencing private elements

The other solution would be to change the access modifier from private to something less restrictive.