Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ULC locking up with Java 8.171
#1
Guys,

We're experiencing the same lockup with the latest release of Java that we did with 161. I created a simple test program to demonstrate the issue. Run the program, click in the text window, click something else in your environment, click back in the text window...at this point you'll be frozen. This is happening in Windows across a variety of versions. Please take a look at this ASAP, and let us know if you can confirm the problem. 

James


package aa.test;


import com.ulcjava.base.application.AbstractApplication;
import com.ulcjava.base.application.ULCBoxPane;
import com.ulcjava.base.application.ULCFrame;
import com.ulcjava.base.application.ULCTextField;
import com.ulcjava.base.application.datatype.ULCStringDataType;
import com.ulcjava.base.application.event.FocusEvent;
import com.ulcjava.base.application.event.IFocusListener;
import com.ulcjava.base.development.DevelopmentRunner;
import com.ulcjava.base.shared.internal.VersionInfo;

import java.io.Serializable;


public class TestULC extends AbstractApplication implements Serializable
{
    private static final long serialVersionUID = VersionInfo.sSerialVersionUID;

    private ULCFrame frame;
    private ULCBoxPane boxPane;

    public void start()
    {
        frame = new ULCFrame("Text Field Test");

        ULCTextField tf = new ULCTextField();

        tf.addFocusListener(new IFocusListener()
        {
            int counter = 1;

            @Override
            public void focusGained(FocusEvent focusEvent)
            {
                System.out.println("In focus gained " + counter++);
            }

            @Override
            public void focusLost(FocusEvent focusEvent)
            {
                System.out.println("In focus lost " + counter++);
            }
        });

        ULCStringDataType newType = new ULCStringDataType(30);
        tf.setDataType(newType);

        boxPane = new ULCBoxPane(true);
        boxPane.add(ULCBoxPane.BOX_EXPAND_EXPAND, tf);

        frame.setDefaultCloseOperation(ULCFrame.TERMINATE_ON_CLOSE);
        frame.add(boxPane);
        frame.setVisible(true);
    }

    public static void main(String[] args)
    {
        DevelopmentRunner.setApplicationClass(TestULC.class);
        DevelopmentRunner.main(args);
    }
}
Reply
#2
Hi James,

Use Java 8 u 172. The bug has been fixed in that version.

In ULC 8.0.5 we applied the patch only for Java 8 u 161/162. It was said that next release will be Java 8 u 172 and the bug will be fixed in that release. So obviously we did not account for release Java 8 u 171.

Thanks

Janak
Reply
#3
Hi James,

Please use ULC 8.0.5.1 jars from https://ci.canoo.com/nexus/content/repos...canoo/ulc/

Thanks

Janak
Reply
#4
(04-24-2018, 03:17 PM)janak.mulani Wrote: Hi James,

Please use ULC 8.0.5.1 jars from https://ci.canoo.com/nexus/content/repos...canoo/ulc/

Thanks

Janak

Hi Janak,

we have also some customers which are using Java 8.171 and having the same issue.
Is this(ULC 8.0.5.1) an official and supported version of RIA-Suite that we can download and use to deploy our application?

Regards,
Wolfgang
Reply
#5
Hello Wolfgang,

Yes this is an officia; supported version. You can take it from Canoo's Nexus repository.

Thanks

Janak
Reply
#6
(05-16-2018, 10:47 AM)janak.mulani Wrote: Hello Wolfgang,

Yes this is an official, supported version. You can take it from Canoo's Nexus repository.

Thanks

Janak

Ok, thanks!

Wolfgang
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Locking up with 1.8.0_161 Java Update James 11 4'628 04-19-2018, 07:50 AM
Last Post: janak.mulani

Forum Jump: