summaryrefslogtreecommitdiff
path: root/jsr166-tests/src/test/java/jsr166/ArrayBlockingQueueTest.java
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2014-05-08 15:56:31 +0100
committerNarayan Kamath <narayan@google.com>2014-05-09 10:53:56 +0100
commitd94e746976d2906b89197448db15e4a0e355d98a (patch)
treef4daebb530f894c48c4e70ea3aaa8732a900d5de /jsr166-tests/src/test/java/jsr166/ArrayBlockingQueueTest.java
parentf560c538e8cb2750502c7337cae86c536e44ca8d (diff)
Fix various errors in FileURLConnectionTest.
- First, the test was broken pretty badly. It would pass a Jar style URL to a FileURLConnection and expect it to work, this is out of spec and seems wrong in general (file:///foo.apk!resources/foo.txt). - The RI supports various "headers" on file URL connections (sigh). As if the getHeaderField(int) and getHeaderFieldKey(int) APIs weren't bad enough. This has now been implemented with a naive implementation. - Fixes FileURLConnection to populate a header map for information it provides (content length, content type etc.) bug: 11664881 Change-Id: I7a3e9aaa79bf125abbcfe8367574115ce54718e3
Diffstat (limited to 'jsr166-tests/src/test/java/jsr166/ArrayBlockingQueueTest.java')
0 files changed, 0 insertions, 0 deletions