Skip to content

1.11.1

Compare
Choose a tag to compare
@MaisiKoleni MaisiKoleni released this 11 Dec 18:19
· 183 commits to master since this release

User-Side Changes

  • Improve default case-sensitivity choice of DynamicField. (see #258, credits to @JohannesStoehr)
    The likely default that users want is that the field names are used as-is, so the case-insensitive default is counterintuitive and can lead to problems if constants and instance variables share the same name but in different capitalization.
  • Fixed bad feedback provided by ReflectionTestUtils if a member is inaccessible because of the visibility of its containing class and not the member's own modifiers. (see #254, credits to @Strohgelaender)
    The failure message now distinguishes the different problem sources and will tell the students whether the problem is the class or the attribute/method/constructor.
  • ReflectionTestUtils now offers the methods setValueOfAttribute and setValueOfNonPublicAttribute to set the value of attributes. The modification of final fields is prohibited. (see #256)
  • ReflectionTestUtils now offers re-throwing methods for instance creation to allow testing of exceptions thrown in constructors. (see #257)
  • DynamicField now offers methods to set field values for static and instance fields. The modification of final fields is prohibited.
  • Update Logback from 1.4.4 to 1.4.5. See their release notes for details.

Developer-Side Changes

  • More and better tests for ReflectionTestUtils and the Dynamics Framework
  • Small dependency updates:
    • spotless-maven-plugin