He-Pin commented on issue #979:
URL:
https://github.com/apache/incubator-pekko/issues/979#issuecomment-1902621263
@duobei Yes, in Java 17 , you need add opens, something like :
```
--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED
--add-exports
jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED
--add-exports
jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED
--add-exports
jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED
--add-exports
jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED
--add-exports
jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED
--add-exports
jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED
--add-exports
jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
--add-opens
jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED
--add-opens
jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED
--add-opens java.base/java.lang=ALL-UNNAMED
--add-opens java.base/java.net=ALL-UNNAMED
--add-opens java.base/java.util=ALL-UNNAMED
--add-opens
java.base/java.util.concurrent.atomic=ALL-UNNAMED
--add-opens java.base/java.nio=ALL-UNNAMED
--add-opens
java.base/jdk.internal.misc=ALL-UNNAMED
--add-exports
java.base/sun.net.www.protocol.https=ALL-UNNAMED
--add-exports
java.base/sun.util.calendar=ALL-UNNAMED
--add-exports
java.base/java.lang.reflect=ALL-UNNAMED
--add-opens java.base/sun.net.util=ALL-UNNAMED
--add-opens java.base/sun.nio.ch=ALL-UNNAMED
--add-opens java.base/java.math=ALL-UNNAMED
--add-opens
java.base/sun.security.action=ALL-UNNAMED
--add-opens
java.management/sun.management=ALL-UNNAMED
```
--
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]