Opened 14 years ago

Closed 14 years ago

#42 closed defect (duplicate)

Testing eCS Java 6 (1.6 beta) with a swing intensive application like iTrain

Reported by: gerritsch Owned by:
Priority: critical Milestone: Enhanced
Component: general Version:
Severity: Keywords: Swing, AWT, serial port support
Cc:

Description

I'm running my modeltrains with the in Java written program iTrain (http://www.berros.eu/itrain/download/preview/iTrain_install.jar). So I was very curious to see if it would run on eCS. Just tested the 1.6 JRE beta with the latest Beta version 2.0.0-b44 of iTrain (build 2011/01/02). Here are some results:

  1. Installation of iTrain runs fine, except the progress bars, they were empty and therefore nothing visible happened.
  2. iTrain is coming with two special Java DLL's for serial port support (JSPOS2J.DLL and SCCOMIO.DLL) for OS/2. Still there is no serial port connection possible. Both DLL's were put in the /JRE/bin directory and Java 1.6 crashed as soon as in the iTrain application the menu to check the serial interface was opened. Below you will find the output of the commandline during the crash:

OpenJDK Client VM (build 16.0-b13, mixed mode)

[D:\Programs\ITRAIN2TEST]java -jar D:\Programs\iTrain2test\itrain.jar
Serialio Library: version 9.9.9: build 9193
Copyright (c) 1996-2008 Serialio.com, All Rights Reserved.
os.name="OS/2", os.arch="x86"
SerialPort class loaded: jspos2j
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x10cce647, pid=1140, tid=74711
056
#
# JRE version: 6.0
# Java VM: OpenJDK Client VM (16.0-b13 mixed mode os2-x86 )
# Problematic frame:
# V [JVM+0x25e647]
#
# An error report file with more information is saved as:
# C:\var\temp\hs_err_pid1140.log
SYS1808:
The process has stopped. The software diagnostic
code (exception code) is 001E.

  1. iTrain is a heavy swing application. On the eCS 2.0 platform with Java 1.6 beta no "drag and drop" was possible within the iTrain application (e.g. it should be possible to drag a locomotive from the loc list to the throttle window, see also attached screenshot). Furthermore some context menu's disappear as soon as they were tried to open.

These are my first impressions with Java 1.6 beta for OS/2 & eCS tested on a T42 IBM Thinkpad


Change History (1)

comment:1 by Silvan Scherrer, 14 years ago

Resolution: duplicate
Status: newclosed

same as ticket:43

Note: See TracTickets for help on using tickets.