Skip to content

NameServiceDescriptor SPI is removed in JDK 9 #5

Open
@msgilligan

Description

@msgilligan

The beeLin Java library uses the following Sun private APIs:

sun.net.spi.nameservice.NameService
sun.net.spi.nameservice.NameServiceDescriptor

and the META-INF/services mechanism of registering with the SPI. This is going away in Java 9. See https://bugs.openjdk.java.net/browse/JDK-8134577

This is unfortunate, because it is a great mechanism for enabling alternate DNS mechanisms in any Java application simply by adding a library JAR.

We need a replacement strategy for Java 9. Any ideas?

(Note: This mechanism does not to be available on Android OS)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions