blob: 24d8d3c6db29f0a8d9c44ae3160cf002fa078c3b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
https://github.com/sgothel/semantic-versioning
forked from https://github.com/jeluard/semantic-versioning
0.9.33-SNAPSHOT
commit c714666c0f4e19bb9db163f576e28d36cad7df74
Author: Sven Gothel <sgothel@jausoft.com>
Date: Fri Apr 3 05:00:00 2015 +0200
Add Delta.CompatChange for binary compatible changes, i.e. change in method throws clause or final field value
Change in method throws clause:
- Tools.isThrowsClauseChange(..)
- <https://docs.oracle.com/javase/specs/jls/se7/html/jls-13.html#jls-13.4.21>
Change of final field value:
- Tools.isFieldValueChange(..)
- <https://docs.oracle.com/javase/specs/jls/se7/html/jls-13.html#jls-13.4.9>
commit 616f566cfe60638eb97823e1f63cf203161502da
Author: Sven Gothel <sgothel@jausoft.com>
Date: Wed Sep 24 01:08:38 2014 +0200
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.
branch jogamp
|