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 - [Pull Up][Push Down] Show warning if there would be reference to not-available private elements after refactoring
Summary: [Pull Up][Push Down] Show warning if there would be reference to not-availab...
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-01 10:14 UTC by Jiri Prox
Modified: 2010-09-23 08:43 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.