Actions
Architecture #22764
closedArchitecture #22723: Backport scala 2.13 change for scala 3.0 migration
Correct warning due to nowarn or release in 7.2 branch
Status:
Released
Priority:
N/A
Assignee:
Category:
Architecture - Code maintenance
Target version:
Fix check:
Checked
Regression:
No
Description
Things like:
[WARNING] warning: -target is deprecated: Use -release instead to compile against the correct platform API.
This one is due to having
target
deprecated by JDK 17 in favor of release
. Both are supported by jdk 11, so we can use release
even in 7.2
Or
[WARNING] warning: -target is deprecated: Use -release instead to compile against the correct platform API. [WARNING] /home/fanf/java/workspaces/rudder-project/rudder/webapp/sources/rudder/rudder-core/src/main/scala/com/normation/rudder/services/marshalling/XmlUnserialisationImpl.scala:280: warning: class StringEscapeUtils in package lang3 is deprecated [WARNING] StringEscapeUtils.unescapeXml((p \\ "value").text.trim), [WARNING] ^ [WARNING] /home/fanf/java/workspaces/rudder-project/rudder/webapp/sources/rudder/rudder-core/src/main/scala/com/normation/rudder/batch/AutomaticReportsCleaner.scala:425: warning: @nowarn annotation does not suppress any warnings [ERROR] .forkDaemon: @nowarn("msg=a type was inferred to be `\\w+`; this may indicate a programming error.") [INFO] ^ [WARNING] /home/fanf/java/workspaces/rudder-project/rudder/webapp/sources/rudder/rudder-core/src/main/scala/com/normation/rudder/batch/CheckInventoryUpdate.scala:102: warning: @nowarn annotation does not suppress any warnings [WARNING] ): @nowarn( [INFO] ^ [WARNING] /home/fanf/java/workspaces/rudder-project/rudder/webapp/sources/rudder/rudder-core/src/main/scala/com/normation/rudder/batch/PurgeUnreferencedSoftwares.scala:69: warning: @nowarn annotation does not suppress any warnings [WARNING] ): @nowarn( [INFO] ^ [WARNING] /home/fanf/java/workspaces/rudder-project/rudder/webapp/sources/rudder/rudder-core/src/main/scala/com/normation/rudder/inventory/InventoryProcessor.scala:190: warning: @nowarn annotation does not suppress any warnings [WARNING] @nowarn("msg=a type was inferred to be `Any`") [INFO] ^ [WARNING] /home/fanf/java/workspaces/rudder-project/rudder/webapp/sources/rudder/rudder-core/src/main/scala/com/normation/rudder/repository/xml/ItemArchiveManagerImpl.scala:105: warning: @nowarn annotation does not suppress any warnings [WARNING] @nowarn("msg=a type was inferred to be `Any`") [INFO] ^ [WARNING] /home/fanf/java/workspaces/rudder-project/rudder/webapp/sources/rudder/rudder-core/src/main/scala/com/normation/rudder/services/healthcheck/HealthcheckNotificationService.scala:77: warning: @nowarn annotation does not suppress any warnings [WARNING] .runNow: @nowarn("msg=a type was inferred to be `Any`")
Updated by François ARMAND over 1 year ago
- Status changed from New to In progress
- Assignee set to François ARMAND
Updated by François ARMAND over 1 year 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/4797
Updated by Vincent MEMBRÉ over 1 year ago
- Target version changed from 7.2.7 to 7.2.8
Updated by Anonymous over 1 year ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|0a7a0a35b8254eef88716057e9570c3ef6bdf76a.
Updated by Anonymous over 1 year ago
Applied in changeset rudder|0df26a23131c031b2c6cf962c75b7ceab18f01e0.
Updated by Vincent MEMBRÉ over 1 year ago
- Fix check changed from To do to Checked
Updated by Vincent MEMBRÉ over 1 year ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 7.2.8 and 7.3.3 which were released today.
Actions