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
HHH-12295 Restore compatibility with Java 6 on branch 5.1 #2151
Conversation
@vladmihalcea , could you have a look please? I removed the Pattern.UNICODE_CHARACTER_CLASS flag in your regex but I'm not sure I understand the implications.
|
@Sanne I remember that I added the If all tests pass just fine |
thanks Vlad. I'll merge this then. |
ah no.. forgot this is 5.1. I'll let Gail merge it so she can check it all. |
@gbadner ? I thought this was urgent, and should be trivial to check. Just looking for your ACK. |
@Sanne , @vladmihalcea , any suggestions? |
@gbadner the issue here is that the pattern is requiring class with 2 uppercase letters and the test class contains only one. So the solution can be to update test data. Something like that: rstancel@f0806b6 |
@rstancel, IIUC, you've just change the test code. The bug remains. |
@gbadner I don't understand. Sanne has fixed the issue itself but his fix was failing one test. So I took his fix and added also a fix for this test. Is there something else which should be fixed? |
@rstancel, the problem is that the proposed fix to It turns out that upgrading dom4j to 2.2.1 (HHH-12964) requires JDK8 in 5.1.17 anyhow, so it will not be possible to restore compatibility with JDK6 in 5.1. |
https://hibernate.atlassian.net/browse/HHH-12295
N.B. this PR is for branch 5.1 only.