You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Ben Weidig (Jira)" <ji...@apache.org> on 2022/08/28 14:01:00 UTC
[jira] [Assigned] (TAP5-2739) Remove org.apache.tapestry5.ioc.internal.util.JDKUtils and org.apache.tapestry5.ioc.internal.util.DummyLock
[ https://issues.apache.org/jira/browse/TAP5-2739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ben Weidig reassigned TAP5-2739:
--------------------------------
Assignee: Ben Weidig
> Remove org.apache.tapestry5.ioc.internal.util.JDKUtils and org.apache.tapestry5.ioc.internal.util.DummyLock
> -----------------------------------------------------------------------------------------------------------
>
> Key: TAP5-2739
> URL: https://issues.apache.org/jira/browse/TAP5-2739
> Project: Tapestry 5
> Issue Type: Task
> Components: tapestry-ioc
> Affects Versions: 5.8.2
> Reporter: Ben Weidig
> Assignee: Ben Weidig
> Priority: Minor
>
> The class is a remnant from 5.3->5.4 / Java 5->6 transition.
> Right now, it's only used in RegistryImpl to inform the user that JDK 1.5 is outdated und Java 1.6 is required for Tapestry 5.4+.
> In relatity, Java 8 is needed, so it makes no longer sense to have the check.
>
> The other method of the class,
> createLockForThreadLocalCreation()), isnt used at all in Tapestry itself.
> The Dummy related org.apache.tapestry5.ioc.internal.util.DummyLock is deprecated since 5.4
>
> Both classes should be removed, because they don't serve any purpose.
> Being in an internal package should make the removal not an issue.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)