1. 06 5月, 2019 1 次提交
  2. 03 5月, 2019 1 次提交
  3. 27 4月, 2019 1 次提交
  4. 26 4月, 2019 1 次提交
  5. 21 4月, 2019 1 次提交
  6. 17 4月, 2019 1 次提交
    • R
      LeakAwareDataBuffer related fixes · 375090bb
      Rossen Stoyanchev 提交于
      Following on 3ebbfa21 where the local
      refCount was removed in favor of using the internal refCount of the
      native data buffer, this commit ensures that LeakAwareDataBufferFactory
      uses a PooledDataBufferFactory delegate by default.
      
      There are also fixes for test issues with eager allocation uncovered by
      these changes in StringDecoder and ResourceDecoder.
      375090bb
  7. 11 4月, 2019 1 次提交
    • R
      Fix refCount issue in LeakAwareDataBuffer · 3ebbfa21
      Rossen Stoyanchev 提交于
      LeakAwareDataBuffer was keeping its own refCount rather than checking
      through the delegate. This leads to false leak reports in a sequence
      where an allocated buffer is retained and then sliced since it is not
      aware of the changes to the refCount through the slice.
      3ebbfa21
  8. 10 4月, 2019 1 次提交
  9. 09 4月, 2019 1 次提交
  10. 08 4月, 2019 3 次提交
  11. 06 4月, 2019 4 次提交
  12. 04 4月, 2019 4 次提交
  13. 03 4月, 2019 3 次提交
  14. 31 3月, 2019 1 次提交
  15. 29 3月, 2019 4 次提交
    • P
      Use RepeatableContainers.none() in AnnotationUtils · f273fa99
      Phillip Webb 提交于
      Update `AnnotationUtils` so that `RepeatableContainers.none()` is used
      when performing an exhaustive search for merged annotations. These
      parameters were accidentally removed in commit 210b1789 and weren't
      caught earlier because we were missing a test.
      
      Closes gh-22702
      f273fa99
    • P
      Ignore 'value' attribute in AnnotationTypeMapping · 800cbf25
      Phillip Webb 提交于
      Update `addConventionAnnotationValues` so that `value` attributes
      do not override existing annotation values. The aligns the new
      `MergedAnnotations` API with the previous `AnnotatedElementUtils`
      logic.
      
      Closes gh-22703
      800cbf25
    • R
      Uncomment buffer leak tests in DataBufferUtils · beae1fbb
      Rossen Stoyanchev 提交于
      Following a response on
      https://github.com/reactor/reactor-core/issues/1634 apparently
      FluxSink is respecting doOnDiscard but there is a race condition
      in DataBufferUtils with file reading.
      
      This commit makes two changes:
      1) Add more checks for onDispose to detect cancellation signals
      as well as to deal with potentially concurrent such signal.
      2) Do not close the channel through the Flux.using callback but
      rather allow the current I/O callback to take place and only then
      close the channel or else the buffer is left hanging.
      
      Despite this tests still can fail due to a suspected issue in Reactor
      itself with the doOnDiscard callback for FluxSink. That's tracked under
      the same issue https://github.com/reactor/reactor-core/issues/1634
      and for now the use of DefaultDataBufferFactory is enforced as a
      workaround until the issue is resolved.
      
      See gh-22107
      beae1fbb
    • S
      URL Cleanup - polishing · 3f85530e
      Sam Brannen 提交于
      3f85530e
  16. 28 3月, 2019 5 次提交
  17. 27 3月, 2019 2 次提交
    • J
      Refined retrieval of plain annotations through direct presence checks · c9857702
      Juergen Hoeller 提交于
      Shortcut checks apply for hasPlainJavaAnnotationsOnly types as well now.
      
      Closes gh-22685
      c9857702
    • R
      Buffer leak fixes · c5435578
      Rossen Stoyanchev 提交于
      Address issues where buffers are allocated (and cached somehow) at or
      before subscription, and before explicit demand.
      
      The commit adds tests proving the leaks and fixes. The common thread
      for all tests is a "zero demand" subscriber that subscribes  but does
      not request, and then cancels without consuming anything.
      
      Closes gh-22107
      c5435578
  18. 26 3月, 2019 3 次提交
    • J
      Polishing · 63530564
      Juergen Hoeller 提交于
      63530564
    • J
      Restore retrieval of plain annotations through direct presence checks · 210b1789
      Juergen Hoeller 提交于
      Includes deprecation of several AnnotationUtils methods and nullability refinements for passed-in function arguments at the MergedAnnotation API level... also, MergedAnnotation.getType() returns a Class now.
      
      Closes gh-22663
      Closes gh-22685
      210b1789
    • P
      Fix annotation value mapping regression · 0ace0be2
      Phillip Webb 提交于
      Refine `TypeMappedAnnotation.getValueFromMetaAnnotation` to correctly
      account for aliases when finding values from meta-annotations. Prior
      to this commit, only convention based mappings were considered when
      searching for values on meta-annotations. This meant that declared
      meta-annotations that used aliases could return the "default value"
      rather than the merged value.
      
      Closes gh-22654
      0ace0be2
  19. 25 3月, 2019 2 次提交