[MAGNOLIA-5535] Enable to run with Java 8 Created: 10/Dec/13 Updated: 18/Jun/15 Resolved: 31/Jul/14 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | build, core |
| Affects Version/s: | 5.2 |
| Fix Version/s: | 5.3.2 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Daniel Lipp | Assignee: | Daniel Lipp |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | java8 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
OS X 10.9.4, Jre 1.8.0_20_b24 |
||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Template: |
|
||||||||||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||||||||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||||||||||
| Description |
|
When starting up under Java 8 one gets the following IllegalArgumentException: "Only supports Class and Method, can't deal with P". See Further, it looks like core's tests don't pass when building with Java 8. |
| Comments |
| Comment by Daniel Lipp [ 26/Jul/14 ] |
|
Looks like javassist < 3.18.1.GA doesn't support java 8 yet: https://code.google.com/p/reflections/issues/detail?id=178 - hence we have to upgrade org.reflections, power mock and also mockito |
| Comment by Daniel Lipp [ 28/Jul/14 ] |
|
http://java.dzone.com/articles/hashmap-performance
-> many issues we have are related to the above |
| Comment by Joerg von Frantzius [ 20/Aug/14 ] |
|
Hi Daniel, is only issue Or are there other problems? It would be great to start developing new projects with Java 8 and its new features, but without Java 8 in the Certified Stack that would be a bad idea currently. BTW, the end of public updates for Java 7 is currently targeted for April 2015, a bit more than only 1/2 year ahead... |
| Comment by Daniel Lipp [ 05/May/15 ] |
|
Sorry jfrantzius, I must have overlooked that comment. So in the meantime it was added to the certified stack: https://documentation.magnolia-cms.com/display/DOCS/Certified+stack Cheers |