1. 15 Aug, 2011 3 commits
  2. 14 Aug, 2011 9 commits
  3. 12 Aug, 2011 5 commits
  4. 11 Aug, 2011 3 commits
  5. 10 Aug, 2011 2 commits
  6. 05 Aug, 2011 1 commit
    • Philip Milne's avatar
      Remove the contentEquals() method that was added to java.lang.String. · 892c36b1
      Philip Milne authored
      The public (though hidden) method contentEquals(char[], int, int)
      was added to java.lang.String to avoid creating large numbers
      of Strings during XML parsing.
      
      That objective is preserved with this change, which uses a private
      static method with a similar implementation that goes through the
      regular String API.
      
      Change-Id: I808e1ebc4ef6812dd651682628167b4c078af334
      892c36b1
  7. 04 Aug, 2011 1 commit
  8. 29 Jul, 2011 5 commits
  9. 27 Jul, 2011 1 commit
  10. 24 Jul, 2011 4 commits
    • Jesse Wilson's avatar
      Only permit square brackets on IPv6 addresses. · 98c564c7
      Jesse Wilson authored
      We were failing two tests in URLTest because we were accepting
      IPv4 addresses and host names.
      
      Note that in the RI, URL is extremely lenient on validating the
      characters in the parts of a URL. It permits any character in any
      part except for the delimiter characters like '/' or ':'. The
      lax IPv6 check 'does it contain a colon?' is consistent with the
      RI.
      
      Change-Id: I957f2ee610b72cf68a7773b4c02a4b6d5fcbb9de
      98c564c7
    • Jesse Wilson's avatar
      Expect our missing IO interrupted exception. · 32a250f0
      Jesse Wilson authored
      Bug: http://b/4181738
      Change-Id: I6311789044e8b6b573b00aa6ca6fca31f004dc2f
      32a250f0
    • Jesse Wilson's avatar
      Fix overly-strict cookie test. · d9624e23
      Jesse Wilson authored
      My intention in this test was that derived headers were
      passed to the cookie handler. I recently refactored the
      HTTP client and some headers are now set very late; I need
      to adjust this test's expectations to match.
      
      Change-Id: Id605a213defaa25c0355ee581997233383658420
      d9624e23
    • Jesse Wilson's avatar
      Update both SSLSessions to not use AccessControlContext. · 29b3bd44
      Jesse Wilson authored
      When we fully removed the security manager security theatre
      we broke 'equals' on some AccessControlContexts that were used
      in map keys. Now we don't include the AccessControlContexts in
      the map keys.
      
      This fixes this test:
      tests.api.javax.net.ssl.SSLSessionBindingListenerTest#test_valueUnbound
      
      Change-Id: I685416c65056c9c540bf75c4aab5e884b66a4394
      29b3bd44
  11. 20 Jul, 2011 3 commits
  12. 19 Jul, 2011 1 commit
    • Elliott Hughes's avatar
      Fix FileInputStream/FileOutputStream on unowned FileDescriptors. · b1f55cb6
      Elliott Hughes authored
      We were relying on the fd being invalid to prevent us from performing
      activity on a closed stream. Unfortunately, this didn't work with our
      clever scheme to avoid having to treat the two cases separately.
      
      Go back to a simple scheme with one FileDescriptor and a boolean that
      tells us whether or not we should close it. If we don't close it, we
      switch it out for an invalid FileDescriptor so we won't continue to
      act on the unowned FileDescriptor.
      
      Bug: 4361076
      Change-Id: I1851926fd2847ea63d91a8e0680a7430ecb16453
      b1f55cb6
  13. 17 Jul, 2011 2 commits