Source compatibility report for the EJB library between 2.0 and 2.1 versions
Test Info
Library Name | EJB |
Version #1 | 2.0 |
Version #2 | 2.1 |
Test Results
Total Java ARchives | 1 |
---|
Total Methods / Classes | 104 / 28 |
---|
Verdict | Incompatible (12.5%) |
Problem Summary
| Severity | Count |
---|
Added Methods | - | 14 |
---|
Removed Methods | High | 0 |
---|
Problems with Data Types | High | 2 |
---|
Medium | 0 |
Low | 0 |
Problems with Methods | High | 0 |
---|
Medium | 0 |
Low | 0 |
Added Methods (14)
ejb-2_1-api.jar, EJBContext.class
package javax.ejb
EJBContext.getTimerService ( ) [abstract] : TimerService
[mangled: javax/ejb/EJBContext.getTimerService:()Ljavax/ejb/TimerService;]
ejb-2_1-api.jar, SessionContext.class
package javax.ejb
SessionContext.getMessageContext ( ) [abstract] : MessageContext
[mangled: javax/ejb/SessionContext.getMessageContext:()Ljavax/xml/rpc/handler/MessageContext;]
ejb-2_1-api.jar, TimedObject.class
package javax.ejb
TimedObject.ejbTimeout ( Timer p1 ) [abstract] : void
[mangled: javax/ejb/TimedObject.ejbTimeout:(Ljavax/ejb/Timer;)V]
ejb-2_1-api.jar, Timer.class
package javax.ejb
Timer.cancel ( ) [abstract] : void
[mangled: javax/ejb/Timer.cancel:()V]
Timer.getHandle ( ) [abstract] : TimerHandle
[mangled: javax/ejb/Timer.getHandle:()Ljavax/ejb/TimerHandle;]
Timer.getInfo ( ) [abstract] : Serializable
[mangled: javax/ejb/Timer.getInfo:()Ljava/io/Serializable;]
Timer.getNextTimeout ( ) [abstract] : Date
[mangled: javax/ejb/Timer.getNextTimeout:()Ljava/util/Date;]
Timer.getTimeRemaining ( ) [abstract] : long
[mangled: javax/ejb/Timer.getTimeRemaining:()J]
ejb-2_1-api.jar, TimerHandle.class
package javax.ejb
TimerHandle.getTimer ( ) [abstract] : Timer
[mangled: javax/ejb/TimerHandle.getTimer:()Ljavax/ejb/Timer;]
ejb-2_1-api.jar, TimerService.class
package javax.ejb
TimerService.createTimer ( Date p1, long p2, Serializable p3 ) [abstract] : Timer
[mangled: javax/ejb/TimerService.createTimer:(Ljava/util/Date;JLjava/io/Serializable;)Ljavax/ejb/Timer;]
TimerService.createTimer ( Date p1, Serializable p2 ) [abstract] : Timer
[mangled: javax/ejb/TimerService.createTimer:(Ljava/util/Date;Ljava/io/Serializable;)Ljavax/ejb/Timer;]
TimerService.createTimer ( long p1, long p2, Serializable p3 ) [abstract] : Timer
[mangled: javax/ejb/TimerService.createTimer:(JJLjava/io/Serializable;)Ljavax/ejb/Timer;]
TimerService.createTimer ( long p1, Serializable p2 ) [abstract] : Timer
[mangled: javax/ejb/TimerService.createTimer:(JLjava/io/Serializable;)Ljavax/ejb/Timer;]
TimerService.getTimers ( ) [abstract] : Collection
[mangled: javax/ejb/TimerService.getTimers:()Ljava/util/Collection;]
to the top
Problems with Data Types, High Severity (2)
ejb-2_0-api.jar
package javax.ejb
[+] EJBContext (1)
| Change | Effect |
---|
1 | Abstract method getTimerService ( ) has been added to this interface. | Recompilation of a client program may be terminated with the message: a client class C is not abstract and does not override abstract method getTimerService() in EJBContext. |
[+] affected methods (10)
getCallerIdentity ( )This abstract method is from 'EJBContext' interface.
getCallerPrincipal ( )This abstract method is from 'EJBContext' interface.
getEJBHome ( )This abstract method is from 'EJBContext' interface.
getEJBLocalHome ( )This abstract method is from 'EJBContext' interface.
getEnvironment ( )This abstract method is from 'EJBContext' interface.
getRollbackOnly ( )This abstract method is from 'EJBContext' interface.
getUserTransaction ( )This abstract method is from 'EJBContext' interface.
isCallerInRole ( String )This abstract method is from 'EJBContext' interface.
isCallerInRole ( Identity )This abstract method is from 'EJBContext' interface.
setRollbackOnly ( )This abstract method is from 'EJBContext' interface.
[+] SessionContext (1)
| Change | Effect |
---|
1 | Abstract method getMessageContext ( ) has been added to this interface. | Recompilation of a client program may be terminated with the message: a client class C is not abstract and does not override abstract method getMessageContext() in SessionContext. |
[+] affected methods (3)
setSessionContext ( SessionContext )1st parameter 'p1' of this abstract method has type 'SessionContext'.
getEJBLocalObject ( )This abstract method is from 'SessionContext' interface.
getEJBObject ( )This abstract method is from 'SessionContext' interface.
to the top
Java ARchives (1)
ejb-2_0-api.jar
to the top