Project

General

Profile

Actions

Bug #10146

closed

warning: Class javax.annotation.Nonnull not found - continuing with a stub.

Added by François ARMAND almost 8 years ago. Updated almost 8 years ago.

Status:
Released
Priority:
2
Category:
Architecture - Dependencies
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

When building Rudder-core, we get a log of:

[WARNING] warning: Class javax.annotation.Nonnull not found - continuing with a stub.
[WARNING] warning: Class javax.annotation.Nonnull not found - continuing with a stub.
[WARNING] warning: Class javax.annotation.Nonnegative not found - continuing with a stub.

It seems to be due to a bug in scalac not handling correctly some annotation retention policy.
solution is to add dependency toward annotation jar for JSR305.

It was already in Rudder 3.0 (see #7365) but not corrected or reintroduced.

Actions

Also available in: Atom PDF