diff options
author | Paul Phillips <paulp@improving.org> | 2012-09-10 09:40:03 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-10-09 14:17:34 -0700 |
commit | 432f9368011e0fd9e89ca0e18082bfec180baf32 (patch) | |
tree | 155dfa5932b5049ba80063c5a7758cf9c0305f0c /test/files/pos/cycle-jsoup.scala | |
parent | c61c18e042d0fa41a09fea29a8dcaa2e08a40a63 (diff) | |
download | scala-432f9368011e0fd9e89ca0e18082bfec180baf32.tar.gz scala-432f9368011e0fd9e89ca0e18082bfec180baf32.tar.bz2 scala-432f9368011e0fd9e89ca0e18082bfec180baf32.zip |
Experimental option -Ybreak-cycles.
Overcomes cycles encountered during classfile parsing
in possibly sketchy fashion.
"illegal cyclic reference involving class Foo"
is the watchword. See SI-3809.
Diffstat (limited to 'test/files/pos/cycle-jsoup.scala')
-rw-r--r-- | test/files/pos/cycle-jsoup.scala | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/pos/cycle-jsoup.scala b/test/files/pos/cycle-jsoup.scala new file mode 100644 index 0000000000..879e693537 --- /dev/null +++ b/test/files/pos/cycle-jsoup.scala @@ -0,0 +1,5 @@ +object Test { + def main(args : Array[String]) { + org.jsoup.Jsoup.parse(null: java.net.URL, 3000) + } +} |