Re: Compilation failure with Jacorb 3.8 which was working in Jacorb 2.3.1

"Rungta, Prakash (Prakash)" <[email protected]> Tue, 14 Feb 2017 08:16:51 +0000
Newsgroups gmane.comp.corba.jacorb.devel
Message-ID <1ACB00C4E04C4046A0C096DA797A844033D11900@AZ-FFEXMB01.global.avaya.com>
Hello Team,

Would appreciate if someone can reply.


Thanks,
Prakash R


From: Rungta, Prakash (Prakash)
Sent: Monday, February 13, 2017 4:31 PM
To: [email protected]
Cc: Apshankar, Harshad (Harshad); Jena, Prasant Kumar (Prasant Kumar)
Subject: Compilation failure with Jacorb 3.8 which was working in Jacorb 2.3.1

Hello team,

Our  working environment had JDK 1.6.045  and Jacorb 2.3.1   on RHEL 5.11 32 bit.
Now ,I am using the  OpenJDK version(Open JDK 1.7_ b 121) and Jacorb 3.8 , but I am getting compilation errors.

I tried various combinations and  the result is document below. From the results it is clear that it is Jacorb 3.8 Issue .
Would appreciate if you could provide us with some guidance to fix the compilation issue.

RHEL 5.11 32 bit paltform for compilation

Java Version

Jacorb version

Compilation Results

Oracle JDK 1.6.45

2.3.1

Works

OpenJDK 1.7

2.3.1

Works

Oracle JDK 1.6.45

3.8

Fails

OpenJDK 1.7

3.8

Fails  which needs to be resolved


JAVA_ROOT and JAVA_HOME is set to /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.121/
JACORB HOME IS /tmp/openjdk/jacorb-3.8


The snippet of the errors are given below.(Complete logs are attached in the email)


./ServiceMonitor/_ServiceMonitoringIFStub.java:96: error: cannot find symbol
                                                                if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
                                                                                                          ^
  symbol:   class ServantObjectExt
  location: package org.omg.CORBA.portable
./ServiceMonitor/_ServiceMonitoringIFStub.java:97: error: cannot find symbol
                                                                                ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion();
                                                                                                        ^
  symbol:   class ServantObjectExt
  location: package org.omg.CORBA.portable
./ServiceMonitor/_ServiceMonitoringIFStub.java:102: error: cannot find symbol
                                                                if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
                                                                                                          ^
  symbol:   class ServantObjectExt
  location: package org.omg.CORBA.portable
./ServiceMonitor/_ServiceMonitoringIFStub.java:103: error: cannot find symbol
                                                                                ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex);
                                                                                                        ^
  symbol:   class ServantObjectExt
  location: package org.omg.CORBA.portable
./ServiceMonitor/_ServiceMonitoringIFStub.java:108: error: cannot find symbol
                                                                if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
Thanks,
Prakash R



_______________________________________________
jacorb-developer maillist  -  [email protected]
https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer