Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Boxing of call arguments
Boxing of call arguments [message #1827717] Thu, 21 May 2020 12:52 Go to next message
Eclipse UserFriend
Hi

Has the boxing of call arguments changed since 4.15?

In https://bugs.eclipse.org/bugs/show_bug.cgi?id=563068 I am currently struggling with miraculous regressions that only make sense if JDT previously boxed boolean to Boolean outside the function call, but now boxes inside the called function. i.e new code calling new code is ok, old code calling old code is ok, but new code called by old code is not ok.

Regards

Ed Willink
Re: Boxing of call arguments [message #1827724 is a reply to message #1827717] Thu, 21 May 2020 13:59 Go to previous messageGo to next message
Eclipse UserFriend
I'm not aware of recent changes directly concerning boxing, but checks for unnecessary casts have changed. Do you care to show an example?
Re: Boxing of call arguments [message #1827726 is a reply to message #1827724] Thu, 21 May 2020 15:06 Go to previous messageGo to next message
Eclipse UserFriend
Hi

Yes. I'm pretty confident now after a day of my struggles and probably similar time of IT struggles

https://bugs.eclipse.org/bugs/show_bug.cgi?id=563442

Running OCL, built post M2, on almost any vintage of Xtext fails.

Regards

Ed
Re: Boxing of call arguments [message #1827754 is a reply to message #1827726] Fri, 22 May 2020 10:35 Go to previous message
Eclipse UserFriend
Hi

Wrong. JDT is without fault. The problem is an Xtext API evolution. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=563476

Regards

Ed Willink
Previous Topic:OpenHTMLtoPDF
Next Topic:JAR File Import Problem
Goto Forum:
  


Current Time: Sun Aug 31 09:51:33 EDT 2025

Powered by FUDForum. Page generated in 0.02631 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top