Skip to content

java.lang.IllegalAccessError when running inside JBoss modules #32

@marvelous

Description

@marvelous

I get the following exception when running with bt-dht inside JBoss modules:

Exception in thread "main" java.lang.IllegalAccessError: class bt.protocol.handler.PortMessageHandler cannot access its superclass bt.protocol.handler.UniqueMessageHandler

Although these classes are both in the same java package, they belong to different modules. Making UniqueMessageHandler public would solve this problem.

I guess that the same issue can be triggered using OSGI or Jigsaw.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions