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 267454

Summary: Copying code from javadoc inserts extra invalid characters
Product: java Reporter: Maksim Khramov <mkhramov>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Other   
Issue Type: DEFECT Exception Reporter:

Description Maksim Khramov 2016-08-05 19:24:57 UTC
Product Version: NetBeans IDE Dev (Build 201607270002)
Java: 1.8.0_102; Java HotSpot(TM) 64-Bit Server VM 25.102-b14

Steps to reproduce:
Open java file in editor.
Press Ctrl and hover mouse over some class declaration (ex. new JMenuBar();) to get javadoc popup window.
In javadoc window select fcn class name (e.g javax.swing.JMenuBar) 
Paste it to editor;
Editor highlights this text as erroneous with message:
 illegal character: '\u200b'

This character is invisible character after each dot in inserted line