Created
April 14, 2014 11:35
-
-
Save martijnhoekstra/10640085 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading /c/Program Files (x86)/sbt/bin/sbt-launch-lib.bash | |
[info] Loading global plugins from C:\Users\Martijn.Hoekstra\.sbt\0.13\plugins | |
[info] Set current project to spray-cookies (in build file:/C:/Users/Martijn.Hoekstra/Scala/spray-cookies-test/) | |
[info] Updating {file:/C:/Users/Martijn.Hoekstra/Scala/spray-cookies-test/}spray-cookies-test... | |
[info] Resolving org.scala-lang#scala-library;2.10.3 ... | |
[info] Resolving io.spray#spray-client;[1.0.1,1.3.1] ... | |
[info] Resolving io.spray#spray-can;1.3.1 ... | |
[info] Resolving io.spray#spray-io;1.3.1 ... | |
[info] Resolving io.spray#spray-util;1.3.1 ... | |
[info] Resolving io.spray#spray-http;1.3.1 ... | |
[info] Resolving org.parboiled#parboiled-scala_2.10;1.1.6 ... | |
[info] Resolving org.parboiled#parboiled-core;1.1.6 ... | |
[info] Resolving io.spray#spray-httpx;1.3.1 ... | |
[info] Resolving org.jvnet.mimepull#mimepull;1.9.4 ... | |
[info] Resolving org.scala-lang#scala-compiler;2.10.3 ... | |
[info] Resolving org.scala-lang#scala-reflect;2.10.3 ... | |
[info] Resolving org.scala-lang#jline;2.10.3 ... | |
[info] Resolving org.fusesource.jansi#jansi;1.4 ... | |
[info] Done updating. | |
[info] Compiling 2 Scala sources to C:\Users\Martijn.Hoekstra\Scala\spray-cookies-test\target\scala-2.10\classes... | |
exception when typing spray.httpx.RequestBuilding/class scala.reflect.internal.Trees$Select | |
bad symbolic reference. A signature in TransformerPipelineSupport.class refers to term event | |
in package akka which is not available. | |
It may be completely missing from the current classpath, or the version on | |
the classpath might be incompatible with the version used when compiling TransformerPipelineSupport.class. in file C:\Users\Martijn.Hoekstra\Scala\spray-cookies-test\src\main\scala\Cookiejar.scala | |
scala.reflect.internal.Types$TypeError: bad symbolic reference. A signature in TransformerPipelineSupport.class refers to term event | |
in package akka which is not available. | |
It may be completely missing from the current classpath, or the version on | |
the classpath might be incompatible with the version used when compiling TransformerPipelineSupport.class. | |
at scala.reflect.internal.pickling.UnPickler$Scan.toTypeError(UnPickler.scala:847) | |
at scala.reflect.internal.pickling.UnPickler$Scan$LazyTypeRef.complete(UnPickler.scala:854) | |
at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1229) | |
at scala.reflect.internal.Types$TypeMap$$anonfun$noChangeToSymbols$1.apply(Types.scala:4280) | |
at scala.reflect.internal.Types$TypeMap$$anonfun$noChangeToSymbols$1.apply(Types.scala:4280) | |
at scala.collection.LinearSeqOptimized$class.forall(LinearSeqOptimized.scala:70) | |
at scala.collection.immutable.List.forall(List.scala:84) | |
at scala.reflect.internal.Types$TypeMap.noChangeToSymbols(Types.scala:4280) | |
at scala.reflect.internal.Types$TypeMap.mapOver(Types.scala:4293) | |
at scala.reflect.internal.Types$TypeMap.mapOver(Types.scala:4196) | |
at scala.reflect.internal.transform.UnCurry$$anon$2.apply(UnCurry.scala:42) | |
at scala.reflect.internal.Types$TypeMap.mapOver(Types.scala:4202) | |
at scala.reflect.internal.transform.UnCurry$$anon$2.apply(UnCurry.scala:42) | |
at scala.reflect.internal.transform.UnCurry$class.transformInfo(UnCurry.scala:69) | |
at scala.tools.nsc.transform.UnCurry.transformInfo(UnCurry.scala:46) | |
at scala.tools.nsc.transform.InfoTransform$Phase$$anon$1.transform(InfoTransform.scala:38) | |
at scala.reflect.internal.Symbols$Symbol.rawInfo(Symbols.scala:1312) | |
at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1239) | |
at scala.tools.nsc.transform.SpecializeTypes.specializedParams(SpecializeTypes.scala:269) | |
at scala.tools.nsc.transform.SpecializeTypes.scala$tools$nsc$transform$SpecializeTypes$$normalizeMember(SpecializeTypes.scala:805) | |
at scala.tools.nsc.transform.SpecializeTypes$$anonfun$22.apply(SpecializeTypes.scala:751) | |
at scala.tools.nsc.transform.SpecializeTypes$$anonfun$22.apply(SpecializeTypes.scala:749) | |
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251) | |
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251) | |
at scala.collection.immutable.List.foreach(List.scala:318) | |
at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251) | |
at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105) | |
at scala.tools.nsc.transform.SpecializeTypes.specializeClass(SpecializeTypes.scala:749) | |
at scala.tools.nsc.transform.SpecializeTypes.transformInfo(SpecializeTypes.scala:1172) | |
at scala.tools.nsc.transform.InfoTransform$Phase$$anon$1.transform(InfoTransform.scala:38) | |
at scala.reflect.internal.Symbols$Symbol.rawInfo(Symbols.scala:1312) | |
at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1239) | |
at scala.tools.nsc.transform.SpecializeTypes$$anonfun$transformInfo$1$$anonfun$apply$36.apply(SpecializeTypes.scala:1164) | |
at scala.tools.nsc.transform.SpecializeTypes$$anonfun$transformInfo$1$$anonfun$apply$36.apply(SpecializeTypes.scala:1164) | |
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244) | |
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244) | |
at scala.collection.immutable.List.foreach(List.scala:318) | |
at scala.collection.TraversableLike$class.map(TraversableLike.scala:244) | |
at scala.collection.AbstractTraversable.map(Traversable.scala:105) | |
at scala.tools.nsc.transform.SpecializeTypes$$anonfun$transformInfo$1.apply(SpecializeTypes.scala:1164) | |
at scala.tools.nsc.transform.SpecializeTypes$$anonfun$transformInfo$1.apply(SpecializeTypes.scala:1164) | |
at scala.reflect.internal.SymbolTable.atPhase(SymbolTable.scala:207) | |
at scala.reflect.internal.SymbolTable.afterPhase(SymbolTable.scala:216) | |
at scala.tools.nsc.transform.SpecializeTypes.transformInfo(SpecializeTypes.scala:1164) | |
at scala.tools.nsc.transform.InfoTransform$Phase$$anon$1.transform(InfoTransform.scala:38) | |
at scala.reflect.internal.Symbols$Symbol.rawInfo(Symbols.scala:1312) | |
at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1239) | |
at scala.tools.nsc.transform.SpecializeTypes$$anonfun$transformInfo$1$$anonfun$apply$36.apply(SpecializeTypes.scala:1164) | |
at scala.tools.nsc.transform.SpecializeTypes$$anonfun$transformInfo$1$$anonfun$apply$36.apply(SpecializeTypes.scala:1164) | |
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244) | |
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244) | |
at scala.collection.immutable.List.foreach(List.scala:318) | |
at scala.collection.TraversableLike$class.map(TraversableLike.scala:244) | |
at scala.collection.AbstractTraversable.map(Traversable.scala:105) | |
at scala.tools.nsc.transform.SpecializeTypes$$anonfun$transformInfo$1.apply(SpecializeTypes.scala:1164) | |
at scala.tools.nsc.transform.SpecializeTypes$$anonfun$transformInfo$1.apply(SpecializeTypes.scala:1164) | |
at scala.reflect.internal.SymbolTable.atPhase(SymbolTable.scala:207) | |
at scala.reflect.internal.SymbolTable.afterPhase(SymbolTable.scala:216) | |
at scala.tools.nsc.transform.SpecializeTypes.transformInfo(SpecializeTypes.scala:1164) | |
at scala.tools.nsc.transform.InfoTransform$Phase$$anon$1.transform(InfoTransform.scala:38) | |
at scala.reflect.internal.Symbols$Symbol.rawInfo(Symbols.scala:1312) | |
at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1239) | |
at scala.reflect.internal.Symbols$Symbol.isDerivedValueClass(Symbols.scala:658) | |
at scala.reflect.internal.transform.Erasure$ErasureMap.apply(Erasure.scala:131) | |
at scala.reflect.internal.transform.Erasure$class.specialErasure(Erasure.scala:205) | |
at scala.tools.nsc.transform.Erasure.specialErasure(Erasure.scala:14) | |
at scala.reflect.internal.transform.Erasure$class.transformInfo(Erasure.scala:380) | |
at scala.tools.nsc.transform.Erasure.transformInfo(Erasure.scala:329) | |
at scala.tools.nsc.transform.InfoTransform$Phase$$anon$1.transform(InfoTransform.scala:38) | |
at scala.reflect.internal.Symbols$Symbol.rawInfo(Symbols.scala:1312) | |
at scala.tools.nsc.typechecker.Typers$Typer.isStale(Typers.scala:549) | |
at scala.tools.nsc.typechecker.Typers$Typer.reallyExists(Typers.scala:541) | |
at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedSelect$1(Typers.scala:4773) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedSelectOrSuperCall$1(Typers.scala:4899) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5529) | |
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:835) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:5693) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:5701) | |
at scala.tools.nsc.transform.Erasure$Eraser.adaptMember(Erasure.scala:781) | |
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:835) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$92.apply(Typers.scala:4574) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$92.apply(Typers.scala:4574) | |
at scala.tools.nsc.typechecker.Typers$Typer.silent(Typers.scala:727) | |
at scala.tools.nsc.typechecker.Typers$Typer.normalTypedApply$1(Typers.scala:4574) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:4625) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5530) | |
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:835) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:5693) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:5701) | |
at scala.tools.nsc.transform.Erasure$Eraser.adaptMember(Erasure.scala:781) | |
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:835) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$92.apply(Typers.scala:4574) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$92.apply(Typers.scala:4574) | |
at scala.tools.nsc.typechecker.Typers$Typer.silent(Typers.scala:727) | |
at scala.tools.nsc.typechecker.Typers$Typer.normalTypedApply$1(Typers.scala:4574) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:4625) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5530) | |
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:835) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:2432) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5536) | |
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:835) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5687) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedIf$1(Typers.scala:4282) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5537) | |
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:835) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:2432) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5536) | |
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:835) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608) | |
at scala.tools.nsc.typechecker.Typers$Typer.transformedOrTyped(Typers.scala:5811) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedDefDef(Typers.scala:2256) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5535) | |
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:835) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608) | |
at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2927) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3031) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3031) | |
at scala.collection.immutable.List.loop$1(List.scala:170) | |
at scala.collection.immutable.List.mapConserve(List.scala:186) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3031) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:1918) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedClassDef(Typers.scala:1758) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5549) | |
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:835) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608) | |
at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2927) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3031) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3031) | |
at scala.collection.immutable.List.loop$1(List.scala:170) | |
at scala.collection.immutable.List.mapConserve(List.scala:186) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3031) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:2431) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5536) | |
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:835) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608) | |
at scala.tools.nsc.typechecker.Typers$Typer.transformedOrTyped(Typers.scala:5811) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedDefDef(Typers.scala:2256) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5535) | |
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:835) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608) | |
at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2927) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3031) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3031) | |
at scala.collection.immutable.List.loop$1(List.scala:170) | |
at scala.collection.immutable.List.mapConserve(List.scala:186) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3031) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:1918) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedClassDef(Typers.scala:1758) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5549) | |
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:835) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608) | |
at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2927) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3031) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3031) | |
at scala.collection.immutable.List.loop$1(List.scala:170) | |
at scala.collection.immutable.List.mapConserve(List.scala:186) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3031) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedPackageDef$1(Typers.scala:5267) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5553) | |
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:835) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5670) | |
at scala.tools.nsc.transform.Erasure$ErasureTransformer$$anonfun$transform$2.apply(Erasure.scala:1291) | |
at scala.tools.nsc.transform.Erasure$ErasureTransformer$$anonfun$transform$2.apply(Erasure.scala:1287) | |
at scala.reflect.internal.SymbolTable.atPhase(SymbolTable.scala:207) | |
at scala.reflect.internal.SymbolTable.afterPhase(SymbolTable.scala:216) | |
at scala.tools.nsc.transform.Erasure$ErasureTransformer.transform(Erasure.scala:1287) | |
at scala.tools.nsc.transform.Erasure$ErasureTransformer.transform(Erasure.scala:888) | |
at scala.tools.nsc.ast.Trees$Transformer.transformUnit(Trees.scala:227) | |
at scala.tools.nsc.transform.Transform$Phase.apply(Transform.scala:30) | |
at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:464) | |
at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:431) | |
at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:431) | |
at scala.collection.Iterator$class.foreach(Iterator.scala:727) | |
at scala.collection.AbstractIterator.foreach(Iterator.scala:1157) | |
at scala.tools.nsc.Global$GlobalPhase.run(Global.scala:431) | |
at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1583) | |
at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1557) | |
at scala.tools.nsc.Global$Run.compileSources(Global.scala:1553) | |
at scala.tools.nsc.Global$Run.compile(Global.scala:1662) | |
at xsbt.CachedCompiler0.run(CompilerInterface.scala:123) | |
at xsbt.CachedCompiler0.run(CompilerInterface.scala:99) | |
at xsbt.CompilerInterface.run(CompilerInterface.scala:27) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:606) | |
at sbt.compiler.AnalyzingCompiler.call(AnalyzingCompiler.scala:102) | |
at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:48) | |
at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:41) | |
at sbt.compiler.AggressiveCompile$$anonfun$3$$anonfun$compileScala$1$1.apply$mcV$sp(AggressiveCompile.scala:98) | |
at sbt.compiler.AggressiveCompile$$anonfun$3$$anonfun$compileScala$1$1.apply(AggressiveCompile.scala:98) | |
at sbt.compiler.AggressiveCompile$$anonfun$3$$anonfun$compileScala$1$1.apply(AggressiveCompile.scala:98) | |
at sbt.compiler.AggressiveCompile.sbt$compiler$AggressiveCompile$$timed(AggressiveCompile.scala:159) | |
at sbt.compiler.AggressiveCompile$$anonfun$3.compileScala$1(AggressiveCompile.scala:97) | |
at sbt.compiler.AggressiveCompile$$anonfun$3.apply(AggressiveCompile.scala:142) | |
at sbt.compiler.AggressiveCompile$$anonfun$3.apply(AggressiveCompile.scala:86) | |
at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:38) | |
at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:36) | |
at sbt.inc.Incremental$.cycle(Incremental.scala:73) | |
at sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:33) | |
at sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:32) | |
at sbt.inc.Incremental$.manageClassfiles(Incremental.scala:41) | |
at sbt.inc.Incremental$.compile(Incremental.scala:32) | |
at sbt.inc.IncrementalCompile$.apply(Compile.scala:26) | |
at sbt.compiler.AggressiveCompile.compile2(AggressiveCompile.scala:150) | |
at sbt.compiler.AggressiveCompile.compile1(AggressiveCompile.scala:70) | |
at sbt.compiler.AggressiveCompile.apply(AggressiveCompile.scala:45) | |
at sbt.Compiler$.apply(Compiler.scala:70) | |
at sbt.Defaults$.sbt$Defaults$$compileTaskImpl(Defaults.scala:722) | |
at sbt.Defaults$$anonfun$compileTask$1.apply(Defaults.scala:716) | |
at sbt.Defaults$$anonfun$compileTask$1.apply(Defaults.scala:716) | |
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47) | |
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:42) | |
at sbt.std.Transform$$anon$4.work(System.scala:64) | |
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237) | |
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237) | |
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18) | |
at sbt.Execute.work(Execute.scala:244) | |
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237) | |
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237) | |
at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160) | |
at sbt.CompletionService$$anon$2.call(CompletionService.scala:30) | |
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) | |
at java.util.concurrent.FutureTask.run(FutureTask.java:166) | |
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) | |
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) | |
at java.util.concurrent.FutureTask.run(FutureTask.java:166) | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) | |
at java.lang.Thread.run(Thread.java:724) | |
[error] unrecoverable error | |
exception when typing spray.httpx.RequestBuilding.addHeader | |
exception when typing spray.httpx.RequestBuilding.addHeader(cookieheader) | |
exception when typing spray.httpx.RequestBuilding.addHeader(cookieheader).apply | |
exception when typing spray.httpx.RequestBuilding.addHeader(cookieheader).apply(req) | |
exception when typing { | |
val cookieheader: spray.http.HttpHeaders.Cookie = new spray.http.HttpHeaders.Cookie(mycookies.toList()); | |
spray.httpx.RequestBuilding.addHeader(cookieheader).apply(req) | |
} | |
exception when typing if (mycookies.isEmpty()) | |
req | |
else | |
{ | |
val cookieheader: spray.http.HttpHeaders.Cookie = new spray.http.HttpHeaders.Cookie(mycookies.toList()); | |
spray.httpx.RequestBuilding.addHeader(cookieheader).apply(req) | |
} | |
exception when typing { | |
val mycookies: Iterable = scala.this.Option.option2Iterable(cookiejar).toIterable().flatMap({ | |
@SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractFunction1 with Serializable { | |
def <init>($outer: anonymous class $anonfun): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final def apply(jar: spray.cookies.CookieJar): Iterable = jar.cookiesfor(req.uri()); | |
<synthetic> <paramaccessor> private[this] val $outer: anonymous class $anonfun = _; | |
<synthetic> <stable> def spray$cookies$CookieJar$$anonfun$$anonfun$$$outer(): anonymous class $anonfun = $anonfun.this.$outer; | |
final <bridge> def apply(v1: Object): Object = $anonfun.this.apply(v1) | |
}; | |
(new anonymous class $anonfun($anonfun.this): Function1) | |
}, collection.this.Iterable.canBuildFrom()); | |
if (mycookies.isEmpty()) | |
req | |
else | |
{ | |
val cookieheader: spray.http.HttpHeaders.Cookie = new spray.http.HttpHeaders.Cookie(mycookies.toList()); | |
spray.httpx.RequestBuilding.addHeader(cookieheader).apply(req) | |
} | |
} | |
exception when typing final def apply(req: spray.http.HttpRequest): spray.http.HttpRequest = { | |
val mycookies: Iterable = scala.this.Option.option2Iterable(cookiejar).toIterable().flatMap({ | |
@SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractFunction1 with Serializable { | |
def <init>($outer: anonymous class $anonfun): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final def apply(jar: spray.cookies.CookieJar): Iterable = jar.cookiesfor(req.uri()); | |
<synthetic> <paramaccessor> private[this] val $outer: anonymous class $anonfun = _; | |
<synthetic> <stable> def spray$cookies$CookieJar$$anonfun$$anonfun$$$outer(): anonymous class $anonfun = $anonfun.this.$outer; | |
final <bridge> def apply(v1: Object): Object = $anonfun.this.apply(v1) | |
}; | |
(new anonymous class $anonfun($anonfun.this): Function1) | |
}, collection.this.Iterable.canBuildFrom()); | |
if (mycookies.isEmpty()) | |
req | |
else | |
{ | |
val cookieheader: spray.http.HttpHeaders.Cookie = new spray.http.HttpHeaders.Cookie(mycookies.toList()); | |
spray.httpx.RequestBuilding.addHeader(cookieheader).apply(req) | |
} | |
} | |
exception when typing @SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractFunction1 with Serializable { | |
def <init>(): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final def apply(req: spray.http.HttpRequest): spray.http.HttpRequest = { | |
val mycookies: Iterable = scala.this.Option.option2Iterable(cookiejar).toIterable().flatMap({ | |
@SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractFunction1 with Serializable { | |
def <init>($outer: anonymous class $anonfun): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final def apply(jar: spray.cookies.CookieJar): Iterable = jar.cookiesfor(req.uri()); | |
<synthetic> <paramaccessor> private[this] val $outer: anonymous class $anonfun = _; | |
<synthetic> <stable> def spray$cookies$CookieJar$$anonfun$$anonfun$$$outer(): anonymous class $anonfun = $anonfun.this.$outer; | |
final <bridge> def apply(v1: Object): Object = $anonfun.this.apply(v1) | |
}; | |
(new anonymous class $anonfun($anonfun.this): Function1) | |
}, collection.this.Iterable.canBuildFrom()); | |
if (mycookies.isEmpty()) | |
req | |
else | |
{ | |
val cookieheader: spray.http.HttpHeaders.Cookie = new spray.http.HttpHeaders.Cookie(mycookies.toList()); | |
spray.httpx.RequestBuilding.addHeader(cookieheader).apply(req) | |
} | |
}; | |
final <bridge> def apply(v1: Object): Object = $anonfun.this.apply(v1) | |
} | |
exception when typing { | |
@SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractFunction1 with Serializable { | |
def <init>(): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final def apply(req: spray.http.HttpRequest): spray.http.HttpRequest = { | |
val mycookies: Iterable = scala.this.Option.option2Iterable(cookiejar).toIterable().flatMap({ | |
@SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractFunction1 with Serializable { | |
def <init>($outer: anonymous class $anonfun): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final def apply(jar: spray.cookies.CookieJar): Iterable = jar.cookiesfor(req.uri()); | |
<synthetic> <paramaccessor> private[this] val $outer: anonymous class $anonfun = _; | |
<synthetic> <stable> def spray$cookies$CookieJar$$anonfun$$anonfun$$$outer(): anonymous class $anonfun = $anonfun.this.$outer; | |
final <bridge> def apply(v1: Object): Object = $anonfun.this.apply(v1) | |
}; | |
(new anonymous class $anonfun($anonfun.this): Function1) | |
}, collection.this.Iterable.canBuildFrom()); | |
if (mycookies.isEmpty()) | |
req | |
else | |
{ | |
val cookieheader: spray.http.HttpHeaders.Cookie = new spray.http.HttpHeaders.Cookie(mycookies.toList()); | |
spray.httpx.RequestBuilding.addHeader(cookieheader).apply(req) | |
} | |
}; | |
final <bridge> def apply(v1: Object): Object = $anonfun.this.apply(v1) | |
}; | |
(new anonymous class $anonfun(): Function1) | |
} | |
exception when typing final def spray$cookies$CookieJar$$addCookies(cookiejar: Option): Function1 = { | |
@SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractFunction1 with Serializable { | |
def <init>(): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final def apply(req: spray.http.HttpRequest): spray.http.HttpRequest = { | |
val mycookies: Iterable = scala.this.Option.option2Iterable(cookiejar).toIterable().flatMap({ | |
@SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractFunction1 with Serializable { | |
def <init>($outer: anonymous class $anonfun): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final def apply(jar: spray.cookies.CookieJar): Iterable = jar.cookiesfor(req.uri()); | |
<synthetic> <paramaccessor> private[this] val $outer: anonymous class $anonfun = _; | |
<synthetic> <stable> def spray$cookies$CookieJar$$anonfun$$anonfun$$$outer(): anonymous class $anonfun = $anonfun.this.$outer; | |
final <bridge> def apply(v1: Object): Object = $anonfun.this.apply(v1) | |
}; | |
(new anonymous class $anonfun($anonfun.this): Function1) | |
}, collection.this.Iterable.canBuildFrom()); | |
if (mycookies.isEmpty()) | |
req | |
else | |
{ | |
val cookieheader: spray.http.HttpHeaders.Cookie = new spray.http.HttpHeaders.Cookie(mycookies.toList()); | |
spray.httpx.RequestBuilding.addHeader(cookieheader).apply(req) | |
} | |
}; | |
final <bridge> def apply(v1: Object): Object = $anonfun.this.apply(v1) | |
}; | |
(new anonymous class $anonfun(): Function1) | |
} | |
exception when typing object CookieJar extends Object { | |
def <init>(): spray.cookies.CookieJar.type = { | |
CookieJar.super.<init>(); | |
() | |
}; | |
def withCookies(context: concurrent.ExecutionContext, cookiesource: Option, cookietarget: Option, innerPipeline: Function1): Function1 = { | |
implicit val con: concurrent.ExecutionContext = context; | |
{ | |
@SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractFunction1 with Serializable { | |
def <init>(): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final def apply(req: spray.http.HttpRequest): concurrent.Future = { | |
val cookiedreq: spray.http.HttpRequest = CookieJar.this.spray$cookies$CookieJar$$addCookies(cookiesource).apply(req); | |
val fresp: concurrent.Future = innerPipeline.apply(req); | |
fresp.map({ | |
@SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractFunction1 with Serializable { | |
def <init>($outer: anonymous class $anonfun): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final def apply(res: spray.http.HttpResponse): Function1 = CookieJar.this.spray$cookies$CookieJar$$storeCookies(cookietarget, req.uri()); | |
<synthetic> <paramaccessor> private[this] val $outer: anonymous class $anonfun = _; | |
<synthetic> <stable> def spray$cookies$CookieJar$$anonfun$$anonfun$$$outer(): anonymous class $anonfun = $anonfun.this.$outer; | |
final <bridge> def apply(v1: Object): Object = $anonfun.this.apply(v1) | |
}; | |
(new anonymous class $anonfun($anonfun.this): Function1) | |
}, con) | |
}; | |
final <bridge> def apply(v1: Object): Object = $anonfun.this.apply(v1) | |
}; | |
(new anonymous class $anonfun(): Function1) | |
} | |
}; | |
final def spray$cookies$CookieJar$$addCookies(cookiejar: Option): Function1 = { | |
@SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractFunction1 with Serializable { | |
def <init>(): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final def apply(req: spray.http.HttpRequest): spray.http.HttpRequest = { | |
val mycookies: Iterable = scala.this.Option.option2Iterable(cookiejar).toIterable().flatMap({ | |
@SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractFunction1 with Serializable { | |
def <init>($outer: anonymous class $anonfun): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final def apply(jar: spray.cookies.CookieJar): Iterable = jar.cookiesfor(req.uri()); | |
<synthetic> <paramaccessor> private[this] val $outer: anonymous class $anonfun = _; | |
<synthetic> <stable> def spray$cookies$CookieJar$$anonfun$$anonfun$$$outer(): anonymous class $anonfun = $anonfun.this.$outer; | |
final <bridge> def apply(v1: Object): Object = $anonfun.this.apply(v1) | |
}; | |
(new anonymous class $anonfun($anonfun.this): Function1) | |
}, collection.this.Iterable.canBuildFrom()); | |
if (mycookies.isEmpty()) | |
req | |
else | |
{ | |
val cookieheader: spray.http.HttpHeaders.Cookie = new spray.http.HttpHeaders.Cookie(mycookies.toList()); | |
spray.httpx.RequestBuilding.addHeader(cookieheader).apply(req) | |
} | |
}; | |
final <bridge> def apply(v1: Object): Object = $anonfun.this.apply(v1) | |
}; | |
(new anonymous class $anonfun(): Function1) | |
}; | |
final def spray$cookies$CookieJar$$storeCookies(cookiejar: Option, uri: spray.http.Uri): Function1 = { | |
@SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractFunction1 with Serializable { | |
def <init>(): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final def apply(res: spray.http.HttpResponse): spray.http.HttpResponse = { | |
val cookieHeaders: List = res.headers().collect(({ | |
@SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractPartialFunction with Serializable { | |
def <init>($outer: anonymous class $anonfun): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final override def applyOrElse(x1: spray.http.HttpHeader, default: Function1): Object = { | |
case <synthetic> val x1: spray.http.HttpHeader = (((x1: spray.http.HttpHeader): spray.http.HttpHeader): spray.http.HttpHeader); | |
case5(){ | |
if (x1.isInstanceOf[spray.http.HttpHeaders.Set-Cookie]()) | |
{ | |
<synthetic> val x2: spray.http.HttpHeaders.Set-Cookie = (x1.asInstanceOf[spray.http.HttpHeaders.Set-Cookie](): spray.http.HttpHeaders.Set-Cookie); | |
matchEnd4(x2) | |
} | |
else | |
case6() | |
}; | |
case6(){ | |
matchEnd4(default.apply(x1)) | |
}; | |
matchEnd4(x){ | |
x | |
} | |
}; | |
final def isDefinedAt(x1: spray.http.HttpHeader): Boolean = { | |
case <synthetic> val x1: spray.http.HttpHeader = (((x1: spray.http.HttpHeader): spray.http.HttpHeader): spray.http.HttpHeader); | |
case5(){ | |
if (x1.isInstanceOf[spray.http.HttpHeaders.Set-Cookie]()) | |
matchEnd4(true) | |
else | |
case6() | |
}; | |
case6(){ | |
matchEnd4(false) | |
}; | |
matchEnd4(x){ | |
x | |
} | |
}; | |
<synthetic> <paramaccessor> private[this] val $outer: anonymous class $anonfun = _; | |
<synthetic> <stable> def spray$cookies$CookieJar$$anonfun$$anonfun$$$outer(): anonymous class $anonfun = $anonfun.this.$outer; | |
final <bridge> def isDefinedAt(x: Object): Boolean = $anonfun.this.isDefinedAt(x); | |
final override <bridge> def applyOrElse(x: Object, default: Function1): Object = $anonfun.this.applyOrElse(x, default) | |
}; | |
new anonymous class $anonfun($anonfun.this) | |
}: PartialFunction), immutable.this.List.canBuildFrom()); | |
cookieHeaders.map({ | |
@SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractFunction1 with Serializable { | |
def <init>($outer: anonymous class $anonfun): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final def apply(ch: spray.http.HttpHeaders.Set-Cookie): spray.http.HttpCookie = ch.cookie(); | |
<synthetic> <paramaccessor> private[this] val $outer: anonymous class $anonfun = _; | |
<synthetic> <stable> def spray$cookies$CookieJar$$anonfun$$anonfun$$$outer(): anonymous class $anonfun = $anonfun.this.$outer; | |
final <bridge> def apply(v1: Object): Object = $anonfun.this.apply(v1) | |
}; | |
(new anonymous class $anonfun($anonfun.this): Function1) | |
}, immutable.this.List.canBuildFrom()).foreach({ | |
@SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractFunction1 with Serializable { | |
def <init>($outer: anonymous class $anonfun): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final def apply(c: spray.http.HttpCookie): Option = cookiejar.map({ | |
@SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractFunction1 with Serializable { | |
def <init>($outer: anonymous class $anonfun): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final def apply(x$2: spray.cookies.CookieJar): Boolean = x$2.setCookie(c, uri); | |
<synthetic> <paramaccessor> private[this] val $outer: anonymous class $anonfun = _; | |
<synthetic> <stable> def spray$cookies$CookieJar$$anonfun$$anonfun$$anonfun$$$outer(): anonymous class $anonfun = $anonfun.this.$outer; | |
final <bridge> def apply(v1: Object): Object = $anonfun.this.apply(v1) | |
}; | |
(new anonymous class $anonfun($anonfun.this): Function1) | |
}); | |
<synthetic> <paramaccessor> private[this] val $outer: anonymous class $anonfun = _; | |
<synthetic> <stable> def spray$cookies$CookieJar$$anonfun$$anonfun$$$outer(): anonymous class $anonfun = $anonfun.this.$outer; | |
final <bridge> def apply(v1: Object): Object = $anonfun.this.apply(v1) | |
}; | |
(new anonymous class $anonfun($anonfun.this): Function1) | |
}); | |
res | |
}; | |
final <bridge> def apply(v1: Object): Object = $anonfun.this.apply(v1) | |
}; | |
(new anonymous class $anonfun(): Function1) | |
} | |
} | |
exception when typing package spray.cookies { | |
class CookieJar extends Object { | |
def <init>(): spray.cookies.CookieJar = { | |
CookieJar.super.<init>(); | |
() | |
}; | |
case class StoredCookie extends Object with Product with Serializable { | |
<caseaccessor> <paramaccessor> private[this] val name: String = _; | |
<stable> <caseaccessor> <accessor> <paramaccessor> def name(): String = StoredCookie.this.name; | |
<caseaccessor> <paramaccessor> private[this] val content: String = _; | |
<stable> <caseaccessor> <accessor> <paramaccessor> def content(): String = StoredCookie.this.content; | |
<caseaccessor> <paramaccessor> private[this] val expires: Option = _; | |
<stable> <caseaccessor> <accessor> <paramaccessor> def expires(): Option = StoredCookie.this.expires; | |
<caseaccessor> <paramaccessor> private[this] val domain: String = _; | |
<stable> <caseaccessor> <accessor> <paramaccessor> def domain(): String = StoredCookie.this.domain; | |
<caseaccessor> <paramaccessor> private[this] val path: String = _; | |
<stable> <caseaccessor> <accessor> <paramaccessor> def path(): String = StoredCookie.this.path; | |
<caseaccessor> <paramaccessor> private[this] val httpOnly: Boolean = _; | |
<stable> <caseaccessor> <accessor> <paramaccessor> def httpOnly(): Boolean = StoredCookie.this.httpOnly; | |
<caseaccessor> <paramaccessor> private[this] val secure: Boolean = _; | |
<stable> <caseaccessor> <accessor> <paramaccessor> def secure(): Boolean = StoredCookie.this.secure; | |
def <init>($outer: spray.cookies.CookieJar, name: String, content: String, expires: Option, domain: String, path: String, httpOnly: Boolean, secure: Boolean): CookieJar.this.StoredCookie = { | |
StoredCookie.super.<init>(); | |
StoredCookie.this./*Product$class*/$init$(); | |
() | |
}; | |
<synthetic> def copy(name: String, content: String, expires: Option, domain: String, path: String, httpOnly: Boolean, secure: Boolean): spray.cookies.CookieJar#StoredCookie = new spray.cookies.CookieJar#StoredCookie(StoredCookie.this.spray$cookies$CookieJar$StoredCookie$$$outer(), name, content, expires, domain, path, httpOnly, secure); | |
<synthetic> def copy$default$1(): String = StoredCookie.this.name(); | |
<synthetic> def copy$default$2(): String = StoredCookie.this.content(); | |
<synthetic> def copy$default$3(): Option = StoredCookie.this.expires(); | |
<synthetic> def copy$default$4(): String = StoredCookie.this.domain(); | |
<synthetic> def copy$default$5(): String = StoredCookie.this.path(); | |
<synthetic> def copy$default$6(): Boolean = StoredCookie.this.httpOnly(); | |
<synthetic> def copy$default$7(): Boolean = StoredCookie.this.secure(); | |
override <synthetic> def productPrefix(): String = "StoredCookie"; | |
<synthetic> def productArity(): Int = 7; | |
<synthetic> def productElement(x$1: Int): Object = { | |
case <synthetic> val x1: Int = x$1; | |
(x1: Int) match { | |
case 0 => StoredCookie.this.name() | |
case 1 => StoredCookie.this.content() | |
case 2 => StoredCookie.this.expires() | |
case 3 => StoredCookie.this.domain() | |
case 4 => StoredCookie.this.path() | |
case 5 => StoredCookie.this.httpOnly() | |
case 6 => StoredCookie.this.secure() | |
case _ => throw new IndexOutOfBoundsException(x$1.toString()) | |
} | |
}; | |
override <synthetic> def productIterator(): Iterator = runtime.this.ScalaRunTime.typedProductIterator(StoredCookie.this); | |
<synthetic> def canEqual(x$1: Object): Boolean = x$1.$isInstanceOf[spray.cookies.CookieJar#StoredCookie](); | |
override <synthetic> def hashCode(): Int = { | |
<synthetic> var acc: Int = -889275714; | |
acc = Statics.this.mix(acc, Statics.this.anyHash(name())); | |
acc = Statics.this.mix(acc, Statics.this.anyHash(content())); | |
acc = Statics.this.mix(acc, Statics.this.anyHash(expires())); | |
acc = Statics.this.mix(acc, Statics.this.anyHash(domain())); | |
acc = Statics.this.mix(acc, Statics.this.anyHash(path())); | |
acc = Statics.this.mix(acc, if (httpOnly()) | |
1231 | |
else | |
1237); | |
acc = Statics.this.mix(acc, if (secure()) | |
1231 | |
else | |
1237); | |
Statics.this.finalizeHash(acc, 7) | |
}; | |
override <synthetic> def toString(): String = ScalaRunTime.this._toString(StoredCookie.this); | |
override <synthetic> def equals(x$1: Object): Boolean = StoredCookie.this.eq(x$1.asInstanceOf[Object]()).||({ | |
case <synthetic> val x1: Object = x$1; | |
case5(){ | |
if (x1.isInstanceOf[spray.cookies.CookieJar#StoredCookie]().&&((x1.asInstanceOf[spray.cookies.CookieJar#StoredCookie](): spray.cookies.CookieJar#StoredCookie).spray$cookies$CookieJar$StoredCookie$$$outer().eq(StoredCookie.this.spray$cookies$CookieJar$StoredCookie$$$outer()))) | |
matchEnd4(true) | |
else | |
case6() | |
}; | |
case6(){ | |
matchEnd4(false) | |
}; | |
matchEnd4(x: Boolean){ | |
x | |
} | |
}.&&({ | |
<synthetic> val StoredCookie$1: spray.cookies.CookieJar#StoredCookie = x$1.asInstanceOf[spray.cookies.CookieJar#StoredCookie](); | |
StoredCookie.this.name().==(StoredCookie$1.name()).&&(StoredCookie.this.content().==(StoredCookie$1.content())).&&(StoredCookie.this.expires().==(StoredCookie$1.expires())).&&(StoredCookie.this.domain().==(StoredCookie$1.domain())).&&(StoredCookie.this.path().==(StoredCookie$1.path())).&&(StoredCookie.this.httpOnly().==(StoredCookie$1.httpOnly())).&&(StoredCookie.this.secure().==(StoredCookie$1.secure())).&&(StoredCookie$1.canEqual(StoredCookie.this)) | |
})); | |
<synthetic> <paramaccessor> protected val $outer: spray.cookies.CookieJar = _; | |
<synthetic> <stable> def spray$cookies$CookieJar$StoredCookie$$$outer(): spray.cookies.CookieJar = StoredCookie.this.$outer | |
}; | |
object StoredCookie extends Object with Serializable { | |
def <init>($outer: spray.cookies.CookieJar): CookieJar.this.StoredCookie.type = { | |
StoredCookie.super.<init>(); | |
() | |
}; | |
implicit def toRegularCookie(src: spray.cookies.CookieJar#StoredCookie): spray.http.HttpCookie = new spray.http.HttpCookie(src.name(), src.content(), (src.expires(): Option), scala.None, new Some(src.domain()), new Some(src.path()), src.secure(), src.httpOnly(), scala.None); | |
implicit def toStoredCookie(src: spray.http.HttpCookie, uri: spray.http.Uri): spray.cookies.CookieJar#StoredCookie = { | |
val domain: String = src.domain().getOrElse({ | |
@SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractFunction0 with Serializable { | |
def <init>($outer: spray.cookies.CookieJar#StoredCookie.type): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final def apply(): String = uri.authority().host().address(); | |
<synthetic> <paramaccessor> private[this] val $outer: spray.cookies.CookieJar#StoredCookie.type = _; | |
<synthetic> <stable> def spray$cookies$CookieJar$StoredCookie$$anonfun$$$outer(): spray.cookies.CookieJar#StoredCookie.type = $anonfun.this.$outer; | |
final <bridge> def apply(): Object = $anonfun.this.apply() | |
}; | |
(new anonymous class $anonfun(StoredCookie.this): Function0) | |
}); | |
val path: String = src.path().getOrElse({ | |
@SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractFunction0 with Serializable { | |
def <init>($outer: spray.cookies.CookieJar#StoredCookie.type): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final def apply(): String = uri.path().toString(); | |
<synthetic> <paramaccessor> private[this] val $outer: spray.cookies.CookieJar#StoredCookie.type = _; | |
<synthetic> <stable> def spray$cookies$CookieJar$StoredCookie$$anonfun$$$outer(): spray.cookies.CookieJar#StoredCookie.type = $anonfun.this.$outer; | |
final <bridge> def apply(): Object = $anonfun.this.apply() | |
}; | |
(new anonymous class $anonfun(StoredCookie.this): Function0) | |
}); | |
val expiration: Option = { | |
case <synthetic> val x1: Option = src.expires(); | |
case6(){ | |
if (x1.isInstanceOf[Some]()) | |
{ | |
<synthetic> val x2: Some = (x1.asInstanceOf[Some](): Some); | |
matchEnd5(x2) | |
} | |
else | |
case7() | |
}; | |
case7(){ | |
if (scala.None.==(x1)) | |
matchEnd5(src.maxAge().map({ | |
@SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractFunction1 with Serializable { | |
def <init>($outer: spray.cookies.CookieJar#StoredCookie.type): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final def apply(age: Long): spray.http.DateTime = spray.http.DateTime.now().+(age); | |
<synthetic> <paramaccessor> private[this] val $outer: spray.cookies.CookieJar#StoredCookie.type = _; | |
<synthetic> <stable> def spray$cookies$CookieJar$StoredCookie$$anonfun$$$outer(): spray.cookies.CookieJar#StoredCookie.type = $anonfun.this.$outer; | |
final <bridge> def apply(v1: Object): Object = $anonfun.this.apply(v1) | |
}; | |
(new anonymous class $anonfun(StoredCookie.this): Function1) | |
})) | |
else | |
case8() | |
}; | |
case8(){ | |
matchEnd5(throw new MatchError(x1)) | |
}; | |
matchEnd5(x: Option){ | |
x | |
} | |
}; | |
new spray.cookies.CookieJar#StoredCookie(StoredCookie.this.$outer, src.name(), src.content(), expiration, domain, path, src.httpOnly(), src.secure()) | |
}; | |
case <synthetic> def apply(name: String, content: String, expires: Option, domain: String, path: String, httpOnly: Boolean, secure: Boolean): spray.cookies.CookieJar#StoredCookie = new spray.cookies.CookieJar#StoredCookie(StoredCookie.this.$outer, name, content, expires, domain, path, httpOnly, secure); | |
case <synthetic> def unapply(x$0: spray.cookies.CookieJar#StoredCookie): Option = if (x$0.==(null)) | |
scala.this.None | |
else | |
new Some(new Tuple7(x$0.name(), x$0.content(), x$0.expires(), x$0.domain(), x$0.path(), x$0.httpOnly(), x$0.secure())); | |
<synthetic> private def readResolve(): Object = StoredCookie.this.$outer.StoredCookie(); | |
<synthetic> <paramaccessor> private[this] val $outer: spray.cookies.CookieJar = _; | |
<synthetic> <stable> def spray$cookies$CookieJar$StoredCookie$$$outer(): spray.cookies.CookieJar = StoredCookie.this.$outer | |
}; | |
@volatile <synthetic> private[this] var StoredCookie$module: spray.cookies.CookieJar#StoredCookie.type = _; | |
<stable> def StoredCookie(): spray.cookies.CookieJar#StoredCookie.type = { | |
CookieJar.this.StoredCookie$module = new spray.cookies.CookieJar#StoredCookie.type(CookieJar.this); | |
CookieJar.this.StoredCookie$module | |
}; | |
private[this] var jar: spray.cookies.CookieJar#CookieJar_ = new spray.cookies.CookieJar#CookieJar_(CookieJar.this, "", scala.this.Predef.Map().empty(), scala.this.Predef.Map().empty()); | |
<accessor> def jar(): spray.cookies.CookieJar#CookieJar_ = CookieJar.this.jar; | |
<accessor> def jar_=(x$1: spray.cookies.CookieJar#CookieJar_): Unit = CookieJar.this.jar = x$1; | |
def cookiesfor(uri: spray.http.Uri): Iterable = CookieJar.this.jar().cookiesfor(uri).map({ | |
@SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractFunction1 with Serializable { | |
def <init>($outer: spray.cookies.CookieJar): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final def apply(c: spray.cookies.CookieJar#StoredCookie): spray.http.HttpCookie = $anonfun.this.$outer.StoredCookie().toRegularCookie(c); | |
<synthetic> <paramaccessor> private[this] val $outer: spray.cookies.CookieJar = _; | |
<synthetic> <stable> def spray$cookies$CookieJar$$anonfun$$$outer(): spray.cookies.CookieJar = $anonfun.this.$outer; | |
final <bridge> def apply(v1: Object): Object = $anonfun.this.apply(v1) | |
}; | |
(new anonymous class $anonfun(CookieJar.this): Function1) | |
}, collection.this.Iterable.canBuildFrom()); | |
def setCookie(cookie: spray.http.HttpCookie, source: spray.http.Uri): Boolean = { | |
val storedcookie: spray.cookies.CookieJar#StoredCookie = CookieJar.this.StoredCookie().toStoredCookie(cookie, source); | |
if (CookieJar.this.isAllowedFor(storedcookie, source)) | |
{ | |
CookieJar.this.jar_=(CookieJar.this.jar().setCookie(storedcookie)); | |
true | |
} | |
else | |
false | |
}; | |
def isAllowedFor(cookie: spray.cookies.CookieJar#StoredCookie, source: spray.http.Uri): Boolean = EffectiveTldList.contains(cookie.domain()).unary_!().&&(CookieJar.this.isDomainPostfix(cookie.domain(), source.authority().host().address())); | |
def isDomainPostfix(needle: String, haystack: String): Boolean = { | |
val needleelements: List = scala.this.Predef.refArrayOps(scala.this.Predef.augmentString(needle).split('.')).toList().reverse(); | |
val haystackelements: List = scala.this.Predef.refArrayOps(scala.this.Predef.augmentString(haystack).split('.')).toList().reverse(); | |
haystackelements.startsWith(needleelements) | |
}; | |
case class CookieJar_ extends Object with Product with Serializable { | |
<caseaccessor> <paramaccessor> private[this] val domainElement: String = _; | |
<stable> <caseaccessor> <accessor> <paramaccessor> def domainElement(): String = CookieJar_.this.domainElement; | |
<caseaccessor> <paramaccessor> private[this] val subdomains: collection.immutable.Map = _; | |
<stable> <caseaccessor> <accessor> <paramaccessor> def subdomains(): collection.immutable.Map = CookieJar_.this.subdomains; | |
<caseaccessor> <paramaccessor> private[this] val cookies: collection.immutable.Map = _; | |
<stable> <caseaccessor> <accessor> <paramaccessor> def cookies(): collection.immutable.Map = CookieJar_.this.cookies; | |
def <init>($outer: spray.cookies.CookieJar, domainElement: String, subdomains: collection.immutable.Map, cookies: collection.immutable.Map): CookieJar.this.CookieJar_ = { | |
CookieJar_.super.<init>(); | |
CookieJar_.this./*Product$class*/$init$(); | |
() | |
}; | |
def cookiesfor(uri: spray.http.Uri): Iterable = { | |
val domain: String = uri.authority().host().address(); | |
val domainelements: List = scala.this.Predef.refArrayOps(scala.this.Predef.augmentString(domain).split('.')).toList().reverse(); | |
CookieJar_.this._getCookies(domainelements, uri, scala.this.Predef.Map().empty()).values() | |
}; | |
@scala.annotation.tailrec private def _getCookies(domain: List, uri: spray.http.Uri, accum: collection.immutable.Map): collection.immutable.Map = { | |
<synthetic> val _$this: spray.cookies.CookieJar#CookieJar_ = CookieJar_.this; | |
__getCookies(_$this: spray.cookies.CookieJar#CookieJar_, domain: List, uri: spray.http.Uri, accum: collection.immutable.Map){ | |
({ | |
val now: spray.http.DateTime = spray.http.DateTime.now(); | |
val newcookies: collection.immutable.Map = CookieJar_.this.removeStale(CookieJar_.this.cookies(), now).filter({ | |
@SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractFunction1 with Serializable { | |
def <init>($outer: spray.cookies.CookieJar#CookieJar_): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final def apply(c: Tuple2): Boolean = uri.scheme().==("https").||(c._2().secure().unary_!()); | |
<synthetic> <paramaccessor> private[this] val $outer: spray.cookies.CookieJar#CookieJar_ = _; | |
<synthetic> <stable> def spray$cookies$CookieJar$CookieJar_$$anonfun$$$outer(): spray.cookies.CookieJar#CookieJar_ = $anonfun.this.$outer; | |
final <bridge> def apply(v1: Object): Object = $anonfun.this.apply(v1) | |
}; | |
(new anonymous class $anonfun(CookieJar_.this): Function1) | |
}).filter({ | |
@SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractFunction1 with Serializable { | |
def <init>($outer: spray.cookies.CookieJar#CookieJar_): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final def apply(c: Tuple2): Boolean = uri.path().startsWith(spray.http.Uri.Path.apply(c._2().path(), spray.http.Uri.Path.apply$default$2())); | |
<synthetic> <paramaccessor> private[this] val $outer: spray.cookies.CookieJar#CookieJar_ = _; | |
<synthetic> <stable> def spray$cookies$CookieJar$CookieJar_$$anonfun$$$outer(): spray.cookies.CookieJar#CookieJar_ = $anonfun.this.$outer; | |
final <bridge> def apply(v1: Object): Object = $anonfun.this.apply(v1) | |
}; | |
(new anonymous class $anonfun(CookieJar_.this): Function1) | |
}); | |
val totalCookies: collection.immutable.Map = accum.++(newcookies); | |
{ | |
case <synthetic> val x1: List = domain; | |
case6(){ | |
if (immutable.this.Nil.==(x1)) | |
matchEnd5(totalCookies) | |
else | |
case7() | |
}; | |
case7(){ | |
if (x1.isInstanceOf[collection.immutable.::]()) | |
{ | |
<synthetic> val x2: collection.immutable.:: = (x1.asInstanceOf[collection.immutable.::](): collection.immutable.::); | |
{ | |
val head: String = x2.hd$1(); | |
val tail: List = x2.tl$1(); | |
matchEnd5({ | |
case <synthetic> val x1: Option = CookieJar_.this.subdomains().get(head); | |
case6(){ | |
if (scala.None.==(x1)) | |
matchEnd5(totalCookies) | |
else | |
case7() | |
}; | |
case7(){ | |
if (x1.isInstanceOf[Some]()) | |
{ | |
<synthetic> val x2: Some = (x1.asInstanceOf[Some](): Some); | |
{ | |
val jar: spray.cookies.CookieJar#CookieJar_ = x2.x(); | |
matchEnd5(__getCookies(jar, (tail: List), (uri: spray.http.Uri), (totalCookies: collection.immutable.Map))) | |
} | |
} | |
else | |
case8() | |
}; | |
case8(){ | |
matchEnd5(throw new MatchError(x1)) | |
}; | |
matchEnd5(x: collection.immutable.Map){ | |
x | |
} | |
}) | |
} | |
} | |
else | |
case8() | |
}; | |
case8(){ | |
matchEnd5(throw new MatchError(x1)) | |
}; | |
matchEnd5(x: collection.immutable.Map){ | |
x | |
} | |
} | |
}: collection.immutable.Map) | |
} | |
}; | |
def setCookie(cookie: spray.cookies.CookieJar#StoredCookie): spray.cookies.CookieJar#CookieJar_ = { | |
val trimmed: String = if (cookie.domain().indexOf(46).==(0)) | |
cookie.domain().substring(1) | |
else | |
cookie.domain(); | |
val domainelements: List = scala.this.Predef.refArrayOps(scala.this.Predef.augmentString(trimmed).split('.')).toList().reverse(); | |
CookieJar_.this._setCookie(domainelements, cookie) | |
}; | |
private def _setCookie(domain: List, cookie: spray.cookies.CookieJar#StoredCookie): spray.cookies.CookieJar#CookieJar_ = { | |
val now: spray.http.DateTime = spray.http.DateTime.now(); | |
{ | |
case <synthetic> val x1: List = domain; | |
case6(){ | |
if (immutable.this.Nil.==(x1)) | |
matchEnd5({ | |
val newcookies: collection.immutable.Map = CookieJar_.this.removeStale(CookieJar_.this.cookies(), now).+(ArrowAssoc.this.->$extension(scala.this.Predef.any2ArrowAssoc(cookie.name()), cookie)); | |
{ | |
val x$3: collection.immutable.Map = newcookies; | |
val x$4: String = this.copy$default$1(); | |
val x$5: collection.immutable.Map = this.copy$default$2(); | |
this.copy(x$4, x$5, x$3) | |
} | |
}) | |
else | |
case7() | |
}; | |
case7(){ | |
if (x1.isInstanceOf[collection.immutable.::]()) | |
{ | |
<synthetic> val x2: collection.immutable.:: = (x1.asInstanceOf[collection.immutable.::](): collection.immutable.::); | |
{ | |
val head: String = x2.hd$1(); | |
val tail: List = x2.tl$1(); | |
matchEnd5({ | |
lazy var newsubjar$lzy: spray.cookies.CookieJar#CookieJar_ = _; | |
<stable> <accessor> lazy def newsubjar(): spray.cookies.CookieJar#CookieJar_ = { | |
newsubjar$lzy = new spray.cookies.CookieJar#CookieJar_(CookieJar_.this.spray$cookies$CookieJar$CookieJar_$$$outer(), head, scala.this.Predef.Map().empty(), scala.this.Predef.Map().empty()); | |
newsubjar$lzy | |
}; | |
val subjar: spray.cookies.CookieJar#CookieJar_ = CookieJar_.this.subdomains().getOrElse(head, { | |
@SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractFunction0 with Serializable { | |
def <init>($outer: spray.cookies.CookieJar#CookieJar_): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final def apply(): spray.cookies.CookieJar#CookieJar_ = newsubjar(); | |
<synthetic> <paramaccessor> private[this] val $outer: spray.cookies.CookieJar#CookieJar_ = _; | |
<synthetic> <stable> def spray$cookies$CookieJar$CookieJar_$$anonfun$$$outer(): spray.cookies.CookieJar#CookieJar_ = $anonfun.this.$outer; | |
final <bridge> def apply(): Object = $anonfun.this.apply() | |
}; | |
(new anonymous class $anonfun(CookieJar_.this): Function0) | |
}); | |
{ | |
val x$6: collection.immutable.Map = CookieJar_.this.subdomains().+(ArrowAssoc.this.->$extension(scala.this.Predef.any2ArrowAssoc(head), subjar._setCookie(tail, cookie))); | |
val x$7: String = this.copy$default$1(); | |
val x$8: collection.immutable.Map = this.copy$default$3(); | |
this.copy(x$7, x$6, x$8) | |
} | |
}) | |
} | |
} | |
else | |
case8() | |
}; | |
case8(){ | |
matchEnd5(throw new MatchError(x1)) | |
}; | |
matchEnd5(x: spray.cookies.CookieJar#CookieJar_){ | |
x | |
} | |
} | |
}; | |
def removeStale(cookies: collection.immutable.Map, cutoff: spray.http.DateTime): collection.immutable.Map = cookies.filter({ | |
@SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractFunction1 with Serializable { | |
def <init>($outer: spray.cookies.CookieJar#CookieJar_): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final def apply(c: Tuple2): Boolean = c._2().expires().map({ | |
@SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractFunction1 with Serializable { | |
def <init>($outer: anonymous class $anonfun): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final def apply(x$1: spray.http.DateTime): Boolean = x$1.>(cutoff); | |
<synthetic> <paramaccessor> private[this] val $outer: anonymous class $anonfun = _; | |
<synthetic> <stable> def spray$cookies$CookieJar$CookieJar_$$anonfun$$anonfun$$$outer(): anonymous class $anonfun = $anonfun.this.$outer; | |
final <bridge> def apply(v1: Object): Object = $anonfun.this.apply(v1) | |
}; | |
(new anonymous class $anonfun($anonfun.this): Function1) | |
}).getOrElse({ | |
@SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractFunction0$mcZ$sp with Serializable { | |
def <init>($outer: anonymous class $anonfun): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final def apply(): Boolean = $anonfun.this.apply$mcZ$sp(); | |
<specialized> def apply$mcZ$sp(): Boolean = true; | |
<synthetic> <paramaccessor> private[this] val $outer: anonymous class $anonfun = _; | |
<synthetic> <stable> def spray$cookies$CookieJar$CookieJar_$$anonfun$$anonfun$$$outer(): anonymous class $anonfun = $anonfun.this.$outer; | |
final <bridge> def apply(): Object = $anonfun.this.apply() | |
}; | |
(new anonymous class $anonfun($anonfun.this): Function0) | |
}); | |
<synthetic> <paramaccessor> private[this] val $outer: spray.cookies.CookieJar#CookieJar_ = _; | |
<synthetic> <stable> def spray$cookies$CookieJar$CookieJar_$$anonfun$$$outer(): spray.cookies.CookieJar#CookieJar_ = $anonfun.this.$outer; | |
final <bridge> def apply(v1: Object): Object = $anonfun.this.apply(v1) | |
}; | |
(new anonymous class $anonfun(CookieJar_.this): Function1) | |
}); | |
<synthetic> def copy(domainElement: String, subdomains: collection.immutable.Map, cookies: collection.immutable.Map): spray.cookies.CookieJar#CookieJar_ = new spray.cookies.CookieJar#CookieJar_(CookieJar_.this.spray$cookies$CookieJar$CookieJar_$$$outer(), domainElement, subdomains, cookies); | |
<synthetic> def copy$default$1(): String = CookieJar_.this.domainElement(); | |
<synthetic> def copy$default$2(): collection.immutable.Map = CookieJar_.this.subdomains(); | |
<synthetic> def copy$default$3(): collection.immutable.Map = CookieJar_.this.cookies(); | |
override <synthetic> def productPrefix(): String = "CookieJar_"; | |
<synthetic> def productArity(): Int = 3; | |
<synthetic> def productElement(x$1: Int): Object = { | |
case <synthetic> val x1: Int = x$1; | |
(x1: Int) match { | |
case 0 => CookieJar_.this.domainElement() | |
case 1 => CookieJar_.this.subdomains() | |
case 2 => CookieJar_.this.cookies() | |
case _ => throw new IndexOutOfBoundsException(x$1.toString()) | |
} | |
}; | |
override <synthetic> def productIterator(): Iterator = runtime.this.ScalaRunTime.typedProductIterator(CookieJar_.this); | |
<synthetic> def canEqual(x$1: Object): Boolean = x$1.$isInstanceOf[spray.cookies.CookieJar#CookieJar_](); | |
override <synthetic> def hashCode(): Int = ScalaRunTime.this._hashCode(CookieJar_.this); | |
override <synthetic> def toString(): String = ScalaRunTime.this._toString(CookieJar_.this); | |
override <synthetic> def equals(x$1: Object): Boolean = CookieJar_.this.eq(x$1.asInstanceOf[Object]()).||({ | |
case <synthetic> val x1: Object = x$1; | |
case5(){ | |
if (x1.isInstanceOf[spray.cookies.CookieJar#CookieJar_]().&&((x1.asInstanceOf[spray.cookies.CookieJar#CookieJar_](): spray.cookies.CookieJar#CookieJar_).spray$cookies$CookieJar$CookieJar_$$$outer().eq(CookieJar_.this.spray$cookies$CookieJar$CookieJar_$$$outer()))) | |
matchEnd4(true) | |
else | |
case6() | |
}; | |
case6(){ | |
matchEnd4(false) | |
}; | |
matchEnd4(x: Boolean){ | |
x | |
} | |
}.&&({ | |
<synthetic> val CookieJar_$1: spray.cookies.CookieJar#CookieJar_ = x$1.asInstanceOf[spray.cookies.CookieJar#CookieJar_](); | |
CookieJar_.this.domainElement().==(CookieJar_$1.domainElement()).&&(CookieJar_.this.subdomains().==(CookieJar_$1.subdomains())).&&(CookieJar_.this.cookies().==(CookieJar_$1.cookies())).&&(CookieJar_$1.canEqual(CookieJar_.this)) | |
})); | |
<synthetic> <paramaccessor> protected val $outer: spray.cookies.CookieJar = _; | |
<synthetic> <stable> def spray$cookies$CookieJar$CookieJar_$$$outer(): spray.cookies.CookieJar = CookieJar_.this.$outer | |
}; | |
<synthetic> object CookieJar_ extends runtime.AbstractFunction3 with Serializable { | |
def <init>($outer: spray.cookies.CookieJar): CookieJar.this.CookieJar_.type = { | |
CookieJar_.super.<init>(); | |
() | |
}; | |
final override <synthetic> def toString(): String = "CookieJar_"; | |
case <synthetic> def apply(domainElement: String, subdomains: collection.immutable.Map, cookies: collection.immutable.Map): spray.cookies.CookieJar#CookieJar_ = new spray.cookies.CookieJar#CookieJar_(CookieJar_.this.$outer, domainElement, subdomains, cookies); | |
case <synthetic> def unapply(x$0: spray.cookies.CookieJar#CookieJar_): Option = if (x$0.==(null)) | |
scala.this.None | |
else | |
new Some(new Tuple3(x$0.domainElement(), x$0.subdomains(), x$0.cookies())); | |
<synthetic> private def readResolve(): Object = CookieJar_.this.$outer.CookieJar_(); | |
<synthetic> <paramaccessor> private[this] val $outer: spray.cookies.CookieJar = _; | |
<synthetic> <stable> def spray$cookies$CookieJar$CookieJar_$$$outer(): spray.cookies.CookieJar = CookieJar_.this.$outer; | |
case <synthetic> <bridge> def apply(v1: Object, v2: Object, v3: Object): Object = CookieJar_.this.apply(v1, v2, v3) | |
}; | |
@volatile <synthetic> private[this] var CookieJar_$module: spray.cookies.CookieJar#CookieJar_.type = _; | |
<synthetic> <stable> def CookieJar_(): spray.cookies.CookieJar#CookieJar_.type = { | |
CookieJar.this.CookieJar_$module = new spray.cookies.CookieJar#CookieJar_.type(CookieJar.this); | |
CookieJar.this.CookieJar_$module | |
} | |
}; | |
object CookieJar extends Object { | |
def <init>(): spray.cookies.CookieJar.type = { | |
CookieJar.super.<init>(); | |
() | |
}; | |
def withCookies(context: concurrent.ExecutionContext, cookiesource: Option, cookietarget: Option, innerPipeline: Function1): Function1 = { | |
implicit val con: concurrent.ExecutionContext = context; | |
{ | |
@SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractFunction1 with Serializable { | |
def <init>(): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final def apply(req: spray.http.HttpRequest): concurrent.Future = { | |
val cookiedreq: spray.http.HttpRequest = CookieJar.this.spray$cookies$CookieJar$$addCookies(cookiesource).apply(req); | |
val fresp: concurrent.Future = innerPipeline.apply(req); | |
fresp.map({ | |
@SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractFunction1 with Serializable { | |
def <init>($outer: anonymous class $anonfun): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final def apply(res: spray.http.HttpResponse): Function1 = CookieJar.this.spray$cookies$CookieJar$$storeCookies(cookietarget, req.uri()); | |
<synthetic> <paramaccessor> private[this] val $outer: anonymous class $anonfun = _; | |
<synthetic> <stable> def spray$cookies$CookieJar$$anonfun$$anonfun$$$outer(): anonymous class $anonfun = $anonfun.this.$outer; | |
final <bridge> def apply(v1: Object): Object = $anonfun.this.apply(v1) | |
}; | |
(new anonymous class $anonfun($anonfun.this): Function1) | |
}, con) | |
}; | |
final <bridge> def apply(v1: Object): Object = $anonfun.this.apply(v1) | |
}; | |
(new anonymous class $anonfun(): Function1) | |
} | |
}; | |
final def spray$cookies$CookieJar$$addCookies(cookiejar: Option): Function1 = { | |
@SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractFunction1 with Serializable { | |
def <init>(): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final def apply(req: spray.http.HttpRequest): spray.http.HttpRequest = { | |
val mycookies: Iterable = scala.this.Option.option2Iterable(cookiejar).toIterable().flatMap({ | |
@SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractFunction1 with Serializable { | |
def <init>($outer: anonymous class $anonfun): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final def apply(jar: spray.cookies.CookieJar): Iterable = jar.cookiesfor(req.uri()); | |
<synthetic> <paramaccessor> private[this] val $outer: anonymous class $anonfun = _; | |
<synthetic> <stable> def spray$cookies$CookieJar$$anonfun$$anonfun$$$outer(): anonymous class $anonfun = $anonfun.this.$outer; | |
final <bridge> def apply(v1: Object): Object = $anonfun.this.apply(v1) | |
}; | |
(new anonymous class $anonfun($anonfun.this): Function1) | |
}, collection.this.Iterable.canBuildFrom()); | |
if (mycookies.isEmpty()) | |
req | |
else | |
{ | |
val cookieheader: spray.http.HttpHeaders.Cookie = new spray.http.HttpHeaders.Cookie(mycookies.toList()); | |
spray.httpx.RequestBuilding.addHeader(cookieheader).apply(req) | |
} | |
}; | |
final <bridge> def apply(v1: Object): Object = $anonfun.this.apply(v1) | |
}; | |
(new anonymous class $anonfun(): Function1) | |
}; | |
final def spray$cookies$CookieJar$$storeCookies(cookiejar: Option, uri: spray.http.Uri): Function1 = { | |
@SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractFunction1 with Serializable { | |
def <init>(): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final def apply(res: spray.http.HttpResponse): spray.http.HttpResponse = { | |
val cookieHeaders: List = res.headers().collect(({ | |
@SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractPartialFunction with Serializable { | |
def <init>($outer: anonymous class $anonfun): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final override def applyOrElse(x1: spray.http.HttpHeader, default: Function1): Object = { | |
case <synthetic> val x1: spray.http.HttpHeader = (((x1: spray.http.HttpHeader): spray.http.HttpHeader): spray.http.HttpHeader); | |
case5(){ | |
if (x1.isInstanceOf[spray.http.HttpHeaders.Set-Cookie]()) | |
{ | |
<synthetic> val x2: spray.http.HttpHeaders.Set-Cookie = (x1.asInstanceOf[spray.http.HttpHeaders.Set-Cookie](): spray.http.HttpHeaders.Set-Cookie); | |
matchEnd4(x2) | |
} | |
else | |
case6() | |
}; | |
case6(){ | |
matchEnd4(default.apply(x1)) | |
}; | |
matchEnd4(x){ | |
x | |
} | |
}; | |
final def isDefinedAt(x1: spray.http.HttpHeader): Boolean = { | |
case <synthetic> val x1: spray.http.HttpHeader = (((x1: spray.http.HttpHeader): spray.http.HttpHeader): spray.http.HttpHeader); | |
case5(){ | |
if (x1.isInstanceOf[spray.http.HttpHeaders.Set-Cookie]()) | |
matchEnd4(true) | |
else | |
case6() | |
}; | |
case6(){ | |
matchEnd4(false) | |
}; | |
matchEnd4(x){ | |
x | |
} | |
}; | |
<synthetic> <paramaccessor> private[this] val $outer: anonymous class $anonfun = _; | |
<synthetic> <stable> def spray$cookies$CookieJar$$anonfun$$anonfun$$$outer(): anonymous class $anonfun = $anonfun.this.$outer; | |
final <bridge> def isDefinedAt(x: Object): Boolean = $anonfun.this.isDefinedAt(x); | |
final override <bridge> def applyOrElse(x: Object, default: Function1): Object = $anonfun.this.applyOrElse(x, default) | |
}; | |
new anonymous class $anonfun($anonfun.this) | |
}: PartialFunction), immutable.this.List.canBuildFrom()); | |
cookieHeaders.map({ | |
@SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractFunction1 with Serializable { | |
def <init>($outer: anonymous class $anonfun): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final def apply(ch: spray.http.HttpHeaders.Set-Cookie): spray.http.HttpCookie = ch.cookie(); | |
<synthetic> <paramaccessor> private[this] val $outer: anonymous class $anonfun = _; | |
<synthetic> <stable> def spray$cookies$CookieJar$$anonfun$$anonfun$$$outer(): anonymous class $anonfun = $anonfun.this.$outer; | |
final <bridge> def apply(v1: Object): Object = $anonfun.this.apply(v1) | |
}; | |
(new anonymous class $anonfun($anonfun.this): Function1) | |
}, immutable.this.List.canBuildFrom()).foreach({ | |
@SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractFunction1 with Serializable { | |
def <init>($outer: anonymous class $anonfun): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final def apply(c: spray.http.HttpCookie): Option = cookiejar.map({ | |
@SerialVersionUID(0) final <synthetic> class $anonfun extends runtime.AbstractFunction1 with Serializable { | |
def <init>($outer: anonymous class $anonfun): anonymous class $anonfun = { | |
$anonfun.super.<init>(); | |
() | |
}; | |
final def apply(x$2: spray.cookies.CookieJar): Boolean = x$2.setCookie(c, uri); | |
<synthetic> <paramaccessor> private[this] val $outer: anonymous class $anonfun = _; | |
<synthetic> <stable> def spray$cookies$CookieJar$$anonfun$$anonfun$$anonfun$$$outer(): anonymous class $anonfun = $anonfun.this.$outer; | |
final <bridge> def apply(v1: Object): Object = $anonfun.this.apply(v1) | |
}; | |
(new anonymous class $anonfun($anonfun.this): Function1) | |
}); | |
<synthetic> <paramaccessor> private[this] val $outer: anonymous class $anonfun = _; | |
<synthetic> <stable> def spray$cookies$CookieJar$$anonfun$$anonfun$$$outer(): anonymous class $anonfun = $anonfun.this.$outer; | |
final <bridge> def apply(v1: Object): Object = $anonfun.this.apply(v1) | |
}; | |
(new anonymous class $anonfun($anonfun.this): Function1) | |
}); | |
res | |
}; | |
final <bridge> def apply(v1: Object): Object = $anonfun.this.apply(v1) | |
}; | |
(new anonymous class $anonfun(): Function1) | |
} | |
} | |
} | |
unhandled exception while transforming Cookiejar.scala | |
[error] uncaught exception during compilation: scala.reflect.internal.FatalError | |
scala.reflect.internal.FatalError: | |
while compiling: C:\Users\Martijn.Hoekstra\Scala\spray-cookies-test\src\main\scala\Cookiejar.scala | |
during phase: global=erasure, atPhase=posterasure | |
library version: version 2.10.3 | |
compiler version: version 2.10.3 | |
reconstructed args: -Ywarn-value-discard -Ywarn-nullary-unit -feature -Xlint -Ywarn-inaccessible -Ywarn-numeric-widen -unchecked -Yno-adapted-args -deprecation -Xfatal-warnings -language:existentials -language:higherKinds -language:implicitConversions -Ywarn-nullary-override -Ywarn-dead-code -Ywarn-adapted-args -bootclasspath c:\Program Files\Java\jdk1.7.0_25\jre\lib\resources.jar;c:\Program Files\Java\jdk1.7.0_25\jre\lib\rt.jar;c:\Program Files\Java\jdk1.7.0_25\jre\lib\sunrsasign.jar;c:\Program Files\Java\jdk1.7.0_25\jre\lib\jsse.jar;c:\Program Files\Java\jdk1.7.0_25\jre\lib\jce.jar;c:\Program Files\Java\jdk1.7.0_25\jre\lib\charsets.jar;c:\Program Files\Java\jdk1.7.0_25\jre\lib\jfr.jar;c:\Program Files\Java\jdk1.7.0_25\jre\classes;C:\Users\Martijn.Hoekstra\.ivy2\cache\org.scala-lang\scala-library\jars\scala-library-2.10.3.jar -classpath C:\Users\Martijn.Hoekstra\Scala\spray-cookies-test\target\scala-2.10\classes;C:\Users\Martijn.Hoekstra\.ivy2\cache\io.spray\spray-client\bundles\spray-client-1.3.1.jar;C:\Users\Martijn.Hoekstra\.ivy2\cache\io.spray\spray-can\bundles\spray-can-1.3.1.jar;C:\Users\Martijn.Hoekstra\.ivy2\cache\io.spray\spray-io\bundles\spray-io-1.3.1.jar;C:\Users\Martijn.Hoekstra\.ivy2\cache\io.spray\spray-util\bundles\spray-util-1.3.1.jar;C:\Users\Martijn.Hoekstra\.ivy2\cache\io.spray\spray-http\bundles\spray-http-1.3.1.jar;C:\Users\Martijn.Hoekstra\.ivy2\cache\org.parboiled\parboiled-scala_2.10\bundles\parboiled-scala_2.10-1.1.6.jar;C:\Users\Martijn.Hoekstra\.ivy2\cache\org.parboiled\parboiled-core\bundles\parboiled-core-1.1.6.jar;C:\Users\Martijn.Hoekstra\.ivy2\cache\io.spray\spray-httpx\bundles\spray-httpx-1.3.1.jar;C:\Users\Martijn.Hoekstra\.ivy2\cache\org.jvnet.mimepull\mimepull\jars\mimepull-1.9.4.jar | |
last tree to typer: TypeTree(trait Iterable) | |
symbol: trait Iterable in package collection (flags: <interface> abstract <trait> <lateinterface>) | |
symbol definition: abstract trait Iterable extends Traversable with collection.GenIterable with collection.generic.GenericTraversableTemplate with collection.IterableLike | |
tpe: Iterable | |
symbol owners: trait Iterable -> package collection | |
context owners: method apply -> anonymous class $anonfun -> method addCookies -> object CookieJar -> package cookies | |
== Enclosing template or block == | |
Apply( // def addHeader(header: spray.http.HttpHeader): Function1 in trait RequestBuilding | |
"spray"."httpx"."RequestBuilding"."addHeader" // def addHeader(header: spray.http.HttpHeader): Function1 in trait RequestBuilding | |
"cookieheader" // val cookieheader: spray.http.HttpHeaders.Cookie | |
) | |
== Expanded type of tree == | |
TypeRef( | |
TypeSymbol( | |
abstract trait Iterable extends Traversable with collection.GenIterable with collection.generic.GenericTraversableTemplate with collection.IterableLike | |
) | |
) | |
unrecoverable error | |
at scala.reflect.internal.SymbolTable.abort(SymbolTable.scala:49) | |
at scala.tools.nsc.Global.abort(Global.scala:254) | |
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:842) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:5693) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:5701) | |
at scala.tools.nsc.transform.Erasure$Eraser.adaptMember(Erasure.scala:781) | |
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:835) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$92.apply(Typers.scala:4574) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$92.apply(Typers.scala:4574) | |
at scala.tools.nsc.typechecker.Typers$Typer.silent(Typers.scala:727) | |
at scala.tools.nsc.typechecker.Typers$Typer.normalTypedApply$1(Typers.scala:4574) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:4625) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5530) | |
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:835) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:5693) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:5701) | |
at scala.tools.nsc.transform.Erasure$Eraser.adaptMember(Erasure.scala:781) | |
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:835) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$92.apply(Typers.scala:4574) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$92.apply(Typers.scala:4574) | |
at scala.tools.nsc.typechecker.Typers$Typer.silent(Typers.scala:727) | |
at scala.tools.nsc.typechecker.Typers$Typer.normalTypedApply$1(Typers.scala:4574) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:4625) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5530) | |
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:835) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:2432) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5536) | |
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:835) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5687) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedIf$1(Typers.scala:4282) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5537) | |
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:835) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:2432) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5536) | |
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:835) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608) | |
at scala.tools.nsc.typechecker.Typers$Typer.transformedOrTyped(Typers.scala:5811) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedDefDef(Typers.scala:2256) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5535) | |
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:835) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608) | |
at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2927) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3031) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3031) | |
at scala.collection.immutable.List.loop$1(List.scala:170) | |
at scala.collection.immutable.List.mapConserve(List.scala:186) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3031) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:1918) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedClassDef(Typers.scala:1758) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5549) | |
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:835) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608) | |
at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2927) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3031) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3031) | |
at scala.collection.immutable.List.loop$1(List.scala:170) | |
at scala.collection.immutable.List.mapConserve(List.scala:186) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3031) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:2431) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5536) | |
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:835) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608) | |
at scala.tools.nsc.typechecker.Typers$Typer.transformedOrTyped(Typers.scala:5811) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedDefDef(Typers.scala:2256) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5535) | |
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:835) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608) | |
at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2927) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3031) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3031) | |
at scala.collection.immutable.List.loop$1(List.scala:170) | |
at scala.collection.immutable.List.mapConserve(List.scala:186) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3031) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:1918) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedClassDef(Typers.scala:1758) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5549) | |
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:835) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608) | |
at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2927) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3031) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3031) | |
at scala.collection.immutable.List.loop$1(List.scala:170) | |
at scala.collection.immutable.List.mapConserve(List.scala:186) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3031) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedPackageDef$1(Typers.scala:5267) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5553) | |
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:835) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5608) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5670) | |
at scala.tools.nsc.transform.Erasure$ErasureTransformer$$anonfun$transform$2.apply(Erasure.scala:1291) | |
at scala.tools.nsc.transform.Erasure$ErasureTransformer$$anonfun$transform$2.apply(Erasure.scala:1287) | |
at scala.reflect.internal.SymbolTable.atPhase(SymbolTable.scala:207) | |
at scala.reflect.internal.SymbolTable.afterPhase(SymbolTable.scala:216) | |
at scala.tools.nsc.transform.Erasure$ErasureTransformer.transform(Erasure.scala:1287) | |
at scala.tools.nsc.transform.Erasure$ErasureTransformer.transform(Erasure.scala:888) | |
at scala.tools.nsc.ast.Trees$Transformer.transformUnit(Trees.scala:227) | |
at scala.tools.nsc.transform.Transform$Phase.apply(Transform.scala:30) | |
at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:464) | |
at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:431) | |
at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:431) | |
at scala.collection.Iterator$class.foreach(Iterator.scala:727) | |
at scala.collection.AbstractIterator.foreach(Iterator.scala:1157) | |
at scala.tools.nsc.Global$GlobalPhase.run(Global.scala:431) | |
at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1583) | |
at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1557) | |
at scala.tools.nsc.Global$Run.compileSources(Global.scala:1553) | |
at scala.tools.nsc.Global$Run.compile(Global.scala:1662) | |
at xsbt.CachedCompiler0.run(CompilerInterface.scala:123) | |
at xsbt.CachedCompiler0.run(CompilerInterface.scala:99) | |
at xsbt.CompilerInterface.run(CompilerInterface.scala:27) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:606) | |
at sbt.compiler.AnalyzingCompiler.call(AnalyzingCompiler.scala:102) | |
at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:48) | |
at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:41) | |
at sbt.compiler.AggressiveCompile$$anonfun$3$$anonfun$compileScala$1$1.apply$mcV$sp(AggressiveCompile.scala:98) | |
at sbt.compiler.AggressiveCompile$$anonfun$3$$anonfun$compileScala$1$1.apply(AggressiveCompile.scala:98) | |
at sbt.compiler.AggressiveCompile$$anonfun$3$$anonfun$compileScala$1$1.apply(AggressiveCompile.scala:98) | |
at sbt.compiler.AggressiveCompile.sbt$compiler$AggressiveCompile$$timed(AggressiveCompile.scala:159) | |
at sbt.compiler.AggressiveCompile$$anonfun$3.compileScala$1(AggressiveCompile.scala:97) | |
at sbt.compiler.AggressiveCompile$$anonfun$3.apply(AggressiveCompile.scala:142) | |
at sbt.compiler.AggressiveCompile$$anonfun$3.apply(AggressiveCompile.scala:86) | |
at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:38) | |
at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:36) | |
at sbt.inc.Incremental$.cycle(Incremental.scala:73) | |
at sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:33) | |
at sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:32) | |
at sbt.inc.Incremental$.manageClassfiles(Incremental.scala:41) | |
at sbt.inc.Incremental$.compile(Incremental.scala:32) | |
at sbt.inc.IncrementalCompile$.apply(Compile.scala:26) | |
at sbt.compiler.AggressiveCompile.compile2(AggressiveCompile.scala:150) | |
at sbt.compiler.AggressiveCompile.compile1(AggressiveCompile.scala:70) | |
at sbt.compiler.AggressiveCompile.apply(AggressiveCompile.scala:45) | |
at sbt.Compiler$.apply(Compiler.scala:70) | |
at sbt.Defaults$.sbt$Defaults$$compileTaskImpl(Defaults.scala:722) | |
at sbt.Defaults$$anonfun$compileTask$1.apply(Defaults.scala:716) | |
at sbt.Defaults$$anonfun$compileTask$1.apply(Defaults.scala:716) | |
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47) | |
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:42) | |
at sbt.std.Transform$$anon$4.work(System.scala:64) | |
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237) | |
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237) | |
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18) | |
at sbt.Execute.work(Execute.scala:244) | |
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237) | |
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237) | |
at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160) | |
at sbt.CompletionService$$anon$2.call(CompletionService.scala:30) | |
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) | |
at java.util.concurrent.FutureTask.run(FutureTask.java:166) | |
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) | |
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) | |
at java.util.concurrent.FutureTask.run(FutureTask.java:166) | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) | |
at java.lang.Thread.run(Thread.java:724) | |
[error] (compile:compile) scala.reflect.internal.FatalError: | |
[error] while compiling: C:\Users\Martijn.Hoekstra\Scala\spray-cookies-test\src\main\scala\Cookiejar.scala | |
[error] during phase: global=erasure, atPhase=posterasure | |
[error] library version: version 2.10.3 | |
[error] compiler version: version 2.10.3 | |
[error] reconstructed args: -Ywarn-value-discard -Ywarn-nullary-unit -feature -Xlint -Ywarn-inaccessible -Ywarn-numeric-widen -unchecked -Yno-adapted-args -deprecation -Xfatal-warnings -language:existentials -language:higherKinds -language:implicitConversions -Ywarn-nullary-override -Ywarn-dead-code -Ywarn-adapted-args -bootclasspath c:\Program Files\Java\jdk1.7.0_25\jre\lib\resources.jar;c:\Program Files\Java\jdk1.7.0_25\jre\lib\rt.jar;c:\Program Files\Java\jdk1.7.0_25\jre\lib\sunrsasign.jar;c:\Program Files\Java\jdk1.7.0_25\jre\lib\jsse.jar;c:\Program Files\Java\jdk1.7.0_25\jre\lib\jce.jar;c:\Program Files\Java\jdk1.7.0_25\jre\lib\charsets.jar;c:\Program Files\Java\jdk1.7.0_25\jre\lib\jfr.jar;c:\Program Files\Java\jdk1.7.0_25\jre\classes;C:\Users\Martijn.Hoekstra\.ivy2\cache\org.scala-lang\scala-library\jars\scala-library-2.10.3.jar -classpath C:\Users\Martijn.Hoekstra\Scala\spray-cookies-test\target\scala-2.10\classes;C:\Users\Martijn.Hoekstra\.ivy2\cache\io.spray\spray-client\bundles\spray-client-1.3.1.jar;C:\Users\Martijn.Hoekstra\.ivy2\cache\io.spray\spray-can\bundles\spray-can-1.3.1.jar;C:\Users\Martijn.Hoekstra\.ivy2\cache\io.spray\spray-io\bundles\spray-io-1.3.1.jar;C:\Users\Martijn.Hoekstra\.ivy2\cache\io.spray\spray-util\bundles\spray-util-1.3.1.jar;C:\Users\Martijn.Hoekstra\.ivy2\cache\io.spray\spray-http\bundles\spray-http-1.3.1.jar;C:\Users\Martijn.Hoekstra\.ivy2\cache\org.parboiled\parboiled-scala_2.10\bundles\parboiled-scala_2.10-1.1.6.jar;C:\Users\Martijn.Hoekstra\.ivy2\cache\org.parboiled\parboiled-core\bundles\parboiled-core-1.1.6.jar;C:\Users\Martijn.Hoekstra\.ivy2\cache\io.spray\spray-httpx\bundles\spray-httpx-1.3.1.jar;C:\Users\Martijn.Hoekstra\.ivy2\cache\org.jvnet.mimepull\mimepull\jars\mimepull-1.9.4.jar | |
[error] | |
[error] last tree to typer: TypeTree(trait Iterable) | |
[error] symbol: trait Iterable in package collection (flags: <interface> abstract <trait> <lateinterface>) | |
[error] symbol definition: abstract trait Iterable extends Traversable with collection.GenIterable with collection.generic.GenericTraversableTemplate with collection.IterableLike | |
[error] tpe: Iterable | |
[error] symbol owners: trait Iterable -> package collection | |
[error] context owners: method apply -> anonymous class $anonfun -> method addCookies -> object CookieJar -> package cookies | |
[error] | |
[error] == Enclosing template or block == | |
[error] | |
[error] Apply( // def addHeader(header: spray.http.HttpHeader): Function1 in trait RequestBuilding | |
[error] "spray"."httpx"."RequestBuilding"."addHeader" // def addHeader(header: spray.http.HttpHeader): Function1 in trait RequestBuilding | |
[error] "cookieheader" // val cookieheader: spray.http.HttpHeaders.Cookie | |
[error] ) | |
[error] | |
[error] == Expanded type of tree == | |
[error] | |
[error] TypeRef( | |
[error] TypeSymbol( | |
[error] abstract trait Iterable extends Traversable with collection.GenIterable with collection.generic.GenericTraversableTemplate with collection.IterableLike | |
[error] | |
[error] ) | |
[error] ) | |
[error] | |
[error] unrecoverable error | |
[error] Total time: 14 s, completed Apr 14, 2014 1:30:25 PM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment