Alex

Results 43 comments of Alex

Hey hey. Any update on this? I'm happy to provide help if you need any.

now since jcenter is gone, are there any plans to re-publish this plugin to maven central?

Can't find anything suspicious. @marc-guenther can you share more details of your setup? Which version of ECJ you're using? What other compiler arguments and annotation processors involved?

@elucash That's a good point probably all of them

I may be wrong but I thought that par oiled is used only internally to build the templates? If so, can we give it all the necessary access? Something like:...

@oleschoenburg seems to be working fine in github actions pipeline: https://github.com/SimY4/immutables/actions/runs/1362104867 Do you know what could be different between immutables fixtures set up and your build pipeline set up?

@oleschoenburg thank you for your inputs. I was able to reproduce it on another project of mine.

@oleschoenburg apparently the difference that fixes this issue is this one: ``` org.apache.maven.plugins maven-compiler-plugin true -J--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED -J--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED -J--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED -J--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED -J--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED -J--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED -J--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED -J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED -J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED -J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED ``` value fixture uses error-prone...

Follow up Narrowed down list of opens that will make immutables work for this case is: ``` true -J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED -J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED ```

@elucash yes, with everything I had on this was merged to master. The final version requires only one additional export: ``` true -J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED ```