[ https://issues.apache.org/jira/browse/SLING-7047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16134994#comment-16134994 ]
Chetan Mehrotra edited comment on SLING-7047 at 8/21/17 10:16 AM: ------------------------------------------------------------------ bq. This issue says commons metrics 1.2.4 has no dependency on sun.misc anymore - which is wrong; it still works with dropwizard 3.1, so it implicitely has this dependency Thats going into nitty gritty. Commons Metrics 1.2.4 can work with either of Metrics 3.1.0 or 3.2.x. So it does not enforce requirement of sun.misc. If setup has Metrics 3.2.x then sun.misc is not required. Anyways I would remove that import statement Update - Removed the import statement with 1805618 was (Author: chetanm): bq. This issue says commons metrics 1.2.4 has no dependency on sun.misc anymore - which is wrong; it still works with dropwizard 3.1, so it implicitely has this dependency Thats going into nitty gritty. Commons Metrics 1.2.4 can work with either of Metrics 3.1.0 or 3.2.x. So it does not enforce requirement of sun.misc. If setup has Metrics 3.2.x then sun.misc is not required. Anyways I would remove that import statement > Update Dropwizard Metrics bundles to 3.2 to eliminate sun.misc dependency. > -------------------------------------------------------------------------- > > Key: SLING-7047 > URL: https://issues.apache.org/jira/browse/SLING-7047 > Project: Sling > Issue Type: Task > Reporter: Ian Boston > Assignee: Chetan Mehrotra > Fix For: commons metrics 1.2.4, Launchpad Builder 10 > > > as per https://github.com/ieb/slingmetrics/issues/1 > Not certain where the Dropwizard Metrics bundle is included, but it would be > good to make it work for any JDK, not just the Sun/Oracle JDK. -- This message was sent by Atlassian JIRA (v6.4.14#64029)