jtulach opened a new pull request, #54: URL: https://github.com/apache/netbeans-html4j/pull/54
To support use of HTML/Java API in GraalVM's `native-image` tool: - the `@JavaScriptBody` and `@JavaScriptResource` annotation need to be available in runtime - however they have `RetentionType.CLASS` - let's patch the bytecode then It is necessary to change the bytecode of: - all classes using these annotations need to duplicate their usage into `runtimeVisibleAnnotation` class file attribute - all these annotations need to be patched to declare `RetentionType.RUNTIME` With such changes we should be able to use the JVM agent of HTML/Java to make these annotation available at GraalVM's _native image build time_. - [ ] Write a test to verify behavior of the `-agentlib` option - [ ] Update documentation -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
