summaryrefslogtreecommitdiff
path: root/test/files/jvm
Commit message (Collapse)AuthorAgeFilesLines
* Closes #3838. Review by prokopec.Philipp Haller2011-03-152-0/+16
|
* Re-enabling the disabled signature test along w...Paul Phillips2011-03-064-1/+42
| | | | | | | Re-enabling the disabled signature test along with changes which allow it to pass. Closes #4238 again, no review. (But would anyone like to expand the signature tests? Great idea, extempore!)
* Some naming clarifications and a test rewrite.Paul Phillips2011-03-061-7/+22
|
* Reverting some recent signature code and tempor...Paul Phillips2011-03-043-41/+0
| | | | | | | Reverting some recent signature code and temporarily disabling a test so I can work this out without shattering the tranquility of the build. No review.
* Break 9 tests, fix 9 tests, realize you broke t...Paul Phillips2011-02-281-11/+6
| | | | | | | Break 9 tests, fix 9 tests, realize you broke the test you checked in between +9 and -9. Fix that and generalize the repl tests a little. I think we're all the way there. No review.
* Renamed Application to App.Martin Odersky2011-02-219-9/+9
|
* Revert "Added missing string prefixes for names...Aleksandar Pokopec2011-02-151-14/+14
| | | | | | | | Revert "Added missing string prefixes for names of map and set collection classes." and related commits. No review.
* Another fix for a broken test case involving ne...Aleksandar Pokopec2011-02-151-2/+2
| | | | | | | | Another fix for a broken test case involving new set and map string reps. No review.
* Fixing tests depending on map and set string re...Aleksandar Pokopec2011-02-141-12/+12
| | | | | Fixing tests depending on map and set string representations. No review.
* After discovering #3376 was fixed I gave in and...Paul Phillips2011-02-041-35/+7
| | | | | | | | After discovering #3376 was fixed I gave in and tried to write a test. Now that the fiddling is over you can write repl tests without creating 5000 streams and settings. Look at test/files/run/bug3376.scala or jvm/interpreter.scala to see. Test case closes #3376, no review.
* I keep seeing huge simplifications available in...Paul Phillips2011-02-011-3/+3
| | | | | | | | | I keep seeing huge simplifications available in the repl. Lot of interesting features have come to town since it was first conceived. In this commit I give the internal names some tips on aesthetics, and put each line in its own package like civilized artificial constructs. No review.
* Merge branch 'work'Aleksandar Pokopec2011-01-261-2/+2
| | | | | | Conflicts: src/library/scala/concurrent/SyncVar.scala
* The empty string commit made me hungry to actua...Paul Phillips2011-01-211-2/+2
| | | | | | | The empty string commit made me hungry to actually know what's in stuff. Now it prints quotes around a string if it's empty or if either the first or last character is whitespace. No review.
* Deleted duplicate test which must have been a r...Paul Phillips2011-01-132-59/+0
| | | | | | Deleted duplicate test which must have been a real monkey wrench. No review.
* Some fixes for partest issues.Paul Phillips2011-01-121-2/+2
| | | | | | | | prejudice and puts the new process code to work instead. There are still a couple bugs on my short term partest list. If this commit causes some weird issue which only arises on virtualized windows you can expect to hear from me next by postcard from st. lucia. No review.
* disabled test cf-attributes.scalamichelou2010-12-312-196/+0
|
* fixed issue with EnclosingMethod attribute.michelou2010-12-302-0/+196
| | | | | | The above issue was made explicit using the dx tool for the Android SDK to convert Java bytecode to Dalvik bytecode.
* When was the last time -Xcheckinit was run? It ...Paul Phillips2010-12-114-4/+19
| | | | | | | | | | When was the last time -Xcheckinit was run? It must have been a long time. All these changes are to address bugs revealed by -Xcheckinit, mostly in test cases, some in the compiler. I'm guessing the partest -Xcheckinit runs are hanging the first time they run into a failure, so if it starts "working" again after this commit don't get too confident. No review.
* Made parallel collections serializable.Aleksandar Pokopec2010-12-092-1/+91
| | | | | No review.
* Added uniqueness annotations. Review by rytz.Philipp Haller2010-12-071-2/+2
|
* 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?
* "I invite everyone to change this rule, and obs...Paul Phillips2010-11-292-4/+5
| | | | | | | | | | | | | | | | | | | | | "I invite everyone to change this rule, and observe what breaks!" This much beloved comment from #1208 has been on my radar for two years. The worm has turned. Closes #1208. The inferred type of an object is now Foo.type instead of "object Foo". What once was this: scala> val x: Map[Int, Singleton] = Map(1 -> None) <console>:5: error: type mismatch; found : (Int, object None) required: (Int, Singleton) Now exudes a pleasing aura of workingness: scala> val x: Map[Int, Singleton] = Map(1 -> None) x: Map[Int,Singleton] = Map(1 -> None) No review.
* Further fixes some issues for #3621.Aleksandar Pokopec2010-11-253-1/+4
| | | | | Review by Rytz.
* Fix for #3621.Aleksandar Pokopec2010-11-244-0/+49
| | | | | | | Added varargs annotation. Review by Rytz.
* Moved failing test to pending until I figure ou...Iulian Dragos2010-11-142-399/+0
| | | | | | Moved failing test to pending until I figure out how hudson is running on chara
* Use partest's java and javac command in the jav...Iulian Dragos2010-11-131-9/+2
| | | | | Use partest's java and javac command in the javasigs test. no review.
* Fix InnerClasses attribute: anonymous classes d...Iulian Dragos2010-11-132-0/+406
| | | | | | | | Fix InnerClasses attribute: anonymous classes don't have an outer name. EnclosingMethod is correctly generated. Fixed isAnonymousClass definition. Updated test that depends on anonymous inner class names. Closes (again) #3249, references #2749. review by odersky,extempore.
* Fixes #3878. No review.Aleksandar Pokopec2010-11-102-1/+10
|
* A test output changed. No review.Aleksandar Pokopec2010-11-081-2/+2
|
* Added separate bitmaps for private and transien...Hubert Plociniczak2010-11-022-0/+34
| | | | | | | | | | 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.
* Removed race from test for #3356. No reviewPhilipp Haller2010-11-012-1/+4
|
* Two hashcode-related failing tests fixed.Aleksandar Pokopec2010-10-282-4/+4
| | | | | No review.
* As hash codes change, so do the tests - output ...Aleksandar Pokopec2010-10-202-2/+3
| | | | | As hash codes change, so do the tests - output order for a HashMap is different now. No review.
* Some cleanups in the compiler source.Paul Phillips2010-10-111-1/+1
| | | | | | | eliminated the import of ambiguously named classes from e.g. collection.mutable, obeyed a todo in the parser regarding dropping lbracket from statement starting tokens. No review.
* Sorting through the tests in pending from oldes...Paul Phillips2010-10-022-0/+22
| | | | | | | | | | | | | | | | | Sorting through the tests in pending from oldest to newest because I don't believe in having useless appendages. The verdict on the oldest fifteen tests is: 15/15 are fixed. Many were already in files under a different name. I moved a few and deleted the rest. Fun fact of the day: apparently there was a time when to call into java varargs with no arguments you might have to write something like: getClass().getMethod("getCount", Array[java.lang.Class[T] forSome { type T }]()) On this basis I retract any complaints I've ever had about anything. There is one question mark outlined in pos/testCoercionThis.scala, a file formerly called pos/moors.scala and therefore... review by moors.
* Another attempt for #1591.Hubert Plociniczak2010-10-011-0/+26
|
* Revert changes related to #1591. no review.Hubert Plociniczak2010-09-291-26/+0
|
* Cleaning up the contents of test.Paul Phillips2010-09-281-0/+0
| | | | | | | | | | | including "CheckEither", written against scalacheck 1.2 in the year 471 AD. Removed all the duplicates I could find, mostly between pending and files. Renamed a bunch of tests so they wouldn't look like likely duplicates next time around. Nominated somebody else to do this once in a while. No review.
* Closes #1591.Hubert Plociniczak2010-09-221-0/+26
|
* Some tweaks to ListSet to make it less patholog...Paul Phillips2010-09-171-2/+2
| | | | | | | | | | | | | | | Some tweaks to ListSet to make it less pathological in its outlook. We can see some modest improvements in run time and answer quality via the enclosed test case: // with this patch: 2.250s elapsed, assertions pass. // without this patch: 51.441s elapsed, and it's a mercy killing: java.lang.StackOverflowError at scala.collection.immutable.ListSet$Node.contains(ListSet.scala:117) at scala.collection.immutable.ListSet$Node.contains(ListSet.scala:117) Closes #3822, review by community.
* Fixed buggy test case. Closes #3551. No review.Philipp Haller2010-07-121-3/+9
|
* Tracked down why the jvm/natives.scala fails fo...Paul Phillips2010-06-042-1/+1
| | | | | | | Tracked down why the jvm/natives.scala fails for me and apparently not anyone else. Rebuilt libnatives.jnlib to accomodate x86-64, and it seems to pass. No review.
* Restored Source factories to a form source comp...Paul Phillips2010-06-031-1/+1
| | | | | | | | | Restored Source factories to a form source compatible with 2.7.7. No default implicit arguments, now low priority saves the day with a low priority codec which io.Codec offers as last resort. Dropped the line separator argument to getLines and made it act in a separator agnostic way (any of \r\n, \r, or \n is a separator.) Review by community.
* Re-enabled a number of previously disabled tests;Antonio Cunei2010-05-2812-0/+208
| | | | | according to my tests, they all currently work.
* Addresses see #3470 by adding a method Reactor....Philipp Haller2010-05-252-0/+33
| | | | | Addresses see #3470 by adding a method Reactor.restart. Review by rompf.
* Removed some flotsam which should have been rem...Paul Phillips2010-05-213-16/+0
| | | | | | | | Removed some flotsam which should have been removed when I rolled back partest. (We ended up with two copies of the methvsfield test, one in a subdir and one not.) I would suppose it is responsible for #3464 but I don't know for certain. No review.
* close #3415.Lukas Rytz2010-05-102-0/+7
|
* Closes #3407. Closes #3412. Review by plocinic.Philipp Haller2010-05-096-0/+119
|
* close #3400. no reviewLukas Rytz2010-05-072-0/+21
|
* Rolled partest back to r21328.Paul Phillips2010-05-0611-4/+76
| | | | | | | | changes necessary to plug it back in while preserving everything which has happened since then in tests and such, but we should be the lookout for overreversion. Review by phaller (but as a formality, I don't think it requires direct review.)