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

Complete java.lang.Class items #119

Open
8 tasks
dmlloyd opened this issue Feb 7, 2022 · 0 comments
Open
8 tasks

Complete java.lang.Class items #119

dmlloyd opened this issue Feb 7, 2022 · 0 comments

Comments

@dmlloyd
Copy link
Collaborator

dmlloyd commented Feb 7, 2022

More things to consider:

  • Migrate getArrayClass() to pure Java
  • Use type_id type for nestHost, etc. (use patcher to delete the "originals" of these fields) (nestMembers should remain an object array though)
  • Drop (patch away) other fields from Class that we don't need, such as componentType, classRedefinedCount
  • Pre-initialize enumConstants
  • Implement isInstance, isAssignableFrom in pure Java
  • Migrate other fields like modifiers
  • Accept classData argument in "normal" ctor for definition of "hidden" classes
  • Do the same for java.lang.Object, including specifying the type ID field in Java and implementing getClass() in terms of the type ID value

Originally posted by @dmlloyd in #108 (comment)

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

1 participant