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 240775

Summary: Bread crumbs: I see "value", but automatic test returns "value<typename T>"
Product: cnd Reporter: soldatov <soldatov>
Component: EditorAssignee: Alexander Simon <alexvsimon>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description soldatov 2014-01-21 14:23:56 UTC
C++ code:

template <typename T> T value(T t) {
    return t;
}

int main(int argc, char** argv) {
    
    return 0;
}

Automatic test checks bread crumbs at "T value(T t)" line, and I have such problem:
1) node.getHtmlDisplayName() returns "value<typename T>" (org.openide.nodes.Node class)
2) real I see "value" bread crumb
3) In messages.log I see such warning:
WARNING [org.openide.awt.HtmlRenderer]: Malformed or unsupported HTML
WARNING [org.openide.awt.HtmlRenderer]:   value<typename T>
WARNING [org.openide.awt.HtmlRenderer]:        ^
WARNING [org.openide.awt.HtmlRenderer]:  Full HTML string:value<typename T>
WARNING [org.openide.awt.HtmlRenderer]: Malformed or unsupported HTML
WARNING [org.openide.awt.HtmlRenderer]:   value<typename T>
WARNING [org.openide.awt.HtmlRenderer]:        ^
WARNING [org.openide.awt.HtmlRenderer]:  Full HTML string:value<typename T>
Comment 1 Alexander Simon 2014-02-06 14:28:23 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/summary
Comment 2 Quality Engineering 2014-02-07 02:39:01 UTC
Integrated into 'main-silver', will be available in build *201402070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/b24abb9afe71
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #240775 Bread crumbs: I see "value", but automatic test returns "value<typename T>"