View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0002566 | Spring engine | General | public | 2011-07-20 12:27 | 2011-07-23 11:30 | ||||
Reporter | abma | ||||||||
Assigned To | hoijui | ||||||||
Priority | normal | Severity | feature | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0002566: (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...) | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
hoijui (reporter) 2011-07-22 10:49 |
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. |
hoijui (reporter) 2011-07-23 11:30 |
resolved in: https://github.com/spring/spring/commit/5df199a19e49fd18b482a39065b6a2767f07bebe https://github.com/spring/spring/commit/eebf86827a56eb80529cab898d8a257838274b38 |
![]() |
|||
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 |