Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upTest failures with Java 7 #142
Closed
Labels
Comments
This comment has been minimized.
This comment has been minimized.
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 |
This comment has been minimized.
This comment has been minimized.
From rmis...@google.com on July 31, 2012 07:58:16 http://codereview.appspot.com/6446056/ Status: Fixed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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