]
Mark Little commented on JBTM-2210:
-----------------------------------
No, failing on warn is probably not a good idea. I'm surprised that I didn't see
it earlier, since I built the source quite a bit only a few weeks ago. I'm also
surprised no one else caught it if it's been around that long.
Do we regularly check the build logs? Even building in the cloud or an IDE should generate
the same warnings (e.g., in Eclipse).
Remove deprecation warnings for logging and junit
-------------------------------------------------
Key: JBTM-2210
URL:
https://issues.jboss.org/browse/JBTM-2210
Project: JBoss Transaction Manager
Issue Type: Task
Security Level: Public(Everyone can see)
Components: Common, JTA, JTS, REST, Transaction Core, TXFramework
Affects Versions: 5.0.2
Reporter: Mark Little
Assignee: Tom Jenkinson
INFO] Compiling 25 source files to
/Users/marklittle/github/narayana/ArjunaCore/txoj/target/classes
[WARNING]
/Users/marklittle/github/narayana/ArjunaCore/txoj/classes/com/arjuna/ats/txoj/logging/txojI18NLogger.java:[50,32]
org.jboss.logging.Cause in org.jboss.logging has been deprecated
[WARNING]
/Users/marklittle/github/narayana/ArjunaCore/txoj/classes/com/arjuna/ats/txoj/logging/txojI18NLogger.java:[48,6]
org.jboss.logging.Message in org.jboss.logging has been deprecated
[WARNING]
/Users/marklittle/github/narayana/ArjunaCore/txoj/classes/com/arjuna/ats/txoj/logging/txojI18NLogger.java:[49,10]
org.jboss.logging.LogMessage in org.jboss.logging has been deprecated
[WARNING]
/Users/marklittle/github/narayana/ArjunaCore/txoj/classes/com/arjuna/ats/txoj/logging/txojI18NLogger.java:[54,32]
org.jboss.logging.Cause in org.jboss.logging has been deprecated
[WARNING]
/Users/marklittle/github/narayana/ArjunaCore/txoj/classes/com/arjuna/ats/txoj/logging/txojI18NLogger.java:[52,10]
org.jboss.logging.Message in org.jboss.logging has been deprecated
[WARNING]
/Users/marklittle/github/narayana/ArjunaCore/txoj/classes/com/arjuna/ats/txoj/logging/txojI18NLogger.java:[53,10]
org.jboss.logging.LogMessage in org.jboss.logging has been deprecated
[WARNING] COMPILATION WARNING :
[INFO] -------------------------------------------------------------
[WARNING]
/Users/marklittle/github/narayana/ArjunaJTA/jta/tests/classes/com/hp/mwtests/ts/jta/commitmarkable/integration/CMRIntegrationTest.java:[19,30]
junit.framework.Assert in junit.framework has been deprecated
[WARNING]
/Users/marklittle/github/narayana/ArjunaJTA/jta/tests/classes/com/hp/mwtests/ts/jta/commitmarkable/integration/CMRIntegrationTest.java:[19,30]
junit.framework.Assert in junit.framework has been deprecated
[WARNING] The following options were not recognized by any processor:
'[translationFilesPath]'
[WARNING]
/Users/marklittle/github/narayana/ArjunaJTA/jta/tests/classes/com/hp/mwtests/ts/jta/commitmarkable/integration/CMRIntegrationTest.java:[19,30]
junit.framework.Assert in junit.framework has been deprecated
[WARNING]
/Users/marklittle/github/narayana/ArjunaJTA/jta/tests/classes/com/hp/mwtests/ts/jta/jca/SubordinateTxUnitTest.java:[66,40]
SubordinateAtomicAction() in
com.arjuna.ats.internal.jta.transaction.arjunacore.subordinate.jca.SubordinateAtomicAction
has been deprecated
[WARNING]
/Users/marklittle/github/narayana/ArjunaJTA/jta/tests/classes/com/hp/mwtests/ts/jta/recovery/XARecoveryResourceUnitTest.java:[78,25]
getXAResource() in com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryResourceImple
has been deprecated
[WARNING]
/Users/marklittle/github/narayana/ArjunaJTA/jta/tests/classes/com/hp/mwtests/ts/jta/recovery/XARecoveryModuleUnitTest.java:[157,31]
TransactionImple(int) in
com.arjuna.ats.internal.jta.transaction.arjunacore.subordinate.jca.TransactionImple has
been deprecated
[WARNING]
/Users/marklittle/github/narayana/ArjunaJTA/jta/tests/classes/com/hp/mwtests/ts/jta/subordinate/SubordinateTestCase.java:[51,16]
TransactionImple(int) in
com.arjuna.ats.internal.jta.transaction.arjunacore.subordinate.jca.TransactionImple has
been deprecated
[WARNING]
/Users/marklittle/github/narayana/ArjunaJTA/jta/tests/classes/com/hp/mwtests/ts/jta/subordinate/SubordinateTxUnitTest.java:[105,11]
doForget() in
com.arjuna.ats.internal.jta.transaction.arjunacore.subordinate.TransactionImple has been
deprecated
[WARNING]
/Users/marklittle/github/narayana/ArjunaJTA/jta/tests/classes/com/hp/mwtests/ts/jta/subordinate/SubordinateTxUnitTest.java:[126,12]
doForget() in
com.arjuna.ats.internal.jta.transaction.arjunacore.subordinate.SubordinateAtomicAction has
been deprecated
[WARNING]
/Users/marklittle/github/narayana/ArjunaJTA/jta/tests/classes/com/hp/mwtests/ts/jta/recovery/XARecoveryModuleUnitTest.java:
Some input files use unchecked or unsafe operations.
[WARNING]
/Users/marklittle/github/narayana/ArjunaJTA/jta/tests/classes/com/hp/mwtests/ts/jta/recovery/XARecoveryModuleUnitTest.java:
Recompile with -Xlint:unchecked for details.