Lionel Cons created AMQ-4437:
--------------------------------

             Summary: JUnit deprecation warnings
                 Key: AMQ-4437
                 URL: https://issues.apache.org/jira/browse/AMQ-4437
             Project: ActiveMQ
          Issue Type: Bug
            Reporter: Lionel Cons


When compiling the ActiveMQ trunk using Java 7, I get:

{quote}
[WARNING] 
~activemq/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/StompVirtualTopicTest.java:[31,22]
 [deprecation] Assert in junit.framework has been deprecated
[WARNING] 
~activemq/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/StompVirtualTopicTest.java:[133,12]
 [deprecation] Assert in junit.framework has been deprecated
[WARNING] 
~activemq/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/StompVirtualTopicTest.java:[192,20]
 [deprecation] Assert in junit.framework has been deprecated
[WARNING] 
~activemq/activemq-pool/src/test/java/org/apache/activemq/pool/PooledConnectionFactoryTest.java:[30,22]
 [deprecation] Assert in junit.framework has been deprecated
[WARNING] 
~activemq/activemq-pool/src/test/java/org/apache/activemq/pool/PooledConnectionFactoryMaximumActiveTest.java:[19,22]
 [deprecation] Assert in junit.framework has been deprecated
[WARNING] 
~activemq/activemq-pool/src/test/java/org/apache/activemq/pool/PooledConnectionTest.java:[73,3]
 [deprecation] Assert in junit.framework has been deprecated
[WARNING] 
~activemq/activemq-pool/src/test/java/org/apache/activemq/pool/PooledConnectionTest.java:[84,3]
 [deprecation] Assert in junit.framework has been deprecated
[WARNING] 
~activemq/activemq-pool/src/test/java/org/apache/activemq/pool/PooledConnectionTest.java:[98,2]
 [deprecation] Assert in junit.framework has been deprecated
[WARNING] 
~activemq/activemq-pool/src/test/java/org/apache/activemq/pool/PooledConnectionFactoryTest.java:[216,12]
 [deprecation] Assert in junit.framework has been deprecated
[WARNING] 
~activemq/activemq-pool/src/test/java/org/apache/activemq/pool/PooledConnectionFactoryTest.java:[251,20]
 [deprecation] Assert in junit.framework has been deprecated
[WARNING] 
~activemq/activemq-pool/src/test/java/org/apache/activemq/pool/PooledConnectionFactoryMaximumActiveTest.java:[112,8]
 [deprecation] Assert in junit.framework has been deprecated
[WARNING] 
~activemq/activemq-pool/src/test/java/org/apache/activemq/pool/PooledConnectionFactoryMaximumActiveTest.java:[115,8]
 [deprecation] Assert in junit.framework has been deprecated
[WARNING] 
~activemq/activemq-spring/src/test/java/org/apache/activemq/usecases/AMQDeadlockTest3.java:[37,22]
 [deprecation] Assert in junit.framework has been deprecated
[WARNING] 
~activemq/activemq-spring/src/test/java/org/apache/activemq/usecases/AMQFailoverIssue.java:[95,12]
 [deprecation] Assert in junit.framework has been deprecated
[WARNING] 
~activemq/activemq-spring/src/test/java/org/apache/activemq/usecases/AMQDeadlockTest3.java:[114,12]
 [deprecation] Assert in junit.framework has been deprecated
[WARNING] 
~activemq/activemq-spring/src/test/java/org/apache/activemq/usecases/AMQDeadlockTest3.java:[165,12]
 [deprecation] Assert in junit.framework has been deprecated
[WARNING] 
~activemq/activemq-spring/src/test/java/org/apache/activemq/usecases/AMQDeadlockTest3.java:[217,12]
 [deprecation] Assert in junit.framework has been deprecated
[WARNING] 
~activemq/activemq-unit-tests/src/test/java/org/apache/activemq/network/NetworkLoopBackTest.java:[26,29]
 [deprecation] Assert in junit.framework has been deprecated
[WARNING] 
~activemq/activemq-fileserver/src/test/java/org/apache/activemq/util/HttpBlobTest.java:[57,8]
 [deprecation] Assert in junit.framework has been deprecated
[WARNING] 
~activemq/activemq-fileserver/src/test/java/org/apache/activemq/util/HttpBlobTest.java:[68,8]
 [deprecation] Assert in junit.framework has been deprecated
{quote}

This is probably something worth fixing...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to