Skip to content

error: cannot find symbol sun.misc.SharedSecrets - JDK 10 #22

@gayanW

Description

@gayanW

Error when build against javac 10.0.1

Error: https://travis-ci.org/javapathfinder/jpf-core/builds/372327507#L2447-L2458

Proposed solutions:

  1. Use StackWalker instread of sun.misc.SharedSecrets, as done previously: gayanW@4852566
  2. Use SharedSecrets from the repackaged jdk.internal.misc package. This will also require us to break the encapsulation by passing command line arguments to the compiler.

References:
http://openjdk.java.net/jeps/261#Breaking-encapsulation

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