On Tue, 21 May 2024 11:37:26 GMT, Adam Sotona <asot...@openjdk.org> wrote:

> Indify invocation on Microbenchmarks as a part of the JDK build (after 
> application of the above patch) still fails with:
> 
> ```
> Failure on 
> /Applications/XcodeJIB.app/dev/github/jdk/build/macosx-aarch64/support/test/micro/classes
> Exception in thread "main" java.lang.NullPointerException: Cannot invoke 
> "java.lang.classfile.ClassModel.thisClass()" because "model" is null
>       at java.base/java.lang.classfile.ClassFile.transform(ClassFile.java:445)
>       at indify.Indify.transformToBytes(Indify.java:369)
>       at indify.Indify.writeNewClassFile(Indify.java:360)
>       at indify.Indify.indifyFile(Indify.java:356)
>       at indify.Indify.indifyTree(Indify.java:391)
>       at indify.Indify.indifyTree(Indify.java:393)
>       at indify.Indify.indifyTree(Indify.java:393)
>       at indify.Indify.indifyTree(Indify.java:393)
>       at indify.Indify.indifyTree(Indify.java:393)
>       at indify.Indify.indifyTree(Indify.java:393)
>       at indify.Indify.indifyTree(Indify.java:393)
>       at indify.Indify.indify(Indify.java:339)
>       at indify.Indify.run(Indify.java:191)
>       at indify.Indify.main(Indify.java:101)
> ```

I applied a patch addressing this issue, the tool invocation should pass now  
on Microbenchmarks.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/18841#issuecomment-2123566807

Reply via email to