Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: cannot find symbol sun.misc.CompoundEnumeration #35

Closed
gayanW opened this issue May 8, 2018 · 0 comments
Closed

error: cannot find symbol sun.misc.CompoundEnumeration #35

gayanW opened this issue May 8, 2018 · 0 comments

Comments

@gayanW
Copy link
Collaborator

gayanW commented May 8, 2018

Error when built with javac 10.0.1

[javac] classes/modules/java.base/java/lang/ClassLoader.java:29: error: cannot find symbol
[javac] import sun.misc.CompoundEnumeration;
[javac]                ^
[javac]   symbol:   class CompoundEnumeration
[javac]   location: package sun.misc

https://travis-ci.org/javapathfinder/jpf-core/builds/375815945#L2753-L2757

@gayanW gayanW changed the title error: cannot find symbol CompoundEnumeration error: cannot find symbol sun.misc.CompoundEnumeration May 8, 2018
gayanW added a commit to gayanW/jpf-core that referenced this issue May 8, 2018
Import sun.misc.CompoundEnumeration is unused in modules/java.base/java/lang/ClassLoader.java

And also ClassLoader and CompoundEnumeration both belongs to the same package, java.lang.
And we don't have any model class that overrides it.

Thus it is not required that we explicitly import it.

Fixes: javapathfinder#35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants