You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/01/28 14:51:00 UTC
[jira] [Commented] (LOG4J2-2225) Move time-related implementation
classes to `core.time.internal` from `util`
[ https://issues.apache.org/jira/browse/LOG4J2-2225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16342596#comment-16342596 ]
ASF subversion and git services commented on LOG4J2-2225:
---------------------------------------------------------
Commit 21bc3aa3bf8d8a043459c6a58e774b82a617a058 in logging-log4j2's branch refs/heads/master from rpopma
[ https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;h=21bc3aa ]
LOG4J2-2225 provide alias for SystemMillisClock so the fully qualified class name doesn't need to be published
> Move time-related implementation classes to `core.time.internal` from `util`
> ----------------------------------------------------------------------------
>
> Key: LOG4J2-2225
> URL: https://issues.apache.org/jira/browse/LOG4J2-2225
> Project: Log4j 2
> Issue Type: Task
> Components: Core
> Affects Versions: 2.10.0
> Reporter: Remko Popma
> Assignee: Remko Popma
> Priority: Major
> Fix For: 2.11.0
>
>
> As discussed on the mailing list in relation to LOG4J2-1883, in preparation for making log4j-core a Java 9 module, the Log4j community wants to start clarifying which classes are published and which classes are internal to Log4j2.
> The {{Clock}} and {{NanoClock}} interfaces in the {{util}} package are published extension points and will require a solution that doesn’t break existing implementations but still provides a migration path towards full modularization. It is likely that the util package will not be an exported package so there is an argument to move these interfaces into the new {{core.time}} package which _will_ be an exported package of the Java 9 log4j-core module.
> The Clock implementation classes and the {{ClockFactory}} class in the {{util}} package, although public, were intended for internal Log4j usage and can be moved to {{core.time.internal}}.
> The {{NanoClock}} implementations can probably also be moved to {{core.time.internal}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)