[jbossts-issues] [JBoss JIRA] (JBTM-2210) Remove deprecation warnings for logging and junit
Tom Jenkinson (JIRA)
issues at jboss.org
Fri Jul 4 11:09:24 EDT 2014
[ https://issues.jboss.org/browse/JBTM-2210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12982413#comment-12982413 ]
Tom Jenkinson commented on JBTM-2210:
-------------------------------------
The IDE warnings I usually can't make use of as they are full of "ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized". I will look into whether I can suppress specific types of warnings as I doubt anyone has the appetite to fix those any time soon.
As to checking the cloud build logs, this is really only done when a build fails.
I just had a look but I can't see a way to fail javac just for when using deprecated APIs alone. Its worth pointing out that showDeprecation is off by default and we specifically enable it in the org.jboss.jboss-parent pom.
> 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.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the jbossts-issues
mailing list