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 - Suppress processor warnings by default
Summary: Suppress processor warnings by default
Status: NEW
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Martin Kozeny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-24 11:06 UTC by cezariusz
Modified: 2015-05-24 11:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.