[MGNLUI-3875] Failing tests with Java 8 Created: 04/May/16 Updated: 09/Feb/17 Resolved: 19/May/16 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | 5.5 |
| Fix Version/s: | 5.5 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Maxime Michel | Assignee: | Espen Jervidalo |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| 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: | |||||||||||||
| Sprint: | Basel 44 | ||||||||||||
| Story Points: | 2 | ||||||||||||
| Description |
|
When doing mvn clean test using 1.8 javaVersion in pom.xml, the following occurs: Results : Tests in error: SelectFieldOptionDefinitionKeyGeneratorTest.testOptionsInSelectField:103 » IllegalArgument SelectFieldOptionDefinitionKeyGeneratorTest.testOptionsInSwitchableField:143 » IllegalArgument We should try to find a fix to that, otherwise get rid of the deprecated method use, as suggested by Espen. |
| Comments |
| Comment by Espen Jervidalo [ 04/May/16 ] |
|
Removing the following deprecated code from SelectFieldOptionDefinition fixes the tests:
implements Comparable<SelectFieldOptionDefinition>
SelectFieldOptionDefinition#compareTo
|