1. 20 1月, 2015 4 次提交
  2. 17 1月, 2015 2 次提交
  3. 16 1月, 2015 1 次提交
    • B
      Fix context-relative default value in XML parsing · 3da9d92b
      Brian Clozel 提交于
      This commit fixes the default value for the contextRelative attribute of
      a RedirectView, when this view is registered via a
      RedirectViewController in XML. The value is set to true.
      
      Note that the default value for this is correctly documented in
      spring-mvc-4.1.xsd. Also, the documentation and implementation for its
      javadoc counterpart also enforces true as a default value.
      
      Issue: SPR-12607
      3da9d92b
  4. 13 1月, 2015 2 次提交
    • R
      Deprecate writePrelude in AbstractHttpSockJsSession · ab629a0e
      Rossen Stoyanchev 提交于
      A logical follow-up on commit 43d937, this change also removes (or
      rather deprecates for now) writePrelude that is only of concern to
      streaming SockJS session implementations.
      
      Issue: SPR-12427
      ab629a0e
    • R
      Remove isStreaming flag from AbstractHttpSockJsSession · 43d93712
      Rossen Stoyanchev 提交于
      This change removes the need for the isStreaming field from the base
      class AbstractHttpSockJsSession. This field was used to account for
      differences between polling vs streaming SockJS sessions without having
      to expose to sub-classes private fields that are otherwise protected
      from concurrent access by the base class. The change manages to delegate
      to sub-classes without providing direct access to protected fields.
      
      Issue: SPR-12427
      43d93712
  5. 12 1月, 2015 1 次提交
    • S
      Make MBeanServer integration tests more robust · 7a6dfe37
      Sam Brannen 提交于
      This commit overhauls several of the tests that interact with an
      MBeanServer with the goal of increasing the reliability of these tests.
      
       - MBeanClientInterceptorTests now uses JUnit "assumptions" instead of
         preemptively returning from test methods, thus allowing such methods
         to be properly marked as "ignored" instead of "passed".
      
       - MBeanClientInterceptorTests now uses JUnit's support for expected
         exceptions where appropriate.
      
       - MBeanClientInterceptorTests and RemoteMBeanClientInterceptorTests now
         use Spring's SocketUtils to find an available TCP port when starting
         an MBeanServer instead of aborting the tests when the default JMX
         port is not available.
      
      Issue: SPR-12601
      7a6dfe37
  6. 11 1月, 2015 5 次提交
    • S
      Fix broken test in EnableSchedulingTests · 08f3a798
      Sam Brannen 提交于
      Commit 65d163e6 changed the textual message of an exception thrown by
      ScheduledAnnotationBeanPostProcessor.afterSingletonsInstantiated(), and
      this in turn caused the withAmbiguousTaskSchedulers_andSingleTask()
      method in EnableSchedulingTests to start failing (albeit only during
      'Performance' builds).
      
      This commit updates the assertion to match the current implementation of
      ScheduledAnnotationBeanPostProcessor.
      08f3a798
    • S
      d5fb829a
    • S
      Enable reuse of DefaultActiveProfilesResolver · 276712dc
      Sam Brannen 提交于
      In order to allow DefaultActiveProfilesResolver to be reused (e.g., via
      extension or delegation), the check which asserts that the 'resolver'
      attribute of @ActiveProfiles is not set to a customer resolver class
      has been removed.
      
      Issue: SPR-12611
      276712dc
    • S
      Polish TimedSpringRunnerTests · cf7a7932
      Sam Brannen 提交于
      cf7a7932
    • S
      Handle exceptions properly in SpringJUnit4ClassRunner · b81c522e
      Sam Brannen 提交于
      JUnit 4.9 introduced a regression in BlockJUnit4ClassRunner.runChild()
      such that exceptions thrown from methodBlock() cause the current test
      execution to abort immediately. As a result, the failing test method is
      unrooted, and subsequent test methods are never invoked. Furthermore,
      RunListeners registered with JUnit are not properly notified.
      
      In conjunction with SPR-11908, SpringJUnit4ClassRunner was updated to
      use the aforementioned changes to BlockJUnit4ClassRunner.runChild().
      Consequently, SpringJUnit4ClassRunner now suffers from the same
      regression.
      
      This commit addresses this issue by ensuring that any exceptions thrown
      during the invocation of methodBlock() are properly wrapped in a JUnit
      Fail Statement.
      
      Issue: SPR-12613
      b81c522e
  7. 10 1月, 2015 1 次提交
  8. 09 1月, 2015 5 次提交
  9. 08 1月, 2015 2 次提交
    • C
      Performance improvements in ShallowEtagHeaderFilter · 213a3fd7
      Craig Andrews 提交于
      Prior to this change, the ShallowEtagHeaderFilter would use a
      ResizableByteArrayOutputStream to internally write data and calculate
      the ETag. While that implementation is faster than the regular
      ByteArrayOutputStream (since it has a better strategy for growing the
      internal buffer), a lot of buffer copying/writing still happens.
      
      This change adds a new FastByteArrayOutputStream implementation that
      internally uses a LinkedList<Byte[]> to store the content. So when
      writing bytes to that OutputStream implementation, new byte[] are
      added to the list when the previous ones are full. This saves most
      of the instantiating/copying operations.
      
      Note that new methods were added in DigestUtils to allow usage of
      Streams instead of byte[], which is more efficient in our case.
      
      Fixes #653
      
      Issue: SPR-12081
      213a3fd7
    • S
      Update Javadoc for AnnotationUtils.findAnnotation() · 40cd1be1
      Sam Brannen 提交于
      This commit updates the Javadoc for findAnnotation() to reflect recent
      changes to the algorithm it implements.
      40cd1be1
  10. 07 1月, 2015 2 次提交
  11. 06 1月, 2015 2 次提交
    • R
      Remove STOMP relay integration test · f59fc83f
      Rossen Stoyanchev 提交于
      The test was verifying that when a DISCONNECT frame is sent to the
      broker, there will be no further messages on the clientOutboundChannel.
      
      This is generally true, however in some cases when the broker receives
      a DISCONNECT it may close its connection fast enough (before we do) in
      which case we send an ERROR message downstream to ensure the WebSocket
      side is cleaned up. Either way the downstream should be idempotent
      with regards to cleaning up sessions.
      f59fc83f
    • R
      Assign Jetty SockJS tests to "performance" test group · 8a47c181
      Rossen Stoyanchev 提交于
      This change designates Jetty SockJS integration tests to run as part of
      the "performance", but not the main "publication", CI build due to
      recurring low-level failures suspected to be Jetty issues, e.g.
      "java.io.IOException: Cannot append to finished buffer" or
      "java.io.IOException: Out of order Continuation frame encountered".
      
      The tests will still run at once a day with the performance build but
      should not fail the main build with false negatives. Also note that
      an Undertow variant of the exact same tests, which hasn't been failing,
      will continue to run as part of the main build.
      8a47c181
  12. 05 1月, 2015 3 次提交
  13. 02 1月, 2015 3 次提交
  14. 01 1月, 2015 1 次提交
  15. 31 12月, 2014 6 次提交