Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Boxing of call arguments
Boxing of call arguments [message #1827717] Thu, 21 May 2020 16:52 Go to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7681
Registered: July 2009
Senior Member
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 17:59 Go to previous messageGo to next message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
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 19:06 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7681
Registered: July 2009
Senior Member
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 14:35 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7681
Registered: July 2009
Senior Member
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: Thu Dec 26 13:24:40 GMT 2024

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

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

Back to the top