[ https://issues.apache.org/jira/browse/SIS-332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Desruisseaux updated SIS-332:
------------------------------------
Description:
The replacement of JSR-275 dependency by [JSR-363|https://jcp.org/en/jsr/detail?id=363] (Unit
of Measurement) introduces a dependency to JDK7. Consequently we should upgrade the whole
Apache SIS project to JDK7. This allows (among other) the use of try-with-resources, multi-catches,
switch on strings, diamond operator and use of {{java.nio.file}} API. Those changes can be
identified relatively easily by comparing the JDK6 and JDK7 branches. After the upgrade, the
JDK6 branch will be deleted.
This upgrade has been [proposed on the developer mailing list|https://lists.apache.org/thread.html/b012cc4f4497aab823328ebb2fad626bf8b8c12d40e6e3959ea7784a@%3Cdev.sis.apache.org%3E].
The Subversion command to execute on trunk is:
{noformat}
svn merge https://svn.apache.org/repos/asf/sis/branches/JDK6/core@1758915 \
https://svn.apache.org/repos/asf/sis/branches/JDK7/core@1758915 .
{noformat}
was:
The replacement of JSR-275 dependency by JSR-363 (Unit of Measurement) introduces a dependency
to JDK7. Consequently we should upgrade the whole Apache SIS project to JDK7. This allows
(among other) the use of try-with-resources, multi-catches, switch on strings, diamond operator
and use of {{java.nio.file}} API. Those changes can be identified relatively easy by comparing
the JDK6 and JDK7 branches. After the upgrade, the JDK6 branch will be deleted.
> Upgrade Java platform requirement from JDK6 to JDK7
> ---------------------------------------------------
>
> Key: SIS-332
> URL: https://issues.apache.org/jira/browse/SIS-332
> Project: Spatial Information Systems
> Issue Type: Bug
> Components: Build process, Command line, Documentation, Features, Metadata,
Referencing, Shapefile, Storage, Utilities, Web services, Web site
> Affects Versions: 0.7
> Reporter: Martin Desruisseaux
> Assignee: Martin Desruisseaux
> Fix For: 0.8
>
>
> The replacement of JSR-275 dependency by [JSR-363|https://jcp.org/en/jsr/detail?id=363]
(Unit of Measurement) introduces a dependency to JDK7. Consequently we should upgrade the
whole Apache SIS project to JDK7. This allows (among other) the use of try-with-resources,
multi-catches, switch on strings, diamond operator and use of {{java.nio.file}} API. Those
changes can be identified relatively easily by comparing the JDK6 and JDK7 branches. After
the upgrade, the JDK6 branch will be deleted.
> This upgrade has been [proposed on the developer mailing list|https://lists.apache.org/thread.html/b012cc4f4497aab823328ebb2fad626bf8b8c12d40e6e3959ea7784a@%3Cdev.sis.apache.org%3E].
The Subversion command to execute on trunk is:
> {noformat}
> svn merge https://svn.apache.org/repos/asf/sis/branches/JDK6/core@1758915 \
> https://svn.apache.org/repos/asf/sis/branches/JDK7/core@1758915 .
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
|