CORBA 互換性情報 - J2SE v.1.4.0 |
![]() |
OMG 仕様 1.7 節「Mapping for Enum」(ptc/00-01-08.pdf) に準拠して、次の Enum コンストラクタが protected に変更されました。
| クラス | 変更前 | 変更後 |
|---|---|---|
| BindingType.java | private BindingType( int ) | protected BindingType( int ) |
| NotFoundReason.java | private NotFoundReason( int ) | protected NotFoundReason( int ) |
| クラス | 変更前 | 変更後 |
|---|---|---|
| _BindingIteratorStub.java | public _BindingIteratorStub(org.omg.CORBA.portable.Delegate d) | このコンストラクタは削除されました。 |
| _NamingContextStub.java | public _NamingContextStub(org.omg.CORBA.portable.Delegate d) | このコンストラクタは削除されました。 |
| クラス | 変更前 | 変更後 |
|---|---|---|
| AlreadyBound.java | public final class AlreadyBound extends org.omg.CORBA.UserException implements org.omg.CORBA.portable.IDLEntity | public final class AlreadyBound extends org.omg.CORBA.UserException |
| AlreadyBound.java | デフォルトのコンストラクタのみ | 新規コンストラクタ public AlreadyBound (String reason) を追加 |
| CannotProceed.java | public final class CannotProceed extends org.omg.CORBA.UserException implements org.omg.CORBA.portable.IDLEntity | public final class CannotProceed extends org.omg.CORBA.UserException |
| CannotProceed.java | デフォルトのコンストラクタのみ | 新規コンストラクタ public CannotProceed (String reason) を追加 |
| InvalidName.java | public final class InvalidName extends org.omg.CORBA.UserException implements org.omg.CORBA.portable.IDLEntity | public final class InvalidName extends org.omg.CORBA.UserException |
| InvalidName.java | デフォルトのコンストラクタのみ | 新規コンストラクタ public InvalidName (String reason) を追加 |
| NotEmpty.java | public final class NotEmpty extends org.omg.CORBA.UserException implements org.omg.CORBA.portable.IDLEntity | public final class NotEmpty extends org.omg.CORBA.UserException |
| NotEmpty.java | デフォルトのコンストラクタのみ | 新規コンストラクタ public NotEmpty (String reason) を追加 |
| NotFound.java | public final class NotFound extends org.omg.CORBA.UserException implements org.omg.CORBA.portable.IDLEntity | public final class NotFound extends org.omg.CORBA.UserException |
| NotFound.java | デフォルトのコンストラクタのみ | 新規コンストラクタ public NotFound (String, org.omg.CosNaming.NamingContextPackage.NotFoundReason, org.omg.CosNaming.NameComponent[]) を追加 |
CORBA 2.3 仕様に準拠して、次のクラスが推奨されなくなりました。
private static String _id = "IDL:omg.org/CORBA/IDLType:2.3";
これが、今後次のように記述されます。
private static String _id = "IDL:omg.org/CORBA/IDLType:1.0";
この変更により、既存の実装との相互運用時に、互換性の問題が発生する可能性があります。COMM_FAILURE 例外 (または類似の例外) がスローされた場合、アプリケーションおよび IR を再起動してください。(CCC 4372718)
これらの変更により、互換性に影響があります。コンパイラを使用する既存のプログラムでは、互換性を維持するため、idlj に -oldImplBase フラグを追加することが必要になる場合があります。(CCC 4407835)
J2SE v.1.4 の Calendar は、ZoneInfo オブジェクトをその writeObject メソッドに書き込みます。同様に、readObject を呼び出して、ZoneInfo オブジェクトを読み込みます。Java のオブジェクト直列化に基づき、Calendar は、ストリームが EOFException をスローしてストリームの位置をそのまま維持できるように、旧バージョンとやりとりする場合には、ZoneInfo オブジェクトがそこに存在しないものとみなします。
|
Copyright © 2001
Sun Microsystems, Inc.
All Rights Reserved.
質問またはコメントの送付先: JavaIDL@eng.sun.com. |
Java Software |