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

Issue 6446056: Fixing test failures with Java 7 (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by rmistry
Modified:
11 years, 8 months ago
Reviewers:
yanivi
Base URL:
https://google-http-java-client.googlecode.com/hg/
Visibility:
Public.

Description

Created to fix http://code.google.com/p/google-http-java-client/issues/detail?id=142 : Test failures with Java 7. For more context please see here: http://stackoverflow.com/questions/11688312/classcastexception-when-upgrading-from-java6-to-java7-due-to-missing-genericarra

Patch Set 1 #

Total comments: 4

Patch Set 2 : review comments #

Total comments: 4

Patch Set 3 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -7 lines) Patch
M google-http-client/src/test/java/com/google/api/client/util/TypesTest.java View 1 2 4 chunks +12 lines, -7 lines 0 comments Download

Messages

Total messages: 6
rmistry
11 years, 8 months ago (2012-07-27 16:35:51 UTC) #1
yanivi
http://codereview.appspot.com/6446056/diff/1/google-http-client/src/test/java/com/google/api/client/util/TypesTest.java File google-http-client/src/test/java/com/google/api/client/util/TypesTest.java (right): http://codereview.appspot.com/6446056/diff/1/google-http-client/src/test/java/com/google/api/client/util/TypesTest.java#newcode158 google-http-client/src/test/java/com/google/api/client/util/TypesTest.java:158: public Vector<T[]> arr; I'd still like to test Vector<Integer[]> ...
11 years, 8 months ago (2012-07-30 17:24:41 UTC) #2
rmistry
http://codereview.appspot.com/6446056/diff/1/google-http-client/src/test/java/com/google/api/client/util/TypesTest.java File google-http-client/src/test/java/com/google/api/client/util/TypesTest.java (right): http://codereview.appspot.com/6446056/diff/1/google-http-client/src/test/java/com/google/api/client/util/TypesTest.java#newcode158 google-http-client/src/test/java/com/google/api/client/util/TypesTest.java:158: public Vector<T[]> arr; On 2012/07/30 17:24:41, yanivi wrote: > ...
11 years, 8 months ago (2012-07-30 18:31:05 UTC) #3
yanivi
LGTM http://codereview.appspot.com/6446056/diff/3/google-http-client/src/test/java/com/google/api/client/util/TypesTest.java File google-http-client/src/test/java/com/google/api/client/util/TypesTest.java (right): http://codereview.appspot.com/6446056/diff/3/google-http-client/src/test/java/com/google/api/client/util/TypesTest.java#newcode182 google-http-client/src/test/java/com/google/api/client/util/TypesTest.java:182: .getGenericComponentType().toString()); more reliable to use getName() instead of ...
11 years, 8 months ago (2012-07-30 19:46:52 UTC) #4
rmistry
http://codereview.appspot.com/6446056/diff/3/google-http-client/src/test/java/com/google/api/client/util/TypesTest.java File google-http-client/src/test/java/com/google/api/client/util/TypesTest.java (right): http://codereview.appspot.com/6446056/diff/3/google-http-client/src/test/java/com/google/api/client/util/TypesTest.java#newcode182 google-http-client/src/test/java/com/google/api/client/util/TypesTest.java:182: .getGenericComponentType().toString()); On 2012/07/30 19:46:52, yanivi wrote: > more reliable ...
11 years, 8 months ago (2012-07-31 14:53:01 UTC) #5
rmistry
11 years, 8 months ago (2012-07-31 14:53:47 UTC) #6
Submitting..
Sign in to reply to this message.

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