Source compatibility report for the JGraph library between 5.9.2.2 and 5.10.0.0 versions
Test Info
Library Name | JGraph |
Version #1 | 5.9.2.2 |
Version #2 | 5.10.0.0 |
Test Results
Total Java ARchives | 2 |
---|
Total Methods / Classes | 1359 / 86 |
---|
Verdict | Incompatible (16.8%) |
Problem Summary
| Severity | Count |
---|
Added Methods | - | 16 |
---|
Removed Methods | High | 5 |
---|
Problems with Data Types | High | 3 |
---|
Medium | 0 |
Low | 0 |
Problems with Methods | High | 0 |
---|
Medium | 0 |
Low | 0 |
Other Changes in Data Types | - | 4 |
Added Methods (16)
jgraph.jar, BasicGraphUI.class
package org.jgraph.plaf.basic
BasicGraphUI.drawGraph ( Graphics p1, Rectangle2D p2 ) : void
[mangled: org/jgraph/plaf/basic/BasicGraphUI.drawGraph:(Ljava/awt/Graphics;Ljava/awt/geom/Rectangle2D;)V]
BasicGraphUI.paintOverlay ( Graphics p1 ) : void
[mangled: org/jgraph/plaf/basic/BasicGraphUI.paintOverlay:(Ljava/awt/Graphics;)V]
jgraph.jar, DefaultGraphSelectionModel.class
package org.jgraph.graph
DefaultGraphSelectionModel.select ( Set p1, Object p2 ) : boolean
[mangled: org/jgraph/graph/DefaultGraphSelectionModel.select:(Ljava/util/Set;Ljava/lang/Object;)Z]
jgraph.jar, JGraph.class
package org.jgraph
JGraph.getOffscreenOverlay ( ) : Image
[mangled: org/jgraph/JGraph.getOffscreenOverlay:()Ljava/awt/Image;]
JGraph.getOffscreenOverlayPosition ( ) : Point2D
[mangled: org/jgraph/JGraph.getOffscreenOverlayPosition:()Ljava/awt/geom/Point2D;]
JGraph.isGraphicsAcceleration ( ) : boolean
[mangled: org/jgraph/JGraph.isGraphicsAcceleration:()Z]
JGraph.isOffscreenValid ( ) : boolean
[mangled: org/jgraph/JGraph.isOffscreenValid:()Z]
JGraph.repaint ( ) : void
[mangled: org/jgraph/JGraph.repaint:()V]
JGraph.repaint ( int p1, int p2, int p3, int p4 ) : void
[mangled: org/jgraph/JGraph.repaint:(IIII)V]
JGraph.repaint ( long p1 ) : void
[mangled: org/jgraph/JGraph.repaint:(J)V]
JGraph.repaint ( long p1, int p2, int p3, int p4, int p5 ) : void
[mangled: org/jgraph/JGraph.repaint:(JIIII)V]
JGraph.repaint ( Rectangle p1 ) : void
[mangled: org/jgraph/JGraph.repaint:(Ljava/awt/Rectangle;)V]
JGraph.setGraphicsAcceleration ( boolean p1 ) : void
[mangled: org/jgraph/JGraph.setGraphicsAcceleration:(Z)V]
JGraph.setOffscreenOverlay ( Image p1 ) : void
[mangled: org/jgraph/JGraph.setOffscreenOverlay:(Ljava/awt/Image;)V]
JGraph.setOffscreenValid ( boolean p1 ) : void
[mangled: org/jgraph/JGraph.setOffscreenValid:(Z)V]
JGraph.updateOverlay ( Image p1, Point2D p2 ) : void
[mangled: org/jgraph/JGraph.updateOverlay:(Ljava/awt/Image;Ljava/awt/geom/Point2D;)V]
to the top
Removed Methods (5)
jgraph.jar, DefaultGraphModel.class
package org.jgraph.graph
DefaultGraphModel.isRemoveEmptyGroups ( ) : boolean
[mangled: org/jgraph/graph/DefaultGraphModel.isRemoveEmptyGroups:()Z]
DefaultGraphModel.setRemoveEmptyGroups ( boolean p1 ) : void
[mangled: org/jgraph/graph/DefaultGraphModel.setRemoveEmptyGroups:(Z)V]
jgraph.jar, DefaultGraphSelectionModel.class
package org.jgraph.graph
DefaultGraphSelectionModel.select ( List p1, Object p2 ) : boolean
[mangled: org/jgraph/graph/DefaultGraphSelectionModel.select:(Ljava/util/List;Ljava/lang/Object;)Z]
jgraph.jar, GraphConstants.class
package org.jgraph.graph
GraphConstants.getLink ( Map p1 ) [static] : String
[mangled: org/jgraph/graph/GraphConstants.getLink:(Ljava/util/Map;)Ljava/lang/String;]
GraphConstants.setLink ( Map p1, String p2 ) [static] : void
[mangled: org/jgraph/graph/GraphConstants.setLink:(Ljava/util/Map;Ljava/lang/String;)V]
to the top
Problems with Data Types, High Severity (3)
jgraph.jar
package org.jgraph.graph
[+] DefaultGraphModel (1)
| Change | Effect |
---|
1 | Field removeEmptyGroups of type boolean has been removed from this class. | Recompilation of a client program may be terminated with the message: cannot find variable removeEmptyGroups in DefaultGraphModel. |
[+] affected methods (76)
DefaultGraphModel ( )This constructor is from 'DefaultGraphModel' class.
DefaultGraphModel ( List, AttributeMap )This constructor is from 'DefaultGraphModel' class.
DefaultGraphModel ( List, AttributeMap, ConnectionSet )This constructor is from 'DefaultGraphModel' class.
acceptsSource ( Object, Object )This method is from 'DefaultGraphModel' class.
acceptsTarget ( Object, Object )This method is from 'DefaultGraphModel' class.
addGraphModelListener ( GraphModelListener )This method is from 'DefaultGraphModel' class.
cellsChanged ( Object[ ] )This method is from 'DefaultGraphModel' class.
cloneCell ( Object )This method is from 'DefaultGraphModel' class.
cloneCell ( GraphModel, Object[ ] )This method is from 'DefaultGraphModel' class.
cloneCell ( GraphModel, Object )This method is from 'DefaultGraphModel' class.
cloneCells ( Object[ ] )This method is from 'DefaultGraphModel' class.
cloneUserObject ( Object )This method is from 'DefaultGraphModel' class.
...
[+] DefaultGraphSelectionModel (1)
| Change | Effect |
---|
1 | Type of field selection has been changed from java.util.List to java.util.Set. | Recompilation of a client program may be terminated with the message: incompatible types, found: java.util.List, required: java.util.Set. |
[+] affected methods (32)
DefaultGraphSelectionModel ( JGraph )This constructor is from 'DefaultGraphSelectionModel' class.
addGraphSelectionListener ( GraphSelectionListener )This method is from 'DefaultGraphSelectionModel' class.
addPropertyChangeListener ( PropertyChangeListener )This method is from 'DefaultGraphSelectionModel' class.
addSelectionCell ( Object )This method is from 'DefaultGraphSelectionModel' class.
addSelectionCells ( Object[ ] )This method is from 'DefaultGraphSelectionModel' class.
DefaultGraphSelectionModel.CellPlaceHolder ( DefaultGraphSelectionModel, Object, boolean )1st parameter 'p1' of this method has type 'DefaultGraphSelectionModel'.
clearSelection ( )This method is from 'DefaultGraphSelectionModel' class.
clone ( )This method is from 'DefaultGraphSelectionModel' class.
deselect ( Object )This method is from 'DefaultGraphSelectionModel' class.
fireValueChanged ( GraphSelectionEvent )This method is from 'DefaultGraphSelectionModel' class.
getListeners ( Class )This method is from 'DefaultGraphSelectionModel' class.
getSelectables ( )This method is from 'DefaultGraphSelectionModel' class.
...
[+] GraphConstants (1)
| Change | Effect |
---|
1 | Field LINK (java.lang.String) with the compile-time constant value "link" has been removed from this class. | Recompilation of a client program may be terminated with the message: cannot find variable LINK in GraphConstants. |
[+] affected methods (115)
GraphConstants ( )This constructor is from 'GraphConstants' class.
createAttributes ( Object[ ], Object[ ], Object[ ] )This method is from 'GraphConstants' class.
createAttributes ( Object[ ], Object, Object )This method is from 'GraphConstants' class.
createAttributes ( Object[ ], CellMapper )This method is from 'GraphConstants' class.
createAttributes ( Object, Object, Object )This method is from 'GraphConstants' class.
createAttributesFromModel ( Object[ ], GraphModel )This method is from 'GraphConstants' class.
getBackground ( Map )This method is from 'GraphConstants' class.
getBeginSize ( Map )This method is from 'GraphConstants' class.
getBorder ( Map )This method is from 'GraphConstants' class.
getBorderColor ( Map )This method is from 'GraphConstants' class.
getBounds ( Map )This method is from 'GraphConstants' class.
getDashOffset ( Map )This method is from 'GraphConstants' class.
...
to the top
Other Changes in Data Types (4)
jgraph.jar
package org.jgraph
[+] JGraph (4)
| Change | Effect |
---|
1 | Field graphicsAcceleration has been added to this class. | No effect. NOTE: A static field from a super-interface of a client class may hide an added field (with the same name) inherited from the super-class of a client class. Recompilation of a client class may be terminated with the message: reference to graphicsAcceleration is ambiguous. |
2 | Field offscreenOverlay has been added to this class. | No effect. NOTE: A static field from a super-interface of a client class may hide an added field (with the same name) inherited from the super-class of a client class. Recompilation of a client class may be terminated with the message: reference to offscreenOverlay is ambiguous. |
3 | Field offscreenOverlayPosition has been added to this class. | No effect. NOTE: A static field from a super-interface of a client class may hide an added field (with the same name) inherited from the super-class of a client class. Recompilation of a client class may be terminated with the message: reference to offscreenOverlayPosition is ambiguous. |
4 | Field offscreenValid has been added to this class. | No effect. NOTE: A static field from a super-interface of a client class may hide an added field (with the same name) inherited from the super-class of a client class. Recompilation of a client class may be terminated with the message: reference to offscreenValid is ambiguous. |
[+] affected methods (406)
getHandle ( GraphContext )Field 'p1.graph' in 1st parameter 'p1' of this abstract method has type 'JGraph'.
getRendererComponent ( JGraph, boolean, boolean, boolean )1st parameter 'p1' of this method has type 'JGraph'.
intersects ( JGraph, Rectangle2D )1st parameter 'p1' of this method has type 'JGraph'.
getGraphForEvent ( MouseEvent )Return value of this method has type 'JGraph'.
handleMarqueeEvent ( MouseEvent, JGraph, Rectangle2D )2nd parameter 'p2' of this method has type 'JGraph'.
isMarqueeTriggerEvent ( MouseEvent, JGraph )2nd parameter 'p2' of this method has type 'JGraph'.
overlay ( JGraph, Graphics, boolean )1st parameter 'p1' of this method has type 'JGraph'.
paint ( JGraph, Graphics )1st parameter 'p1' of this method has type 'JGraph'.
getHandle ( GraphContext )Field 'p1.graph' in 1st parameter 'p1' of this abstract method has type 'JGraph'.
getRendererComponent ( JGraph, boolean, boolean, boolean )1st parameter 'p1' of this abstract method has type 'JGraph'.
intersects ( JGraph, Rectangle2D )1st parameter 'p1' of this abstract method has type 'JGraph'.
getRendererComponent ( JGraph, CellView, boolean, boolean, boolean )1st parameter 'p1' of this abstract method has type 'JGraph'.
...
to the top
Java ARchives (2)
jgraph-5.9.2.2-lgpl.jar
jgraph.jar
to the top