File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,8 @@ object SystemProperties {
8686 lazy val headless = bool(" java.awt.headless" , " system should not utilize a display device" )
8787 lazy val preferIPv4Stack = bool(" java.net.preferIPv4Stack" , " system should prefer IPv4 sockets" )
8888 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
9092}
9193
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ trait NoStackTrace extends Throwable {
2626object NoStackTrace {
2727 final def noSuppression = _noSuppression
2828
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
3030 final private var _noSuppression = false
31- _noSuppression = sys.SystemProperties .noTraceSupression .value
31+ _noSuppression = sys.SystemProperties .noTraceSuppression .value
3232}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ class S extends javax.swing.JApplet {
88
99object Test extends SecurityTest {
1010 val s = new S
11- // lazy val TestKey = sys.SystemProperties.noTraceSupression .key
11+ // lazy val TestKey = sys.SystemProperties.noTraceSuppression .key
1212 // def hitPerm() = new Throwable with scala.util.control.ControlThrowable { }
1313 //
1414 // var throwing = false
You can’t perform that action at this time.
0 commit comments