Project

General

Profile

Bug #10146

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

Added by François ARMAND 10 months ago. Updated 9 months ago.

Status:
Released
Priority:
2
Category:
Architecture - Dependencies
Target version:
Target version (plugin):
Severity:
User visibility:
Effort required:
Priority:

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.

Associated revisions

Revision e1eef564
Added by François ARMAND 10 months ago

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

Revision ae94498e
Added by François ARMAND 10 months ago

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

History

#1 Updated by François ARMAND 10 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/1478

#2 Updated by François ARMAND 10 months ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100

#3 Updated by François ARMAND 9 months ago

This ticket is part of Rudder 4.1~beta3

#4 Updated by Vincent MEMBRÉ 9 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.1.18, 3.2.11, 4.0.3 and 4.1.0~beta3 which were released today.

Also available in: Atom PDF