[JIRA] Closed: (MDA-38) some aggregator code does not compile under Oracle compiler, but does under IBM one
Chad La Joie (JIRA)
noreply at shibboleth.net
Mon Mar 19 13:50:16 GMT 2012
[ https://issues.shibboleth.net/jira/browse/MDA-38?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chad La Joie closed MDA-38.
---------------------------
Resolution: Fixed
Fix Version/s: 0.7
This was fixed a while ago but I forgot to close the issue.
> some aggregator code does not compile under Oracle compiler, but does under IBM one
> -----------------------------------------------------------------------------------
>
> Key: MDA-38
> URL: https://issues.shibboleth.net/jira/browse/MDA-38
> Project: Metadata Aggregator
> Issue Type: Bug
> Components: Build & Distribution
> Affects Versions: 0.6
> Reporter: Ian Young
> Assignee: Chad La Joie
> Priority: Minor
> Fix For: 0.7
>
>
> There's an ambiguity in part of the generics spec in Java, and the Oracle compiler (as seen, e.g., on Mac OS X) and IBM compiler (as seen in Eclipse) disagree.
> We have some code that compiles under the IBM compiler in Eclipse, but doesn't compile under the Oracle compiler if you use Maven from the command line. This means, for example, that if you have something working in Eclipse and then "mvn clean install", the build will fail.
> Workround: clean the projects in Eclipse, and only do "mvn install" on the command line, so that the classes in question are observed as being already compiled by Maven.
> It would be nice, though, to get this code reworked so that it would compile in both environments.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the commits
mailing list