summaryrefslogtreecommitdiff
path: root/test/files/jvm/serialization.scala
Commit message (Collapse)AuthorAgeFilesLines
* Cull extraneous whitespace.Paul Phillips2013-09-181-17/+17
| | | | | | | | | | | | | | | | | | | | | One last flurry with the broom before I leave you slobs to code in your own filth. Eliminated all the trailing whitespace I could manage, with special prejudice reserved for the test cases which depended on the preservation of trailing whitespace. Was reminded I cannot figure out how to eliminate the trailing space on the "scala> " prompt in repl transcripts. At least reduced the number of such empty prompts by trimming transcript code on the way in. Routed ConsoleReporter's "printMessage" through a trailing whitespace stripping method which might help futureproof against the future of whitespace diseases. Deleted the up-to-40 lines of trailing whitespace found in various library files. It seems like only yesterday we performed whitespace surgery on the whole repo. Clearly it doesn't stick very well. I suggest it would work better to enforce a few requirements on the way in.
* Prepare removal of scala-xml, scala-parser-combinatorsAdriaan Moors2013-08-271-65/+0
| | | | | | | | | Every test deleted here has found its way to the respective repositories of scala-xml and scala-parser-combinators, where they will continue to be tested with partest. The modified tests became independent of these modules, as they should've been from the start.
* SI-7003 Partest redirects stderr to log fileSom Snytt2013-05-251-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some scalac output is on stderr, and it's useful to see that in the log file, especially for debugging. Adds a line filter for logs, specified as "filter: pattern" in the test source. Backslashes are made forward only when detected as paths. Test alignments: Deprecations which do not pertain to the system under test are corrected in the obvious way. When testing deprecated API, suppress warnings by deprecating the Test object. Check files are updated with useful true warnings, instead of running under -nowarn. Language feature imports as required, instead of running under -language. Language feature not required, such as casual use of postfix. Heed useful warning. Ignore broken warnings. (Rarely, -nowarn.) Inliner warnings pop up under -optimise only, so for now, just filter them out where they occur. Debug output from the test required an update.
* SI-4664 [Make scala.util.Random Serializable] Add test caseJean-Remi Desjardins2012-12-041-0/+15
|
* pull request feedbackPavel Pavlov2012-09-181-2/+22
|
* Rename ConcurrentTrieMap to concurrent.TrieMap.Aleksandar Prokopec2012-03-271-7/+8
| | | | | | | | 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.
* Renaming Ctrie to ConcurrentTrieMap.Aleksandar Prokopec2012-03-161-7/+7
|
* Add tests for parallel Ctrie.Aleksandar Prokopec2012-02-031-0/+5
| | | | Changed parameters in some tests to speed them up.
* Incorporate Ctrie into standard library.Aleksandar Prokopec2012-02-021-1/+6
| | | | Implemented Ctrie serialization. Improved hashcode computation.
* Add mutable tree sets to the standard library.aleksandar2012-01-121-1/+6
| | | | | | | This implementation is based on AVL trees. The current implementation is contributed by Lucien Pereira. Fixes #4147.
* Begone t1737...Hubert Plociniczak2011-11-021-14/+14
|
* Repairing bitrot with serialization.Paul Phillips2011-10-031-12/+5
| | | | | | | | The comment in SyntheticMethods and the comment in the serialization test said exactly opposite things. The logic at work all seems to be invalid anyway since nested objects are not treated like lazy vals, they have no bitmap. Serialize everything serializable. Review by plocinic.
* Removing the code which has been deprecated sin...Paul Phillips2011-08-151-9/+0
| | | | | | | Removing the code which has been deprecated since 2.8.0. Contributed by Simon Ochsenreither, although deleting code is such fun one hesitates to call it a contribution. Still, we will. Closes SI-4860, no review.
* Merge branch 'work'Aleksandar Pokopec2011-01-261-2/+2
| | | | | | Conflicts: src/library/scala/concurrent/SyncVar.scala
* Made parallel collections serializable.Aleksandar Pokopec2010-12-091-0/+57
| | | | | No review.
* Deprecated the @serializable annotation, introd...Lukas Rytz2010-11-301-24/+7
| | | | | | | | | | | | | | | | | | | Deprecated the @serializable annotation, introduce a new trait "scala.Serializable" which has to be extended instead (cross-platform). Known issues: - Companion objects of serializable classes (including case classes) are automatically made serializable. However, they don't extend "Serializable" statically because of the known difficulty (should be done before typing, but hard). - Writing "case class C() extends Serializable" gives "error: trait Serializable is inherited twice" - Functions are serializable, but don't extend Serializable dynamically (could be fixed by making FunctionN Serializable - shouldn't we?) Note that @SerialVersionUID continues to be an annotation; it generates a static field, which is not possible otherwise in scala. Review by dragos, extempore. Question to dragos: in JavaPlatform.isMaybeBoxed, why is there a test for "JavaSerializableClass"? Is that correct?
* Fixes #3878. No review.Aleksandar Pokopec2010-11-101-1/+6
|
* Added separate bitmaps for private and transien...Hubert Plociniczak2010-11-021-0/+30
| | | | | | | | | | Added separate bitmaps for private and transient lazy vals. Closes #3038, #1573. Review by dragos. I had to fix a couple of initialization issues that checkinit forced me to do and that weren't a problem before because the bitmap was serialized even for @transitive. For that I needed to change the setters in checkinit so that they also update the bitmap.
* As hash codes change, so do the tests - output ...Aleksandar Pokopec2010-10-201-0/+1
| | | | | As hash codes change, so do the tests - output order for a HashMap is different now. No review.
* Another attempt for #1591.Hubert Plociniczak2010-10-011-0/+26
|
* Revert changes related to #1591. no review.Hubert Plociniczak2010-09-291-26/+0
|
* Closes #1591.Hubert Plociniczak2010-09-221-0/+26
|
* updated/extended serialization tests michelou2009-11-201-202/+350
|
* Simplifiations in collections libraries, enable...Martin Odersky2009-11-201-1/+1
| | | | | | Simplifiations in collections libraries, enabled by introduction of Self type in TraversableLike.
* Fixed collections unit test (regression in List...Philipp Haller2009-11-081-5/+5
| | | | | | Fixed collections unit test (regression in ListBuffer.apply) and serialization test.
* Moved disabled tests back into their original p...Antonio Cunei2009-11-061-0/+401
| | | | | | Moved disabled tests back into their original place. Expect 7 tests to fail.
* massive new collections checkin.Martin Odersky2009-05-081-421/+0
|
* add serialization test, disabled patmat debug t...michelou2009-04-211-0/+19
| | | | | add serialization test, disabled patmat debug traces
* removed useless annotationmichelou2008-09-041-1/+0
|
* minor test add-onmichelou2008-08-261-0/+2
|
* Fixed serialization of enumsmichelou2008-08-261-5/+50
|
* added test case (serialization)michelou2008-02-211-0/+7
|
* fixed #523michelou2008-02-201-4/+11
|
* checked testMartin Odersky2008-01-191-5/+2
|
* removed warningmichelou2008-01-181-7/+7
|
* build target is now 1.5Martin Odersky2008-01-171-0/+345
| | | | | | case classes now generate objects not factory methods. some small cleanups for type inference
* Had to create a test/pending/jvm5 directory.Geoffrey Washburn2008-01-111-345/+0
| | | | | Moved tests that are failing, but no present fixes into pending.
* enums can't be serializedmichelou2007-10-031-4/+4
|
* minor changesmichelou2007-07-121-37/+39
|
* added @serializable annotation to ListBuffermichelou2007-03-021-132/+156
|
* fixed testsMartin Odersky2007-02-151-8/+8
|
* changed collection librariesMartin Odersky2007-01-041-0/+1
|
* renamed All->Nothing, AllRef -> Null while keep...Martin Odersky2006-10-061-2/+2
| | | | | | renamed All->Nothing, AllRef -> Null while keeping the old names as aliases.
* Fixed test files after syntax change for closures.Martin Odersky2006-06-211-1/+1
|
* use the mutable.Set interface of BitSetmihaylov2006-01-241-4/+6
|
* 'test-nsc' has been moved to 'test'.Gilles Dubochet2005-12-161-0/+316
|
* Removed old scala tests from new Scala core mod...Gilles Dubochet2005-12-161-316/+0
| | | | | Removed old scala tests from new Scala core module.
* Added missing [serializable]mihaylov2005-06-071-0/+3
|
* - serialization done in memory (and not more to...michelou2005-05-311-101/+45
| | | | | - serialization done in memory (and not more to/from a file).
* Use attributes to declare serializability of ob...mihaylov2005-05-301-6/+10
| | | | | Use attributes to declare serializability of objects and classes