Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Daniele Futtorovic Newsgroups: comp.lang.java.programmer Subject: Re: Unexpected Boxing Error at Runtime Date: Fri, 5 Jan 2018 16:06:09 +0100 Organization: A noiseless patient Spider Lines: 17 Message-ID: References: <3eed94be-6e8d-4ca9-8acf-5cdb5786993f@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 5 Jan 2018 15:07:23 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="0d8b91c445f650afa75a2685f4f70799"; logging-data="4301"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+bJXftBJPXr9+Ir2R3fzBH" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 In-Reply-To: X-Antivirus-Status: Clean Content-Language: en-GB X-Antivirus: AVG (VPS 180105-0, 01/05/2018), Outbound message Cancel-Lock: sha1:08etxs8q8fc9b78KXOxtniIG0Vg= Xref: csiph.com comp.lang.java.programmer:37923 On 2018-01-04 21:53, Arne Vajhøj wrote: > On 1/4/2018 3:43 PM, Daniele Futtorovic wrote: >> Like the bloody .NET compiler that throws an exception when you overflow >> an integer (by default at least). > > That depends on what .NET compiler. > > For C# the default is no check (compiler - IDE may set the flag by > default). > > For VB.NET the default is check (again compiler itself). Really? Hmm. Well, it might have been VB. Thanks for the correction. -- DF.