aboutsummaryrefslogtreecommitdiffstats
path: root/api/src/main/resources
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-09-24 01:08:38 +0200
committerSven Gothel <[email protected]>2014-09-24 01:08:38 +0200
commit616f566cfe60638eb97823e1f63cf203161502da (patch)
tree01dbf7117632cfae1584376b1f44c6e931953f95 /api/src/main/resources
parentad4cc1c77559a6d0138acd320cb1dfd638a0f86f (diff)
Fix jardiff's Tools.isAccessChange(..): Differentiate between Class, Field and Method and apply all rules of the Java Language Specification
Class, Field and Methods have different binary backward compatibility rules as specified in the Java Language Specification, Java SE 7 Edition: - http://docs.oracle.com/javase/specs/jls/se7/html/jls-13.html For Field 'volatile' the Java Language Specification, first edition has been used: - http://www.wsu.edu/UNIX_Systems/java/langspec-1.0/13.doc.html#45194 For each type separate method have been created, i.e. Tools.is<Type>AccessChange(). Each new method has the rules referenced and partially copied into the method for better documentation. The now deprecated method Tools.isAccessChange(..) calls Tools.isClassAccessChange(..) and shall be removed. Unit test ToolsTest has been expanded for each type and its rules.
Diffstat (limited to 'api/src/main/resources')
0 files changed, 0 insertions, 0 deletions