2025-07-19 10:25 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002566Spring engineGeneralpublic2011-07-23 11:30
Reporterabma 
Assigned Tohoijui 
PrioritynormalSeverityfeatureReproducibilityalways
StatusresolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0002566: (master) use -Xlint:deprecation for javac
Description
buildbot prints this warning message:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

http://springrts.com:7778/builders/full-linux/builds/1558/steps/buildConfig/logs/stdio

adding -Xlint:deprecation should fix these (+ show more details about that...)
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0007059

hoijui (reporter)

a few functions in the C AI Callback are deprecated, but they are still wrapped by the Java AI Interface and the JavaOO AI Wrapper. as there are multiple layers there, and each layer calls all methods of the underlaying one, it is inevitable to also call the deprecated functions.
ways to solve:
1. we remove all deprecated functions immediately from all Java stuff (which is against the idea behind deprecated) -> bad!
2. we add @SupressWarnings("deprecation") to all methods that wrap a deprecated function

adding the -Xlint:deprecation option can still be done of course.

~0007061

hoijui (reporter)

resolved in:
https://github.com/spring/spring/commit/5df199a19e49fd18b482a39065b6a2767f07bebe
https://github.com/spring/spring/commit/eebf86827a56eb80529cab898d8a257838274b38
+Notes

-Issue History
Date Modified Username Field Change
2011-07-20 12:27 abma New Issue
2011-07-20 12:27 abma Graphics Card => unknown
2011-07-22 10:49 hoijui Note Added: 0007059
2011-07-23 11:30 hoijui Note Added: 0007061
2011-07-23 11:30 hoijui Status new => resolved
2011-07-23 11:30 hoijui Resolution open => fixed
2011-07-23 11:30 hoijui Assigned To => hoijui
+Issue History