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 270481

Summary: Observing two properties on a single Proto object doesn't work
Product: platform Reporter: Jaroslav Tulach <jtulach>
Component: Html4jAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: Dev   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Jaroslav Tulach 2017-04-25 03:49:39 UTC
Writing code like:

        @ComputedProperty @Transitive(deep = true)
        static int sumPositive(Depends next, int value) {
            while (next != null && next.getValue() > 0) {
                value += next.getValue();
                next = next.getNext();
            }
            return value;
        }

- e.g. observing two properties at once (value & next) doesn't work in HTML/Java API version 1.4.
Comment 1 Jaroslav Tulach 2017-04-25 03:58:30 UTC
To be released in post 1.4 version:
https://github.com/jtulach/html-java-api/commit/43125c893fd2f862b8b40e09be6918d0bae22389