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

seek clarification about necessary and sufficient conditions for inclusion in InnerClasses JVM attribute #6759

Closed
scabug opened this issue Dec 3, 2012 · 3 comments

Comments

@scabug
Copy link

commented Dec 3, 2012

The JVM spec states in Sec. 4.7.6 that for each CONSTANT_Class_info (constant-pool entry) which represents a class or interface that is not a member of a package an entry should be made in the class' InnerClasses JVM attribute.

According to the above, the mere fact an inner class is mentioned in, for example, an annotation wouldn't be reason enough for adding it to the InnerClasses JVM attribute.

However that's what GenASM (apparently?) does.

As an aside, this issue came up in the context of GenBCode, where refreshInnerClasses() in file BCodeOpt.scala follows a literal interpretation of the spec.

@scabug

This comment has been minimized.

Copy link
Author

commented Dec 3, 2012

@scabug

This comment has been minimized.

Copy link
Author

commented Aug 5, 2014

@gkossakowski said:
The 2.11.2 is out so I'm rescheduling the issue for 2.11.3.

@scabug

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.