Project

General

Profile

Actions

Bug #10146

closed

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

Added by François ARMAND about 7 years ago. Updated about 7 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 #1

Updated by François ARMAND about 7 years 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
Actions #2

Updated by François ARMAND about 7 years ago

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

Updated by François ARMAND about 7 years ago

This ticket is part of Rudder 4.1~beta3

Actions #4

Updated by Vincent MEMBRÉ about 7 years 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.

Actions

Also available in: Atom PDF