Skip to content

[Java] implement basic compiler backend based on janino#56

Merged
chaokunyang merged 1 commit intomainfrom
add_janino_compiler
May 5, 2023
Merged

[Java] implement basic compiler backend based on janino#56
chaokunyang merged 1 commit intomainfrom
add_janino_compiler

Conversation

@chaokunyang
Copy link
Copy Markdown
Collaborator

@chaokunyang chaokunyang commented May 5, 2023

What do these changes do?

This pr mplement basic compiler backend based on janino: compile java code to java bytecode for load into class.

Note that org.codehaus.janino.ClassLoaderIClassLoader may cause class unable gc, so after we compiled classes, we set classLoader and loadedIClasses in ClassLoaderIClassLoader to null.

Related issue number

Closes #55

Check code requirements

  • tests added / passed (if needed)
  • Ensure all linting tests pass, see here for how to run them

@chaokunyang chaokunyang changed the title [Java] implement basic compiler backend [Java] implement basic compiler backend based on janino May 5, 2023
@chaokunyang chaokunyang merged commit edc0871 into main May 5, 2023
@chaokunyang chaokunyang deleted the add_janino_compiler branch May 5, 2023 02:58
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.

[Java] Janino compiler backend

1 participant