Path: csiph.com!aioe.org!.POSTED!not-for-mail From: =?UTF-8?Q?Arne_Vajh=c3=b8j?= Newsgroups: comp.lang.java.programmer Subject: Re: Unexpected Boxing Error at Runtime Date: Thu, 4 Jan 2018 15:53:41 -0500 Organization: Aioe.org NNTP Server Lines: 11 Message-ID: References: <3eed94be-6e8d-4ca9-8acf-5cdb5786993f@googlegroups.com> NNTP-Posting-Host: PBuS014lhzVyHjLbXmo/ZQ.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 Content-Language: en-US X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.lang.java.programmer:37919 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). Arne