Skip to content

Add new auxliary class EnumerationAdapter to ClassLoader #92

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

Merged
merged 1 commit into from
Jun 20, 2018

Conversation

gayanW
Copy link
Collaborator

@gayanW gayanW commented Jun 20, 2018

java.lang.ClassLoader#getResources in the model class java.lang.ClassLoader references java.lang.CompoundEnumeration which is an auxilary class declared within the java standard class
java/lang/ClassLoader.java

This adds a new auxilary class named EnumerationAdapter within the model class, as replacement for CompoundEnumeration class, so to prevent our ClassLoader model class from referencing an auxilary class from outside its own source file.

This fixes:

warning: auxiliary class CompoundEnumeration in ClassLoader.java should not be accessed from outside its own source file

Fixes: #90

java.lang.ClassLoader#getResources in the model class
java.lang.ClassLoader references java.lang.CompoundEnumeration which is
an auxilary class declared within the java standard class
java/lang/ClassLoader.java

This adds a new auxilary class named EnumerationAdapter within the model
class, as replacement for CompoundEnumeration class, so to prevent our
ClassLoader model class from referencing an auxilary class from outside
its own source file.

This fixes:
    warning: auxiliary class CompoundEnumeration in ClassLoader.java should
             not be accessed from outside its own source file

Fixes: javapathfinder#90
@Octarine-J Octarine-J merged commit de8cccd into javapathfinder:java-10 Jun 20, 2018
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

Successfully merging this pull request may close these issues.

2 participants