Skip to content

Instantly share code, notes, and snippets.

@cemerick
Created June 23, 2010 12:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cemerick/d8ba04dd0613cb7e11ba to your computer and use it in GitHub Desktop.
Save cemerick/d8ba04dd0613cb7e11ba to your computer and use it in GitHub Desktop.
Pseudolog of AOT-compilation:
; dom.ui.search refers to a Java class that RT.load's dom.ui.docviewer in a static init
Compiling dom.ui.search to target/classes
; reflection warnings emitted from both search & docviewer
; (latter presumably being compiled due to the explicit RT.load
Compiling dom.ui.docviewer to target/classes
Exception in thread "main" java.lang.NoSuchFieldError: __var__callsite__0
at dom.ui.docviewer__init.load(Unknown Source)
at dom.ui.docviewer__init.<clinit>(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
; This arrangement worked as-is earlier this year.
; Removing either the reference to the Java class or the explicit RT.load of
; docviewer in that class allows the compilation to succeed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment