Scala Programming Language
  1. Scala Programming Language
  2. SI-3809

Illegal cyclic reference in code using Jsoup

    Details

      Description

      test.scala:

      object Test {
        def main(args : Array[String]) {
          val url = new java.net.URL("http://www.google.com/");
          org.jsoup.Jsoup.parse(url, 3000).select("img");
        }
      }
      

      Jsoup 1.3.1 is available here: http://jsoup.org/download

      scalac -Ydebug -classpath jsoup-1.3.1.jar test.scala 2>err 1>out

        Activity

        Hide
        Sciss added a comment - - edited

        Steps to reproduce:

        $ git clone -b si3809 git@github.com:Sciss/Mellite.git
        ...
        $ cd Mellite/
        $ sbt compile
        ...  // this should go through with 93 files
        $ vi src/main/scala/de/sciss/mellite/gui/impl/InterpreterFrameImpl.scala
        

        Now comment out line 13, so

        val boom = ...
        becomes
        // val boom = ...

        Then:

        $ sbt
        > compile
        ... // crashes
        > last
        ... // see attachment
        
        Show
        Sciss added a comment - - edited Steps to reproduce: $ git clone -b si3809 git@github.com:Sciss/Mellite.git ... $ cd Mellite/ $ sbt compile ... // this should go through with 93 files $ vi src/main/scala/de/sciss/mellite/gui/impl/InterpreterFrameImpl.scala Now comment out line 13, so val boom = ... becomes // val boom = ... Then: $ sbt > compile ... // crashes > last ... // see attachment
        Hide
        Jason Zaugg added a comment -

        @Sciss: thank you for providing the steps to repreoduce the issue.

        Turns out it is a different problem, related to no-specialization. I have lodged it as SI-7481.

        Show
        Jason Zaugg added a comment - @Sciss: thank you for providing the steps to repreoduce the issue. Turns out it is a different problem, related to no-specialization . I have lodged it as SI-7481 .
        Hide
        René Vangsgaard added a comment -

        @Jason thank you very much for the work around regarding IndexTankClient - it solved my problem. I can now get rid of the previous workaround: a Java class.

        Show
        René Vangsgaard added a comment - @Jason thank you very much for the work around regarding IndexTankClient - it solved my problem. I can now get rid of the previous workaround: a Java class.
        Hide
        Adriaan Moors added a comment -

        Unassigning and rescheduling to M6 as previous deadline was missed.

        Show
        Adriaan Moors added a comment - Unassigning and rescheduling to M6 as previous deadline was missed.
        Hide
        Jason Zaugg added a comment -

        Raising to critical; we should try to elevate this cycle-buster to the default before 2.11.0

        Show
        Jason Zaugg added a comment - Raising to critical; we should try to elevate this cycle-buster to the default before 2.11.0

          People

          • Assignee:
            Unassigned
            Reporter:
            Ricky Clarkson
            TracCC:
            Johannes Rudolph, Paul Phillips, weihsiu
          • Votes:
            4 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

            • Created:
              Updated:

              Development