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

Build fails with java7: UnsupportedClassVersion when running DatabaseConnectionUtilTest.testGetPasswordMySQL_6_0_4 #10

Closed
adangel opened this issue Dec 17, 2016 · 0 comments

Comments

@adangel
Copy link
Collaborator

adangel commented Dec 17, 2016

Tests run: 5, Failures: 0, Errors: 1, Skipped: 1, Time elapsed: 0.015 sec <<< FAILURE! - in liquibase.ext.percona.DatabaseConnectionUtilTest
testGetPasswordMySQL_6_0_4(liquibase.ext.percona.DatabaseConnectionUtilTest)  Time elapsed: 0.005 sec  <<< ERROR!
java.lang.UnsupportedClassVersionError: com/mysql/cj/jdbc/ConnectionImpl : Unsupported major.minor version 52.0
	at liquibase.ext.percona.DatabaseConnectionUtilTest.loadClass(DatabaseConnectionUtilTest.java:64)
	at liquibase.ext.percona.DatabaseConnectionUtilTest.testGetPasswordMySQL_6_0_4(DatabaseConnectionUtilTest.java:83)


Tests in error: 
  DatabaseConnectionUtilTest.testGetPasswordMySQL_6_0_4:83->loadClass:64 » UnsupportedClassVersion

The test should be skipped, if not executed with java8.

@adangel adangel added the bug label Dec 17, 2016
@adangel adangel changed the title Build fails with java7 Build fails with java7: UnsupportedClassVersion when running DatabaseConnectionUtilTest.testGetPasswordMySQL_6_0_4 Dec 17, 2016
adangel added a commit that referenced this issue Dec 17, 2016
tests run with java7, too.
Add additional test for mysql connection 6.x, which only runs
on java8.
References #10
adangel added a commit that referenced this issue Dec 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant