Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test failures with Java 7 #142

Closed
wonderfly opened this issue Jan 9, 2015 · 2 comments
Closed

Test failures with Java 7 #142

wonderfly opened this issue Jan 9, 2015 · 2 comments
Assignees
Labels

Comments

@wonderfly
Copy link
Contributor

@wonderfly wonderfly commented Jan 9, 2015

From yan...@google.com on July 17, 2012 12:35:22

Version of google-http-java-client (e.g. 1.5.0-beta)? 1.11.0-beta-SNAPSHOT Java environment (e.g. Java 6, Android 2.3, App Engine)? Java 7 Describe the problem. 2 JUnit test failures when compiling with JDK 7:

java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.GenericArrayType
at com.google.api.client.util.TypesTest.testGetIterableParameter(TypesTest.java:180)
java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.GenericArrayType
at com.google.api.client.util.TypesTest.testGetMapParameter(TypesTest.java:218)

Does not reproduce in Java 6. How would you expect it to be fixed? Needs investigation.

Original issue: http://code.google.com/p/google-http-java-client/issues/detail?id=142

@wonderfly wonderfly self-assigned this Jan 9, 2015
@wonderfly

This comment has been minimized.

Copy link
Contributor Author

@wonderfly wonderfly commented Jan 9, 2015

From rmis...@google.com on July 27, 2012 06:06:56

Took a look but not exactly sure what is going on, posted on stackoverflow: http://stackoverflow.com/questions/11688312/classcastexception-when-upgrading-from-java6-to-java7-due-to-missing-genericarra

@wonderfly

This comment has been minimized.

Copy link
Contributor Author

@wonderfly wonderfly commented Jan 9, 2015

From rmis...@google.com on July 31, 2012 07:58:16

http://codereview.appspot.com/6446056/

Status: Fixed

@wonderfly wonderfly closed this Jan 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.