Architecture #22764
Updated by François ARMAND over 1 year ago
Things like: <pre>[WARNING] warning: -target is deprecated: Use -release instead to compile against the correct platform API.</pre> 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 <pre> [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`") </pre>