Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Support for Java compact1 profile (use MPC feature full_jre=0)
- Loading branch information
Showing
19 changed files
with
156 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/classes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
project: java, dds_macros, install { | ||
|
||
avoids += full_jre | ||
|
||
libout = $(DDS_ROOT)/lib | ||
|
||
specific { | ||
jarname = i2jrt_compact | ||
} | ||
|
||
Java_Files { | ||
org/omg/CORBA | ||
} | ||
|
||
verbatim(gnuace, postinstall) { | ||
" cp $(DDS_ROOT)/lib/i2jrt_compact.jar $(INSTALL_PREFIX)/lib" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package org.omg.CORBA; | ||
|
||
public final class BAD_INV_ORDER extends SystemException { | ||
|
||
public BAD_INV_ORDER() { | ||
this(""); | ||
} | ||
|
||
public BAD_INV_ORDER(String s) { | ||
this(s, 0, CompletionStatus.COMPLETED_NO); | ||
} | ||
|
||
public BAD_INV_ORDER(int i, CompletionStatus c) { | ||
this("", i, c); | ||
} | ||
|
||
public BAD_INV_ORDER(String s, int i, CompletionStatus c) { | ||
super(s, i, c); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package org.omg.CORBA; | ||
|
||
public final class CompletionStatus { | ||
|
||
public static final int _COMPLETED_YES = 0, | ||
_COMPLETED_NO = 1, | ||
_COMPLETED_MAYBE = 2; | ||
|
||
public static final CompletionStatus COMPLETED_YES = | ||
new CompletionStatus(_COMPLETED_YES); | ||
public static final CompletionStatus COMPLETED_NO = | ||
new CompletionStatus(_COMPLETED_NO); | ||
public static final CompletionStatus COMPLETED_MAYBE = | ||
new CompletionStatus(_COMPLETED_MAYBE); | ||
|
||
public int value() { return value_; } | ||
private CompletionStatus(int value) { value_ = value; } | ||
private final int value_; | ||
|
||
public static final CompletionStatus from_int(int i) { | ||
switch (i) { | ||
case _COMPLETED_YES: return COMPLETED_YES; | ||
case _COMPLETED_NO: return COMPLETED_NO; | ||
case _COMPLETED_MAYBE: return COMPLETED_MAYBE; | ||
default: throw new BAD_PARAM(25, COMPLETED_MAYBE); | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package org.omg.CORBA; | ||
|
||
public interface Context { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package org.omg.CORBA; | ||
|
||
public interface ContextList { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package org.omg.CORBA; | ||
|
||
public interface DomainManager { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package org.omg.CORBA; | ||
|
||
public interface ExceptionList { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package org.omg.CORBA; | ||
|
||
public interface NVList { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package org.omg.CORBA; | ||
|
||
public interface NamedValue { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package org.omg.CORBA; | ||
|
||
public interface Object { | ||
boolean _is_a(String Identifier); | ||
boolean _is_equivalent(org.omg.CORBA.Object that); | ||
boolean _non_existent(); | ||
int _hash(int maximum); | ||
org.omg.CORBA.Object _duplicate(); | ||
void _release(); | ||
org.omg.CORBA.Object _get_interface_def(); | ||
Request _request(String s); | ||
Request _create_request(Context ctx, String operation, | ||
NVList arg_list, NamedValue result); | ||
Request _create_request(Context ctx, String operation, NVList arg_list, | ||
NamedValue result, ExceptionList exclist, | ||
ContextList ctxlist); | ||
Policy _get_policy(int policy_type); | ||
DomainManager[] _get_domain_managers(); | ||
org.omg.CORBA.Object _set_policy_override(Policy[] policies, | ||
SetOverrideType set_add); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package org.omg.CORBA; | ||
|
||
public interface Policy { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package org.omg.CORBA; | ||
|
||
public interface Request { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package org.omg.CORBA; | ||
|
||
public interface SetOverrideType { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package org.omg.CORBA; | ||
|
||
public final class StringSeqHolder { | ||
|
||
public String[] value; | ||
public StringSeqHolder() {} | ||
public StringSeqHolder(String[] initial) { | ||
value = initial; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package org.omg.CORBA; | ||
|
||
public abstract class SystemException extends RuntimeException { | ||
|
||
public int minor; | ||
public CompletionStatus completed; | ||
|
||
protected SystemException(String s, int i, CompletionStatus c) { | ||
super(s); | ||
minor = i; | ||
completed = c; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
/OpenDDS_DCPS.jar | ||
/tao_java.jar | ||
/i2jrt.jar | ||
/i2jrt*.jar |