aboutsummaryrefslogtreecommitdiffstats
path: root/api/src/main/java
Commit message (Collapse)AuthorAgeFilesLines
* Fix JLS Binary Compat: Moving methods and fields upwards for classes _and_ ↵HEADmasterSven Gothel2015-10-078-51/+172
| | | | | | | | | | | | | interfaces is OK - We shall also travers all interfaces upwards - All methods and fields found upwards must be tested for compatibility as well! Further: - Add class-name to Field- and MethodInfo via new intermediate AbstractMemberInfo. The class-name is used to have allow differs to find a class move upwards! - Pretty printing of class move binary-compatible change
* *DiffCriteria.differs[Binary](FieldInfo ..): Need to take value type into ↵Sven Gothel2015-04-033-10/+18
| | | | account!
* Add CompatibilityType.BACKWARD_COMPATIBLE_BINARY: Allowing changes in ↵Sven Gothel2015-04-036-120/+115
| | | | throw-clause and field-value
* FieldInfo, MethodInfo: Add toString()Sven Gothel2015-04-032-4/+17
|
* Expose 'fieldCompatChanged', allowing user to fail if fields have changed ↵Sven Gothel2015-04-032-5/+18
| | | | (binary compatible)
* Add Delta.CompatChange for binary compatible changes, i.e. change in method ↵Sven Gothel2015-04-0311-380/+727
| | | | | | | | | | | | 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>
* Revert to original formatting/code styleSimon Taddiken2014-11-291-14/+13
|
* Use newer ASM version and make it compileSimon Taddiken2014-11-291-16/+24
|
* Clarifications about access permissions checkssyev2014-10-242-3/+8
| | | | | | Renamed the Tools method that checks the access permissions / visibility. Added comments.
* Add access permissions checkssyev2014-10-241-4/+44
|
* Changed members detection updatesyev2014-10-241-2/+2
| | | | | Check the members against all the new members, not only the ones that match the DiffCriteria.
* Fix return values from includes filterssyev2014-10-021-1/+2
| | | The method returned false when an include filter matched, and true if none of the filters matched.
* Add version compatibility checking. AbstractEnforcerRule will skip ↵Alexander Morozov2014-10-011-0/+8
| | | | non-compatible artifacts in case of auto-detection of previous version .
* Fix testing for snapshot regression.Alexander Morozov2014-10-011-1/+1
|
* Fix jardiff's Tools.isAccessChange(..): Differentiate between Class, Field ↵Sven Gothel2014-09-243-37/+186
| | | | | | | | | | | | | | | | | | | | 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.
* Fix #41: abstract could become concrete.Martín Schonaker2014-09-221-8/+10
|
* fix pre-version enforcementjulien2014-09-092-24/+34
|
* fix nextjulien2014-08-251-3/+15
|
* fix pre version comparisonjulien2014-08-251-7/+151
|
* Improve access comparisonTimo Westkämper2014-07-303-6/+25
|
* Dump: Add dumpFullStats(..) producing diff stat per-class w/ diff-type-count ↵Sven Gothel2014-05-141-6/+108
| | | | and dump all diffs separated by diff-type
* DifferenceAccumulatingHandler: Remove DEBUG codeSven Gothel2014-05-141-13/+4
|
* Dumper: Add dump method for sorted List<Difference> (refactored) allowing ↵Sven Gothel2014-05-141-2/+10
| | | | dumping separate diff-types
* Solve issues w/ 'simplifyRegularExpression(..)': Allow passing regexp ↵Sven Gothel2014-05-132-31/+56
| | | | | | | | | | | | | | | directly (Comparer, ..) and hence skip production of regexp In jogamp, we like to exclude 'jogamp/**' packages, however 'simplifyRegularExpression(..)' allows this to match 'com/jogamp/lala/Lala'. This is enforced by tests in 'DifferenceAccumulatingHandlerTest' and hence we have to consider this to be desired !? (IMHO this is a bug). However, to not break backward capability, this patch allows passing a flag for the includes and excludes whether they are regexp already and hence we can skip 'simplifyRegularExpression(..)' and avoid this dilema.
* DifferenceAccumulatingHandler.isClassConsidered(..): Fix case where class ↵Sven Gothel2014-05-131-1/+11
| | | | names are reported with '.'
* AbstractInfo: Add generic access to signature and descriptor ; Dumper: More ↵Sven Gothel2014-05-135-100/+153
| | | | info (access, desc + sig), allow passing PrintStream
* Add PublicDiffCriteria and related config optionsTimo Westkämper2014-05-043-6/+156
|
* Use genericsTimo Westkämper2014-04-226-166/+139
|
* Fix testsTimo Westkämper2014-04-171-4/+0
|
* Fix comparisonTimo Westkämper2014-04-161-13/+14
|
* Discard changes to private membersTimo Westkämper2014-04-161-0/+4
|
* Add superclass handlingTimo Westkämper2014-04-161-0/+28
|
* Issue #25: @Deprecated should require a minor version bump instead of a ↵Martín Schonaker2014-04-097-18/+227
| | | | major one.
* Updated license headers.Julien Eluard2014-03-2420-20/+20
|
* Merge pull request #19 from dvryaboy/issue_18Julien Eluard2014-03-241-7/+12
|\ | | | | Adding a test to demo issue #18
| * Adding a test to demo issue #18Dmitriy Ryaboy2014-01-121-7/+12
| |
* | Fixed license header.Julien Eluard2014-03-1814-476/+168
| |
* | asm upgraded to 3.2jbaruch2014-03-181-1/+1
| |
* | Main.java now processes the newJar argument.David Bernard2014-01-081-1/+1
|/
* Added Regex for exclusion and inclusion of classesLarsSommer2013-12-171-17/+76
|
* o the source repository for jardiff is no long present so i extracted the ↵Jason van Zyl2013-06-2714-0/+3546
| | | | sources from the source JAR in central, and added the required dependencies
* Fix greater than case when comparing patchNahuel Dalla Vecchia2012-12-141-8/+10
|
* Updated license headers.Julien Eluard2012-12-016-72/+60
|
* Removed version from code.Julien Eluard2012-12-011-1/+1
|
* Removed unused imports.Tobias Roeser2012-11-241-3/+0
|
* Added German translation for command line options.Tobias Roeser2012-11-241-1/+2
|
* Added descriptions to commandline options.Tobias Roeser2012-11-241-86/+90
|
* Rewrote commandline handling to use CmdOption toolkit.Tobias Roeser2012-11-241-52/+92
| | | | Introduced new dependency to de.tototec.cmdoption-0.2.0-SNAPSHOT (not release yet).
* Fixed broken special parsing.Julien Eluard2012-07-261-1/+3
|
* Improved version parsing.Julien Eluard2012-07-261-4/+9
|