Results 1 to 2 of 2

Thread: DispatchStatus.jav interface replaced with DispatchStatus enum in post 3.2.1

  1. #1
    meenapl is offline Registered User
    Name: Prabhu lal
    Organization: RBS
    Project: FX
    Join Date
    Dec 2011
    Posts
    3

    DispatchStatus.java interface replaced with DispatchStatus enum in post 3.2.1

    I am trying to build my Java application with ice version 3.4.1 but one of library used in the application with internal dependency of ice 3.2.1 is not able to build with 3.4.1. The reason is that dispatchstatus interface has been removed from versions later than 3.2.1 and replaced with enum. is ICE not backward compatible? What is required to resolve this problem?

    cannot access IceInternal.DispatchStatus
    class file for IceInternal.DispatchStatus not found
    public class MyListener extends _IResponseListenerDisp implements JmxVisitable {
    Last edited by meenapl; 12-22-2011 at 04:05 AM.

  2. #2
    xdm's Avatar
    xdm
    xdm is offline ZeroC Staff
    Name: Jose Gutierrez de la Concha
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Sep 2003
    Location
    La Coruņa, Spain
    Posts
    588
    Hi

    Seems your library include generated code with Ice-3.2.1 and you try to build it with Ice-3.4.1, that isn't posible, binary compatibility is only granted for patch releases.

    Ice always maintains protocol ("on the wire") compatibility with prior releases.

    DispatchStatus interface in 3.2.1 emulate an enum, because JDk-1.4 has not enum support, as 3.4.0 we removed support for JDK-1.4 and switch to use native enums.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. slice2cs enum bug when in another namespace
    By linkman in forum Bug Reports
    Replies: 1
    Last Post: 04-16-2011, 09:22 AM
  2. Allow enum keys in dictionaries for PHP
    By trivian in forum Patches
    Replies: 1
    Last Post: 12-20-2009, 10:49 PM
  3. C++ mapping for a dictionary with an enum as the key
    By mefoster in forum Help Center
    Replies: 3
    Last Post: 10-14-2009, 10:38 AM
  4. Ice.Current.hashCode() can throw a NPE on null enum
    By joshmoore in forum Bug Reports
    Replies: 1
    Last Post: 08-20-2007, 03:46 AM
  5. Java: going from String to Enum Type
    By nightnday in forum Help Center
    Replies: 2
    Last Post: 03-21-2006, 02:32 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •