File tree 3 files changed +6
-4
lines changed
3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,8 @@ object SystemProperties {
86
86
lazy val headless = bool(" java.awt.headless" , " system should not utilize a display device" )
87
87
lazy val preferIPv4Stack = bool(" java.net.preferIPv4Stack" , " system should prefer IPv4 sockets" )
88
88
lazy val preferIPv6Addresses = bool(" java.net.preferIPv6Addresses" , " system should prefer IPv6 addresses" )
89
- lazy val noTraceSupression = bool(" scala.control.noTraceSuppression" , " scala should not suppress any stack trace creation" )
89
+ lazy val noTraceSuppression = bool(" scala.control.noTraceSuppression" , " scala should not suppress any stack trace creation" )
90
+ @ deprecated(" Use noTraceSuppression" , " 2.12.0" )
91
+ def noTraceSupression = noTraceSuppression
90
92
}
91
93
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ trait NoStackTrace extends Throwable {
26
26
object NoStackTrace {
27
27
final def noSuppression = _noSuppression
28
28
29
- // two-stage init to make checkinit happy, since sys.SystemProperties.noTraceSupression .value calls back into NoStackTrace.noSuppression
29
+ // two-stage init to make checkinit happy, since sys.SystemProperties.noTraceSuppression .value calls back into NoStackTrace.noSuppression
30
30
final private var _noSuppression = false
31
- _noSuppression = sys.SystemProperties .noTraceSupression .value
31
+ _noSuppression = sys.SystemProperties .noTraceSuppression .value
32
32
}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ class S extends javax.swing.JApplet {
8
8
9
9
object Test extends SecurityTest {
10
10
val s = new S
11
- // lazy val TestKey = sys.SystemProperties.noTraceSupression .key
11
+ // lazy val TestKey = sys.SystemProperties.noTraceSuppression .key
12
12
// def hitPerm() = new Throwable with scala.util.control.ControlThrowable { }
13
13
//
14
14
// var throwing = false
You can’t perform that action at this time.
0 commit comments