You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by "seonWKim (via GitHub)" <gi...@apache.org> on 2025/05/16 03:26:13 UTC
[D] Intellij setup [pekko]
GitHub user seonWKim created a discussion: Intellij setup
How do you set up your intellij for testing apache pekko source code?
I've been trying out various settings but can't overcome the compilation error
```
[info] compiling 209 Scala sources and 28 Java sources to /Users/seonwoo960000/Desktop/project/pekko/actor/target/scala-2.13/classes ...
[error] /Users/seonwoo960000/Desktop/project/pekko/actor/src/main/java/org/apache/pekko/util/Unsafe.java:25:23: not found: value sun
[error] public static final sun.misc.Unsafe instance;
[error] ^
[error] /Users/seonwoo960000/Desktop/project/pekko/actor/src/main/scala/org/apache/pekko/actor/LightArrayRevolverScheduler.scala:359:21: private val taskOffset in object LightArrayRevolverScheduler is never used
[error] Applicable -Wconf / @nowarn filters for this fatal warning: msg=<part of the message>, cat=unused-privates, site=org.apache.pekko.actor.LightArrayRevolverScheduler.taskOffset
[error] private[this] val taskOffset =
[error] ^
[error] /Users/seonwoo960000/Desktop/project/pekko/actor/src/main/scala/org/apache/pekko/actor/RepointableActorRef.scala:50:29: Unused import
[error] Applicable -Wconf / @nowarn filters for this fatal warning: msg=<part of the message>, cat=unused-imports, site=org.apache.pekko.actor.RepointableActorRef
[error] import AbstractActorRef.{ cellOffset, lookupOffset }
[error] ^
[error] /Users/seonwoo960000/Desktop/project/pekko/actor/src/main/scala/org/apache/pekko/actor/RepointableActorRef.scala:50:41: Unused import
[error] Applicable -Wconf / @nowarn filters for this fatal warning: msg=<part of the message>, cat=unused-imports, site=org.apache.pekko.actor.RepointableActorRef
[error] import AbstractActorRef.{ cellOffset, lookupOffset }
[error] ^
[error] /Users/seonwoo960000/Desktop/project/pekko/actor/src/main/scala/org/apache/pekko/actor/dungeon/Children.scala:88:11: local val added in method rec is never used
[error] Applicable -Wconf / @nowarn filters for this fatal warning: msg=<part of the message>, cat=unused-locals, site=org.apache.pekko.actor.dungeon.Children.addFunctionRef.rec.added
[error] val added = old.updated(childPath.name, ref)
[error] ^
[error] /Users/seonwoo960000/Desktop/project/pekko/actor/src/main/scala/org/apache/pekko/actor/dungeon/Children.scala:104:13: local val removed in method rec is never used
[error] Applicable -Wconf / @nowarn filters for this fatal warning: msg=<part of the message>, cat=unused-locals, site=org.apache.pekko.actor.dungeon.Children.removeFunctionRef.rec.removed
[error] val removed = old - name
[error] ^
[error] /Users/seonwoo960000/Desktop/project/pekko/actor/src/main/scala/org/apache/pekko/dispatch/AbstractDispatcher.scala:112:38: Unused import
[error] Applicable -Wconf / @nowarn filters for this fatal warning: msg=<part of the message>, cat=unused-imports, site=org.apache.pekko.dispatch.MessageDispatcher
[error] import AbstractMessageDispatcher.{ inhabitantsOffset, shutdownScheduleOffset }
[error] ^
[error] /Users/seonwoo960000/Desktop/project/pekko/actor/src/main/scala/org/apache/pekko/dispatch/AbstractDispatcher.scala:112:57: Unused import
[error] Applicable -Wconf / @nowarn filters for this fatal warning: msg=<part of the message>, cat=unused-imports, site=org.apache.pekko.dispatch.MessageDispatcher
[error] import AbstractMessageDispatcher.{ inhabitantsOffset, shutdownScheduleOffset }
[error] ^
[error] /Users/seonwoo960000/Desktop/project/pekko/actor/src/main/scala/org/apache/pekko/pattern/AskSupport.scala:521:36: Unused import
[error] Applicable -Wconf / @nowarn filters for this fatal warning: msg=<part of the message>, cat=unused-imports, site=org.apache.pekko.pattern.PromiseActorRef
[error] import AbstractPromiseActorRef.{ stateOffset, watchedByOffset }
[error] ^
[error] /Users/seonwoo960000/Desktop/project/pekko/actor/src/main/scala/org/apache/pekko/pattern/AskSupport.scala:521:49: Unused import
[error] Applicable -Wconf / @nowarn filters for this fatal warning: msg=<part of the message>, cat=unused-imports, site=org.apache.pekko.pattern.PromiseActorRef
[error] import AbstractPromiseActorRef.{ stateOffset, watchedByOffset }
[error] ^
[error] 10 errors found
[error] (actor / Compile / compileIncremental) Compilation failed
[error] Total time: 4 s, completed May 16, 2025, 12:25:19 PM
```


GitHub link: https://github.com/apache/pekko/discussions/1847
----
This is an automatically sent email for notifications@pekko.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@pekko.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [D] Intellij setup [pekko]
Posted by "He-Pin (via GitHub)" <gi...@apache.org>.
GitHub user He-Pin edited a comment on the discussion: Intellij setup
Try java 8, it works, I was encounter this problem too @seonWKim
GitHub link: https://github.com/apache/pekko/discussions/1847#discussioncomment-13165914
----
This is an automatically sent email for notifications@pekko.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@pekko.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [D] Intellij setup [pekko]
Posted by "seonWKim (via GitHub)" <gi...@apache.org>.
GitHub user seonWKim added a comment to the discussion: Intellij setup
https://github.com/apache/pekko/pull/1849/files
GitHub link: https://github.com/apache/pekko/discussions/1847#discussioncomment-13167089
----
This is an automatically sent email for notifications@pekko.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@pekko.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [D] Intellij setup [pekko]
Posted by "seonWKim (via GitHub)" <gi...@apache.org>.
GitHub user seonWKim edited a comment on the discussion: Intellij setup
PR submitted.
https://github.com/apache/pekko/pull/1849/files
GitHub link: https://github.com/apache/pekko/discussions/1847#discussioncomment-13167089
----
This is an automatically sent email for notifications@pekko.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@pekko.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [D] Intellij setup [pekko]
Posted by "seonWKim (via GitHub)" <gi...@apache.org>.
GitHub user seonWKim added a comment to the discussion: Intellij setup
Sure, let me first read the CONTRIBUTiON.md
GitHub link: https://github.com/apache/pekko/discussions/1847#discussioncomment-13166794
----
This is an automatically sent email for notifications@pekko.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@pekko.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [D] Intellij setup [pekko]
Posted by "seonWKim (via GitHub)" <gi...@apache.org>.
GitHub user seonWKim added a comment to the discussion: Intellij setup
Thanks, I'll try it 🙏
GitHub link: https://github.com/apache/pekko/discussions/1847#discussioncomment-13166015
----
This is an automatically sent email for notifications@pekko.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@pekko.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [D] Intellij setup [pekko]
Posted by "seonWKim (via GitHub)" <gi...@apache.org>.
GitHub user seonWKim added a comment to the discussion: Intellij setup
Thanks it now works. The README.md recommend us to use 11 but for development, we should use 8 🤔
Here are my working intellij settings



![Uploading image.png…]()
GitHub link: https://github.com/apache/pekko/discussions/1847#discussioncomment-13166066
----
This is an automatically sent email for notifications@pekko.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@pekko.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [D] Intellij setup [pekko]
Posted by "He-Pin (via GitHub)" <gi...@apache.org>.
GitHub user He-Pin added a comment to the discussion: Intellij setup
Set the sbt to use java 8 and it will works, I'm not sure why too :(
GitHub link: https://github.com/apache/pekko/discussions/1847#discussioncomment-13166044
----
This is an automatically sent email for notifications@pekko.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@pekko.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [D] Intellij setup [pekko]
Posted by "He-Pin (via GitHub)" <gi...@apache.org>.
GitHub user He-Pin added a comment to the discussion: Intellij setup
Try java 8, it works
GitHub link: https://github.com/apache/pekko/discussions/1847#discussioncomment-13165914
----
This is an automatically sent email for notifications@pekko.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@pekko.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [D] Intellij setup [pekko]
Posted by "seonWKim (via GitHub)" <gi...@apache.org>.
GitHub user seonWKim edited a comment on the discussion: Intellij setup
Thanks it now works. The README.md recommend us to use 11 but for development, we should use 8 🤔
Here are my working intellij settings




GitHub link: https://github.com/apache/pekko/discussions/1847#discussioncomment-13166066
----
This is an automatically sent email for notifications@pekko.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@pekko.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [D] Intellij setup [pekko]
Posted by "He-Pin (via GitHub)" <gi...@apache.org>.
GitHub user He-Pin added a comment to the discussion: Intellij setup
that's ture, would you like to provide an update?
GitHub link: https://github.com/apache/pekko/discussions/1847#discussioncomment-13166077
----
This is an automatically sent email for notifications@pekko.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@pekko.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org