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
🚨 This issue needs some love. triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@wonderfly
Copy link
Contributor

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 added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. imported labels Jan 9, 2015
@wonderfly wonderfly self-assigned this Jan 9, 2015
@wonderfly
Copy link
Contributor Author

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
Copy link
Contributor Author

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

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

Status: Fixed

@yoshi-automation yoshi-automation added triage me I really want to be triaged. 🚨 This issue needs some love. labels Apr 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚨 This issue needs some love. triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

2 participants