Skip to content

JAPICC 2.2

Compare
Choose a tag to compare
@lvc lvc released this 30 Aug 06:06
· 9 commits to master since this release

This release includes the following changes.

Analysis:

  • Fixed analysis of generic types
  • Added compatibility rules:
    • Class_Became_Raw
    • Class_Became_Generic
    • Interface_Became_Raw
    • Interface_Became_Generic
    • Changed_Method_Return
    • Variable_Arity_To_Array
    • Array_To_Variable_Arity
    • Field_Became_NonFinal (Src)
    • NonConstant_Field_Became_Static (Src)
    • Static_Method_Became_Final (Bin)
  • Fixed rules:
    • Changed_Field_Type
    • Changed_Method_Return_From_Void
    • *_Added_Abstract_Method*
  • Fixed anasysis of added/removed super-classes
  • Compare class structure if became generic or raw
  • Check for unknown compatibility rules
  • Do not list added and removed protected methods in final classes
  • Reduced severity of changed super-class
  • Added -check-packages option to check packages matched by the regular expression
  • Fixed filtering of annotated classes
  • Fixed -client option

Report:

  • Show method return type in the problem description
  • Fixed signatures of generic constructors
  • Fixed order of methods in the report
  • Add noindex meta tag to empty reports
  • Fixed styles of the report

Dump:

  • Added GenericParam attribute
  • Fixed Type and BaseType of variable arity parameter
  • Show warning for old API dump versions
  • Increased ID length
  • Fixed methods mangled names in the API dump; old dumps should be recreated
  • Bumped dump version

Tests:

  • Added more test cases
  • Show path to the tests journal

Misc:

  • Properly handle errors of javap
  • Fixed number of arguments passed to javap on Linux
  • Properly handle errors when creating/extracting tarballs