Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(31)

Issue 6868056: fix harmless NPE in browser tests when you specify a bad browser (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 4 months ago by felix8a
Modified:
13 years, 4 months ago
Reviewers:
kpreid2
CC:
google-caja-discuss_googlegroups.com
Base URL:
http://google-caja.googlecode.com/svn/trunk/
Visibility:
Public.

Description

"ant brtest -Dcaja.test.browser=invalid" will NPE in a try-finally clause, and then spit out confusing "java.net.BindException: Address already in use" errors, because the NPE prevented shutdown of the previously started local http server. this fixes that.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M tests/com/google/caja/plugin/BrowserTestCase.java View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 3
felix8a
13 years, 4 months ago (2012-12-03 23:09:55 UTC) #1
kpreid2
LGTM
13 years, 4 months ago (2012-12-03 23:11:58 UTC) #2
felix8a
13 years, 4 months ago (2012-12-03 23:18:29 UTC) #3
@r5173
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b