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 252565

Summary: Suppress processor warnings by default
Product: apisupport Reporter: cezariusz <cezariusz>
Component: ProjectAssignee: Martin Kozeny <mkozeny>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description cezariusz 2015-05-24 11:06:07 UTC
Product Version: NetBeans IDE Dev (Build 201505220001)
Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_45-b14
System: Windows 7 version 6.1 running on amd64; UTF-8; pl_PL (nb)

When building a module with classes that have any nonstandard annotations, there are warnings in the log like this:

warning: No processor claimed any of these annotations: javax.xml.bind.annotation.XmlAccessorType,javax.xml.bind.annotation.XmlAttribute,javax.xml.bind.annotation.XmlTransient,javax.xml.bind.annotation.XmlRootElement,javax.xml.bind.annotation.XmlType,javax.xml.bind.annotation.XmlRegistry,javax.xml.bind.annotation.XmlElement

They seem to be useless and misleading for new users, and they should be disabled by default adding the "-Xlint:-processing" parameter when source level is 1.7 or higher.
You already enable "lint" warnings when changing to the source level 1.5 or higher, so why not disable processing warnings when changing to 1.7 or higher.