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 262331

Summary: Navigation through methods doesn't distinguish between volatile and non-volatile methods
Product: cnd Reporter: _ rsmogura <rsmogura>
Component: Code ModelAssignee: Alexander Simon <alexvsimon>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description _ rsmogura 2016-06-03 20:02:08 UTC
Hi CND Team,

When navigating in below snapshot of code
  void enqueue(volatile void* ptr) {
    enqueue((void*)(ptr)); // <-- Navigation link
  }

  // Enqueues the given "obj".
  void enqueue(void* ptr) {
    if (!_active) return;
    else enqueue_known_active(ptr);
  }
Navigation from method enqueue (marked with Navigation link) leeds to void enqueue(volatile void* ptr), but should to void enqueue(void* ptr) (no volatile).
Comment 1 Alexander Simon 2016-06-27 08:54:22 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/83e1ad35f3e6
Comment 2 Quality Engineering 2016-06-28 02:26:42 UTC
Integrated into 'main-silver', will be available in build *201606280002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/83e1ad35f3e6
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #262331 Navigation through methods doesn't distinguish between volatile and non-volatile methods