1. 14 Jun, 2021 2 commits
  2. 28 May, 2021 4 commits
  3. 27 May, 2021 6 commits
  4. 26 May, 2021 3 commits
  5. 20 May, 2021 12 commits
  6. 12 May, 2021 2 commits
  7. 11 May, 2021 2 commits
    • Lauren Ko's avatar
      ac33e2ef
    • Alex Osborne's avatar
      Handle empty Optionals when browsing beans · 71b30651
      Alex Osborne authored
      
      
      addPresentableNestedNames() recursively walks the properties of beans
      calling getters. Likely unintentionally this includes calling getClass()
      and recursing into the reflection API. When running on JDK 11 the
      reflection API has some methods (e.g. in java.lang.module) that return
      instances of Optional. With the newer version of Spring's
      BeanWrapperImpl encounters an Optional it attempts to unwrap it and
      throws IllegalArgumentException if it is empty.
      
      Let's fix this in two ways. Firstly let's avoid walking the reflection
      API entirely as its irrelevant for the purposes of bean browsing by
      not inspecting the properties of instances of java.lang.Class.
      
      Secondly in case any Heritrix beans start using Optional in future lets
      also handle the empty case by also not inspecting, the same as we do for
      null.
      
      Fixes #376
      Reported-By: default avatarLauren Ko <lauren.ko@unt.edu>
      71b30651
  8. 20 Apr, 2021 1 commit
  9. 26 Feb, 2021 1 commit
  10. 23 Feb, 2021 1 commit
  11. 15 Feb, 2021 5 commits
  12. 05 Jan, 2021 1 commit