[MGNLIMG-120] Imaging does not compile with Java 7 Created: 14/Feb/14  Updated: 12/Jan/15  Resolved: 14/Feb/14

Status: Closed
Project: Imaging
Component/s: None
Affects Version/s: 3.0.3
Fix Version/s: 3.0.4

Type: Task Priority: Neutral
Reporter: Tobias Mattsson Assignee: Tobias Mattsson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLIMG-142 Replace removed JPEG classes in Java 7 Closed
relation
is related to MGNLADMLEG-53 Admininterface Legacy does not compil... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:

 Description   

Because SunJPEGCodecImageDecoder uses com.sun classes it does not compile on Java 7. The fix is to instruct javac to not use the symbol tables that don't include these classes.
http://stackoverflow.com/questions/4065401/using-internal-sun-classes-with-javac/4070685#4070685



 Comments   
Comment by Philip Mundt [ 12/Jan/15 ]

Provided solution only works with org.apache.maven.plugins:maven-compiler-plugin versions <3 (e.g. 2.3.2).
info.magnolia.maven.poms:magnolia-parent-pom:30 has version 3.2.

Generated at Mon Feb 12 02:12:28 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.