Skip to content

JPMS compability #99

@uzilan

Description

@uzilan

Trying to use metrics datadog using the JPMS (Java Platform Module System) is challenging, since one requires both metrics.datadog and dropwizard.metrics.datadog, which both use the same package names. For example, my module-info.java file could look like this:

module com.whatever {
   requires metrics.datadog;
   requires dropwizard.metrics.datadog;
}

...but this gives me the following error:
module com.whatever reads package org.coursera.metrics.datadog from both dropwizard.metrics.datadog and metrics.datadog

I'm not sure how this problem can be solved unless the package names are altered.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions