@@ -3,6 +3,41 @@ import tastymima.intf._
3
3
4
4
object TastyMiMaFilters {
5
5
val StdlibBootstrapped : java.util.List [ProblemMatcher ] = asList(
6
+ // Ok (needs library from 2.13.12): Inferred result type of non-private member differs
7
+ ProblemMatcher .make(ProblemKind .IncompatibleTypeChange , " scala.collection.*.elemTag" ), // Fix in https://github.com/scala/scala/pull/10444
8
+ ProblemMatcher .make(ProblemKind .IncompatibleTypeChange , " scala.collection.convert.JavaCollectionWrappers.JCollectionWrapper.iterableFactory" ), // Fix in https://github.com/scala/scala/pull/10435
9
+ ProblemMatcher .make(ProblemKind .IncompatibleTypeChange , " scala.collection.convert.JavaCollectionWrappers.JConcurrentMapWrapper.empty" ), // Fix in https://github.com/scala/scala/pull/10435
10
+ ProblemMatcher .make(ProblemKind .IncompatibleTypeChange , " scala.collection.convert.JavaCollectionWrappers.JDictionaryWrapper.mapFactory" ), // Fix in https://github.com/scala/scala/pull/10435
11
+ ProblemMatcher .make(ProblemKind .IncompatibleTypeChange , " scala.collection.convert.JavaCollectionWrappers.JIterableWrapper.iterableFactory" ), // Fix in https://github.com/scala/scala/pull/10435
12
+ ProblemMatcher .make(ProblemKind .IncompatibleTypeChange , " scala.collection.convert.JavaCollectionWrappers.JListWrapper.iterableFactory" ), // Fix in https://github.com/scala/scala/pull/10435
13
+ ProblemMatcher .make(ProblemKind .IncompatibleTypeChange , " scala.collection.convert.JavaCollectionWrappers.JMapWrapper.empty" ), // Fix in https://github.com/scala/scala/pull/10435
14
+ ProblemMatcher .make(ProblemKind .IncompatibleTypeChange , " scala.collection.convert.JavaCollectionWrappers.JPropertiesWrapper.empty" ), // Fix in https://github.com/scala/scala/pull/10435
15
+ ProblemMatcher .make(ProblemKind .IncompatibleTypeChange , " scala.collection.convert.JavaCollectionWrappers.JPropertiesWrapper.mapFactory" ), // Fix in https://github.com/scala/scala/pull/10435
16
+ ProblemMatcher .make(ProblemKind .IncompatibleTypeChange , " scala.collection.immutable.TreeSet.sortedIterableFactory" ), // Fix in https://github.com/scala/scala/pull/10435
17
+ ProblemMatcher .make(ProblemKind .IncompatibleTypeChange , " scala.collection.mutable.TreeMap.sortedMapFactory" ), // Fix in https://github.com/scala/scala/pull/10435
18
+ ProblemMatcher .make(ProblemKind .IncompatibleTypeChange , " scala.collection.mutable.UnrolledBuffer.classTagCompanion" ), // Fix in https://github.com/scala/scala/pull/10435
19
+ ProblemMatcher .make(ProblemKind .IncompatibleTypeChange , " scala.collection.View.LeftPartitionMapped.iterator" ), // Fix in https://github.com/scala/scala/pull/10435
20
+ ProblemMatcher .make(ProblemKind .IncompatibleTypeChange , " scala.collection.View.RightPartitionMapped.iterator" ), // Fix in https://github.com/scala/scala/pull/10435
21
+ ProblemMatcher .make(ProblemKind .IncompatibleTypeChange , " scala.concurrent.duration.FiniteDuration.unary_-" ), // Fix in https://github.com/scala/scala/pull/10435
22
+ ProblemMatcher .make(ProblemKind .IncompatibleTypeChange , " scala.reflect.ManifestFactory.*.runtimeClass" ), // Fix in https://github.com/scala/scala/pull/10444
23
+ ProblemMatcher .make(ProblemKind .IncompatibleTypeChange , " scala.sys.process.ProcessBuilderImpl.AbstractBuilder.toSink" ), // Fix in https://github.com/scala/scala/pull/10435
24
+ ProblemMatcher .make(ProblemKind .IncompatibleTypeChange , " scala.sys.process.ProcessBuilderImpl.AbstractBuilder.toSource" ), // Fix in https://github.com/scala/scala/pull/10435
25
+ ProblemMatcher .make(ProblemKind .IncompatibleTypeChange , " scala.sys.process.ProcessBuilderImpl.FileImpl.toSink" ), // Fix in https://github.com/scala/scala/pull/10435
26
+ ProblemMatcher .make(ProblemKind .IncompatibleTypeChange , " scala.sys.process.ProcessBuilderImpl.FileImpl.toSource" ), // Fix in https://github.com/scala/scala/pull/10435
27
+ ProblemMatcher .make(ProblemKind .IncompatibleTypeChange , " scala.sys.process.ProcessBuilderImpl.URLImpl.toSource" ), // Fix in https://github.com/scala/scala/pull/10435
28
+ ProblemMatcher .make(ProblemKind .MissingTermMember , " scala.collection.concurrent.FailedNode.string" ), // Fix in https://github.com/scala/scala/pull/10444
29
+ ProblemMatcher .make(ProblemKind .MissingTermMember , " scala.collection.convert.JavaCollectionWrappers.IterableWrapperTrait.iterator" ), // Fix in https://github.com/scala/scala/pull/10435
30
+ ProblemMatcher .make(ProblemKind .MissingTermMember , " scala.collection.convert.JavaCollectionWrappers.IteratorWrapper.remove" ), // Fix in https://github.com/scala/scala/pull/10435
31
+ ProblemMatcher .make(ProblemKind .MissingTermMember , " scala.collection.mutable.LinkedHashMap.newBuilder" ), // Fix in https://github.com/scala/scala/pull/10435
32
+ ProblemMatcher .make(ProblemKind .MissingTermMember , " scala.collection.mutable.LinkedHashSet.newBuilder" ), // Fix in https://github.com/scala/scala/pull/10435
33
+ ProblemMatcher .make(ProblemKind .MissingTermMember , " scala.math.Ordering.tryCompare" ), // Fix in https://github.com/scala/scala/pull/10435
34
+ ProblemMatcher .make(ProblemKind .MissingTermMember , " scala.sys.process.ProcessBuilderImpl.AndBuilder.createProcess" ), // Fix in https://github.com/scala/scala/pull/10435
35
+ ProblemMatcher .make(ProblemKind .MissingTermMember , " scala.sys.process.ProcessBuilderImpl.OrBuilder.createProcess" ), // Fix in https://github.com/scala/scala/pull/10435
36
+ ProblemMatcher .make(ProblemKind .MissingTermMember , " scala.sys.process.ProcessBuilderImpl.PipedBuilder.createProcess" ), // Fix in https://github.com/scala/scala/pull/10435
37
+ ProblemMatcher .make(ProblemKind .MissingTermMember , " scala.sys.process.ProcessBuilderImpl.SequenceBuilder.createProcess" ), // Fix in https://github.com/scala/scala/pull/10435
38
+ ProblemMatcher .make(ProblemKind .IncompatibleTypeChange , " scala.collection.immutable.BitSet.bitSetFactory" ), // Fix in https://github.com/scala/scala/pull/10444
39
+ ProblemMatcher .make(ProblemKind .IncompatibleTypeChange , " scala.collection.mutable.BitSet.bitSetFactory" ), // Fix in https://github.com/scala/scala/pull/10444
40
+
6
41
// Probably OK
7
42
ProblemMatcher .make(ProblemKind .IncompatibleSelfTypeChange , " scala.*" ),
8
43
@@ -12,10 +47,6 @@ object TastyMiMaFilters {
12
47
// Problem: Missing Serializable in companions of serializable classes
13
48
ProblemMatcher .make(ProblemKind .MissingParent , " scala.*$" ),
14
49
15
- // Problem: Class[T] or ClassTag[T] with `T` equal to wildcard `_ >: Nothing <: AnyVal` instead of a specific primitive type `T`
16
- ProblemMatcher .make(ProblemKind .IncompatibleTypeChange , " scala.reflect.ManifestFactory.*.runtimeClass" ),
17
- ProblemMatcher .make(ProblemKind .IncompatibleTypeChange , " scala.collection.*.elemTag" ),
18
-
19
50
// Problem: ConstantType for `null` versus `scala.Null`
20
51
ProblemMatcher .make(ProblemKind .IncompatibleTypeChange , " scala.collection.mutable.UnrolledBuffer.Unrolled.<init>$default$4" ),
21
52
@@ -30,11 +61,6 @@ object TastyMiMaFilters {
30
61
ProblemMatcher .make(ProblemKind .MissingTermMember , " scala.math.Big*.underlying" ),
31
62
ProblemMatcher .make(ProblemKind .NewAbstractMember , " scala.math.ScalaNumericConversions.underlying" ),
32
63
33
- // Problem: Inferred result type of non-private member differs
34
- ProblemMatcher .make(ProblemKind .MissingTermMember , " scala.collection.convert.JavaCollectionWrappers.IterableWrapperTrait.iterator" ),
35
- ProblemMatcher .make(ProblemKind .IncompatibleTypeChange , " scala.collection.mutable.UnrolledBuffer.classTagCompanion" ),
36
- ProblemMatcher .make(ProblemKind .MissingTermMember , " scala.collection.concurrent.FailedNode.string" ),
37
-
38
64
// Problem: super accessors
39
65
ProblemMatcher .make(ProblemKind .NewAbstractMember , " scala.*.superscala$*$*$$*" ), // The member scala.collection.mutable.Cloneable.superscala$collection$mutable$Cloneable$$clone was concrete or did not exist but is abstract in current version
40
66
@@ -47,10 +73,6 @@ object TastyMiMaFilters {
47
73
// TASTy-MiMa bug? Wildcards in self type
48
74
ProblemMatcher .make(ProblemKind .MissingTypeMember , " scala.collection.generic.DefaultSerializable._$1" ),
49
75
50
- // TASTy-MiMa bug? module classes
51
- ProblemMatcher .make(ProblemKind .IncompatibleTypeChange , " scala.collection.immutable.BitSet.bitSetFactory" ), // The symbol scala.collection.immutable.BitSet.bitSetFactory has an incompatible type in current version: before: scala.collection.immutable.BitSet$; after: scala.collection.immutable.BitSet.type
52
- ProblemMatcher .make(ProblemKind .IncompatibleTypeChange , " scala.collection.mutable.BitSet.bitSetFactory" ), // The symbol scala.collection.mutable.BitSet.bitSetFactory has an incompatible type in current version: before: scala.collection.mutable.BitSet$; after: scala.collection.mutable.BitSet.type
53
-
54
76
// TASTy-MiMa bugs
55
77
ProblemMatcher .make(ProblemKind .InternalError , " scala.collection.SeqView.appendedAll" ),
56
78
ProblemMatcher .make(ProblemKind .InternalError , " scala.collection.SeqView.concat" ),
0 commit comments