New Java 8u211 - calculated icons do not show any more

Questions, answers, tips and ideas on Servoy Client

New Java 8u211 - calculated icons do not show any more

Postby Bernd.N » Fri Apr 26, 2019 2:23 pm

We use calculated fields to generate icons that we can show in lists (table views), with functions e.g.:

Code: Select all
function tr_clcs_confirmed_icon()
{
   if (tr_confirmed_by_id === null)
   {
      return null;
   }
   else {

      return '<html> <img src = "media:///check_008000_16.png"></html>';   
   }
}


Those calculated fields show up as icons like this:
icons.jpg
icons.jpg (45.17 KiB) Viewed 109 times


Three users who installed the latest Java 8u211 reported that all icons are gone after the update, showing me this screenshot:
no_icons.jpg
no_icons.jpg (14.3 KiB) Viewed 109 times


Did someone experience the same, or did I miss an important note that Java Version 211 does not support such icons any more?

As we use such icons a lot, we would be in heavy waters when that is not working any more.
We use Servoy 7.4.8
Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 511
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany

Re: New Java 8u211 - calculated icons do not show any more

Postby patrick » Fri Apr 26, 2019 2:32 pm

Bad news is that sounds like this: https://support.servoy.com/browse/SVY-13657
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3668
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Re: New Java 8u211 - calculated icons do not show any more

Postby Bernd.N » Fri Apr 26, 2019 2:46 pm

Thank you for the very fast answer!
Johan wrote in JIRA: "What you can try is to use the bootstrapper in standalone mode then it should work."

Does someone know why the bootstrapper will solve this?
We had an issue with the bootstrapper which resulted in not using it any more.

Now as Oracle charges money for Java, the interesting question will also be if they feel obligated to fix bugs like that... and under which reaction time frame... :wink:

Our current solution is to not install Java 211, hopefully we are not the only one affected and Oracle will have it fixed in Java 221.
Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 511
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany

Re: New Java 8u211 - calculated icons do not show any more

Postby patrick » Fri Apr 26, 2019 3:55 pm

The standalone bootstrapper does not involve java webstart at all, so any problems arising from it will not affect a Servoy client instance.
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3668
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Re: New Java 8u211 - calculated icons do not show any more

Postby lwjwillemsen » Fri Apr 26, 2019 4:05 pm

Wow, they (Oracle) backported this bug from Java 9 to Java 8u211. :twisted:
This bug was fixed (and tested ok by us) in Java 10.

Regards,
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 621
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands


Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 1 guest