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 234645

Summary: Add a utility method creating Scopes capable to access all private methods and fields when parsing and evaluating expressions.
Product: java Reporter: Dusan Balek <dbalek>
Component: SourceAssignee: Dusan Balek <dbalek>
Status: VERIFIED FIXED    
Severity: normal CC: mentlicher
Priority: P3 Keywords: API, API_REVIEW_FAST
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 234037    
Attachments: Proposed change

Description Dusan Balek 2013-08-20 13:04:35 UTC
Add a utility method creating Scopes capable to access all private methods and fields when parsing and evaluating expressions. When using such Scope, the accessibility checks would not be enforced during a tree attribution.
Comment 1 Dusan Balek 2013-08-20 13:13:18 UTC
Created attachment 138914 [details]
Proposed change
Comment 2 Dusan Balek 2013-08-20 13:15:37 UTC
Please review the attached patch.
Comment 3 Dusan Balek 2013-08-27 09:19:58 UTC
Integrated into jet-main.

http://hg.netbeans.org/jet-main/rev/939448e5433c
Comment 4 Martin Entlicher 2013-08-30 15:57:13 UTC
Thanks, verified.