summaryrefslogtreecommitdiff
path: root/test/files/jvm
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge commit 'refs/pull/401/head'; commit 'refs/pull/402/head'; commit ↵Paul Phillips2012-04-143-58/+62
|\ \ | | | | | | | | | 'refs/pull/403/head'; commit 'refs/pull/404/head'; commit 'refs/pull/405/head' into develop
| * | implements reification of tough typesEugene Burmako2012-04-143-58/+62
| | |
* | | virtpatmat on by default; chicken out: -XoldpatmatAdriaan Moors2012-04-141-1/+1
|/ / | | | | | | | | | | | | some tests (unreachability, exhaustivity, @switch annotation checking) are still run under -Xoldpatmat, but that will change before we go into RC mode (then the test/ partest of this commit will be reverted) removed irrelevant dependency on patmat
* | Fixed tests to account for SIP 18Martin Odersky2012-04-131-369/+372
| |
* | Merge commit 'refs/pull/375/head' into developPaul Phillips2012-04-124-383/+374
|\ \
| * | Next generation of macrosEugene Burmako2012-04-124-383/+374
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements SIP 16: Self-cleaning macros: http://bit.ly/wjjXTZ Features: * Macro defs * Reification * Type tags * Manifests aliased to type tags * Extended reflection API * Several hundred tests * 1111 changed files Not yet implemented: * Reification of refined types * Expr.value splicing * Named and default macro expansions * Intricacies of interaction between macros and implicits * Emission of debug information for macros (compliant with JSR-45) Dedicated to Yuri Alekseyevich Gagarin
* / Disabling failing tests.Paul Phillips2012-04-122-138/+0
|/ | | | | | | | | | I turn them over to the responsible parties. Iulian knows about the deadlock test; for philipp I presume, 07:10:29 [partest] concurrent-future.scala:97: error: not found: type FutureTimeoutException 07:10:29 [partest] throw new FutureTimeoutException(null) 07:10:29 [partest] ^ 07:10:29 [partest] one error found
* Add tests for future combinators: map, flatMap, filter, collect, foreach, ↵phaller2012-04-041-16/+274
| | | | recoverWith, zip, fallbackTo
* Remedies Try/Either signature disparity for source compat. w/ AkkaHeather Miller2012-04-031-3/+77
|
* Work on source compatibility between akka and scala futures.Aleksandar Prokopec2012-03-281-1/+1
| | | | | Removed some methods from execution contexts. Changed Awaitable interface.
* Merge remote-tracking branch 'axel22/feature/collection-concurrent' into developPaul Phillips2012-03-272-11/+12
|\
| * Rename ConcurrentTrieMap to concurrent.TrieMap.Aleksandar Prokopec2012-03-272-11/+12
| | | | | | | | | | | | | | | | Introduced the collection.concurrent package and introduced the concurrent.Map trait there. Deprecated the mutable.ConcurrentMap trait. Pending work - introduce the appropriate changes to JavaConversions and JavaConverters.
* | Cleaned up Duration for the standard library.Vojin Jovanovic2012-03-201-1/+1
|/ | | | | | | | | | | - Removed Timeout from the library. Each library should provide its own implementation of Timeout - Removed duration package object and replaced it with regular object - Removed usages of post Java 1.5 TimeUnit members - Added factory methods for FiniteDuration - Cleaned up some unnecessary comments - Merged duration DSL with Duration.scala file Review by: @phaller
*-. Merge remote-tracking branches 'VladUreche/feature/inheritdoc-clean', ↵Paul Phillips2012-03-1611-32/+64
|\ \ | | | | | | | | | 'acruise/t1118', 'hubertp/issue/5572', 'hubertp/topic/nightly-checkinit', 'axel22/feature/pc-ctrie', 'jsuereth/master-version-fixin' and 'axel22/feature/checkinit-transient' into develop
| | * Renaming Ctrie to ConcurrentTrieMap.Aleksandar Prokopec2012-03-162-11/+11
| |/ |/|
| * Fixed broken testsAlex Cruise2012-03-154-5/+6
| |
| * SI-1118:Alex Cruise2012-03-153-31/+31
| | | | | | | | | | | | * Use new-style deprecation annotations * Slightly less cutesy test text * Move t1118.scala to the right directory
| * SI-1118 WIPAlex Cruise2012-03-156-17/+48
| |
| * SI-1118 WIPAlex Cruise2012-03-152-0/+0
| |
| * Merge remote-tracking branch 'odersky/topic/inline' into merge-inlinePaul Phillips2012-03-141-1/+1
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: lib/scala-compiler.jar.desired.sha1 lib/scala-library-src.jar.desired.sha1 lib/scala-library.jar.desired.sha1 src/compiler/scala/reflect/internal/Definitions.scala src/compiler/scala/reflect/internal/Symbols.scala src/compiler/scala/tools/nsc/Global.scala src/compiler/scala/tools/nsc/transform/Constructors.scala src/compiler/scala/tools/nsc/transform/Erasure.scala src/compiler/scala/tools/nsc/transform/SpecializeTypes.scala src/compiler/scala/tools/nsc/typechecker/Contexts.scala src/compiler/scala/tools/nsc/typechecker/RefChecks.scala src/compiler/scala/tools/nsc/typechecker/SyntheticMethods.scala src/library/scala/Function0.scala src/library/scala/Function1.scala src/library/scala/Function10.scala src/library/scala/Function11.scala src/library/scala/Function12.scala src/library/scala/Function13.scala src/library/scala/Function14.scala src/library/scala/Function15.scala src/library/scala/Function16.scala src/library/scala/Function17.scala src/library/scala/Function18.scala src/library/scala/Function19.scala src/library/scala/Function2.scala src/library/scala/Function20.scala src/library/scala/Function21.scala src/library/scala/Function22.scala src/library/scala/Function3.scala src/library/scala/Function4.scala src/library/scala/Function5.scala src/library/scala/Function6.scala src/library/scala/Function7.scala src/library/scala/Function8.scala src/library/scala/Function9.scala test/files/codelib/code.jar.desired.sha1 test/files/neg/anyval-children-2.check test/files/run/programmatic-main.check
| * \ Merge branch 'master' into merge-inlinePaul Phillips2012-03-146-6/+575
| |\ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: lib/scala-compiler.jar.desired.sha1 lib/scala-library-src.jar.desired.sha1 lib/scala-library.jar.desired.sha1 src/compiler/scala/reflect/internal/Definitions.scala src/compiler/scala/reflect/internal/Importers.scala src/compiler/scala/reflect/internal/Symbols.scala src/compiler/scala/reflect/internal/Trees.scala src/compiler/scala/reflect/internal/Types.scala src/compiler/scala/tools/nsc/Global.scala src/compiler/scala/tools/nsc/transform/Erasure.scala src/compiler/scala/tools/nsc/transform/LiftCode.scala src/compiler/scala/tools/nsc/transform/UnCurry.scala src/compiler/scala/tools/nsc/typechecker/RefChecks.scala src/compiler/scala/tools/nsc/typechecker/Typers.scala test/files/run/programmatic-main.check test/files/speclib/instrumented.jar.desired.sha1
| * | Updated checkfiles to subtract ScalaObject.Paul Phillips2012-02-041-1/+1
| | |
* | | SI-5189 fixed: safe type infer for constr patternAdriaan Moors2012-03-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | several fixes to the standard library due to - the safer type checker this fix gives us (thus, some casts had to be inserted) - SI-5548 - type inference gets a bit more complicated, it needs help (chainl1 in combinator.Parsers) To deal with the type slack between actual (run-time) types and statically known types, for each abstract type T, reflect its variance as a skolem that is upper-bounded by T (covariant position), or lower-bounded by T (contravariant). Consider the following example: class AbsWrapperCov[+A] case class Wrapper[B](x: Wrapped[B]) extends AbsWrapperCov[B] def unwrap[T](x: AbsWrapperCov[T]): Wrapped[T] = x match { case Wrapper(wrapped) => // Wrapper's type parameter must not be assumed to be equal to T, // it's *upper-bounded* by it wrapped // : Wrapped[_ <: T] } this method should type check if and only if Wrapped is covariant in its type parameter before inferring Wrapper's type parameter B from x's type AbsWrapperCov[T], we must take into account that x's actual type is: AbsWrapperCov[Tactual] forSome {type Tactual <: T} since AbsWrapperCov is covariant in A -- in other words, we must not assume we know T exactly, all we know is its upper bound since method application is the only way to generate this slack between run-time and compile-time types (TODO: right!?), we can simply replace skolems that represent method type parameters as seen from the method's body by other skolems that are (upper/lower)-bounded by that type-parameter skolem (depending on the variance position of the skolem in the statically assumed type of the scrutinee, pt) this type slack is introduced by adaptConstrPattern: before it calls inferConstructorInstance, it creates a new context that holds the new existential skolems the context created by adaptConstrPattern must not be a CaseDef, since that confuses instantiateTypeVar and the whole pushTypeBounds/restoreTypeBounds dance (CaseDef contexts remember the bounds of the type params that we clobbered during GADT typing) typedCase deskolemizes the existential skolems back to the method skolems, since they don't serve any further purpose (except confusing the old pattern matcher) typedCase is now better at finding that context (using nextEnclosing)
* | | Fix race condition in scala-concurrent-tck testPhilipp Haller2012-02-191-1/+1
| | |
* | | Disable execution context and futures implementation in the default package.Aleksandar Prokopec2012-02-163-409/+19
| | | | | | | | | | | | | | | | | | | | | Fixed some tests so that they work now. The Transactions.scala test was failing when defined in scala.concurrent package, reporting that type `_$1` is defined twice. Until we figure out the reason for this, the package name in that test is renamed.
* | | Merge branch 'master' into execution-contextAleksandar Prokopec2012-02-162-5/+23
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: src/library/scala/package.scala
| * | | Apply the fix for si-5293 to hash maps.Aleksandar Prokopec2012-02-151-4/+4
| | |/ | |/| | | | | | | This fix was previously only applied to hash sets.
| * | Add tests for parallel Ctrie.Aleksandar Prokopec2012-02-032-0/+9
| | | | | | | | | | | | Changed parameters in some tests to speed them up.
| * | Incorporate Ctrie into standard library.Aleksandar Prokopec2012-02-022-1/+10
| |/ | | | | | | Implemented Ctrie serialization. Improved hashcode computation.
* | Merge branch 'master' into execution-contextVojin Jovanovic2012-01-252-3/+12
|\|
| * Preserve attribute order in inline XMLSzabolcs Berecz2012-01-141-2/+2
| |
| * Merge branch 'master' into issue/4147aleksandar2012-01-121-1/+1
| |\ | | | | | | | | | | | | Conflicts: .gitignore
| * | Add mutable tree sets to the standard library.aleksandar2012-01-122-1/+10
| | | | | | | | | | | | | | | | | | | | | This implementation is based on AVL trees. The current implementation is contributed by Lucien Pereira. Fixes #4147.
* | | Migrate akka promises. Changes to some of the interfaces.aleksandar2012-01-131-7/+5
| | |
* | | Port of akka Future implementation in progress.aleksandar2012-01-121-1/+14
| | |
* | | Refactor await calls for awaitable objects to ready and result calls.aleksandar2012-01-121-37/+49
| | |
* | | Merge branch 'master' into execution-contextVojin Jovanovic2012-01-093-6/+6
|\ \ \ | | |/ | |/|
| * | Fixed equality and string representation of xml attributes with null valueSzabolcs Berecz2012-01-071-1/+1
| |/ | | | | | | | | | | | | | | | | Prior to this patch <t a={ null: String }/> was not equal to <t/> and it's string representation was "<t ></t>" instead of "<t></t>" This includes changing MetaData.normalize() so that it doesn't reverse the chain. On the downside, the iterate function in MetaData.normalize() is not tail-recursive now.
| * Merge remote-tracking branches 'axel22/issue/5293' and ↵Paul Phillips2011-12-191-1/+1
| |\ | | | | | | | | | 'jsuereth/fix-5053-view-unzip' into develop
| | * Batch files no longer swallow exit codesEugene Burmako2011-12-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Usually scripts like scala.bat and scalac.bat correctly propagate exit codes from underlying Java invocations. However, if you run these scripts as follows: "cmd /c scala ...", then errorlevel gets swallowed. This simple patch fixes the aforementioned problem. Fixes SI-5295, no review.
| * | Fix #5293 - changed the way hashcode is improved in hash sets.aleksandar2011-12-191-4/+4
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The hash code is further improved by using a special value in the hash sets called a `seed`. For sequential hash tables, this value depends on the size of the hash table. It determines the number of bits the hashcode should be rotated. This ensures that hash tables with different sizes use different bits to compute the position of the element. This way traversing the elements of the source hash table will yield them in the order where they had similar hashcodes (and hence, positions) in the source table, but different ones in the destination table. Ideally, in the future we want to be able to have a family of hash functions and assign a different hash function from that family to each hash table instance. That would statistically almost completely eliminate the possibility that the hash table element traversal causes excessive collisions. I should probably @mention extempore here.
* | Make base TCK more uniform with Akka TCKPhilipp Haller2011-12-131-3/+4
| |
* | Add test for recover to Akka TCKPhilipp Haller2011-12-132-4/+25
| |
* | Force output of exception in assert. Add tests for recover.Philipp Haller2011-12-131-2/+33
| |
* | Add tests for blocking/await to Akka version of the TCKPhilipp Haller2011-12-131-6/+37
| |
* | Merge branch 'execution-context' of github.com:phaller/scala into ↵aleksandar2011-12-131-0/+338
|\ \ | | | | | | | | | execution-context
| * | Add Akka version of Futures TCK.Philipp Haller2011-12-131-0/+338
| | |
* | | Change promise method signature.aleksandar2011-12-131-1/+1
|/ /
* | Add test cases for blocking. Fix in the failed projection.aleksandar2011-12-131-3/+27
| |
* | Rename block->await. Add more tck test cases.aleksandar2011-12-131-8/+87
| |