feat(jdk8): move files to new folder to avoid resources compiled.

This commit is contained in:
2025-09-07 15:25:52 +08:00
parent 3f0047bf6f
commit 8c35cfb1c0
17415 changed files with 217 additions and 213 deletions

View File

@@ -0,0 +1,25 @@
package org.omg.CosNaming.NamingContextPackage;
/**
* org/omg/CosNaming/NamingContextPackage/AlreadyBound.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/wsjdk/Corretto8Src/installers/windows/zip/corretto-build/buildRoot/corba/src/share/classes/org/omg/CosNaming/nameservice.idl
* Thursday, July 10, 2025 9:33:00 PM UTC
*/
public final class AlreadyBound extends org.omg.CORBA.UserException
{
public AlreadyBound ()
{
super(AlreadyBoundHelper.id());
} // ctor
public AlreadyBound (String $reason)
{
super(AlreadyBoundHelper.id() + " " + $reason);
} // ctor
} // class AlreadyBound

View File

@@ -0,0 +1,72 @@
package org.omg.CosNaming.NamingContextPackage;
/**
* org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/wsjdk/Corretto8Src/installers/windows/zip/corretto-build/buildRoot/corba/src/share/classes/org/omg/CosNaming/nameservice.idl
* Thursday, July 10, 2025 9:33:00 PM UTC
*/
abstract public class AlreadyBoundHelper
{
private static String _id = "IDL:omg.org/CosNaming/NamingContext/AlreadyBound:1.0";
public static void insert (org.omg.CORBA.Any a, org.omg.CosNaming.NamingContextPackage.AlreadyBound that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static org.omg.CosNaming.NamingContextPackage.AlreadyBound extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
private static boolean __active = false;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
synchronized (org.omg.CORBA.TypeCode.class)
{
if (__typeCode == null)
{
if (__active)
{
return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
}
__active = true;
org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [0];
org.omg.CORBA.TypeCode _tcOf_members0 = null;
__typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (org.omg.CosNaming.NamingContextPackage.AlreadyBoundHelper.id (), "AlreadyBound", _members0);
__active = false;
}
}
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static org.omg.CosNaming.NamingContextPackage.AlreadyBound read (org.omg.CORBA.portable.InputStream istream)
{
org.omg.CosNaming.NamingContextPackage.AlreadyBound value = new org.omg.CosNaming.NamingContextPackage.AlreadyBound ();
// read and discard the repository ID
istream.read_string ();
return value;
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CosNaming.NamingContextPackage.AlreadyBound value)
{
// write the repository ID
ostream.write_string (id ());
}
}

View File

@@ -0,0 +1,38 @@
package org.omg.CosNaming.NamingContextPackage;
/**
* org/omg/CosNaming/NamingContextPackage/AlreadyBoundHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/wsjdk/Corretto8Src/installers/windows/zip/corretto-build/buildRoot/corba/src/share/classes/org/omg/CosNaming/nameservice.idl
* Thursday, July 10, 2025 9:33:00 PM UTC
*/
public final class AlreadyBoundHolder implements org.omg.CORBA.portable.Streamable
{
public org.omg.CosNaming.NamingContextPackage.AlreadyBound value = null;
public AlreadyBoundHolder ()
{
}
public AlreadyBoundHolder (org.omg.CosNaming.NamingContextPackage.AlreadyBound initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = org.omg.CosNaming.NamingContextPackage.AlreadyBoundHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
org.omg.CosNaming.NamingContextPackage.AlreadyBoundHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return org.omg.CosNaming.NamingContextPackage.AlreadyBoundHelper.type ();
}
}

View File

@@ -0,0 +1,36 @@
package org.omg.CosNaming.NamingContextPackage;
/**
* org/omg/CosNaming/NamingContextPackage/CannotProceed.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/wsjdk/Corretto8Src/installers/windows/zip/corretto-build/buildRoot/corba/src/share/classes/org/omg/CosNaming/nameservice.idl
* Thursday, July 10, 2025 9:33:00 PM UTC
*/
public final class CannotProceed extends org.omg.CORBA.UserException
{
public org.omg.CosNaming.NamingContext cxt = null;
public org.omg.CosNaming.NameComponent rest_of_name[] = null;
public CannotProceed ()
{
super(CannotProceedHelper.id());
} // ctor
public CannotProceed (org.omg.CosNaming.NamingContext _cxt, org.omg.CosNaming.NameComponent[] _rest_of_name)
{
super(CannotProceedHelper.id());
cxt = _cxt;
rest_of_name = _rest_of_name;
} // ctor
public CannotProceed (String $reason, org.omg.CosNaming.NamingContext _cxt, org.omg.CosNaming.NameComponent[] _rest_of_name)
{
super(CannotProceedHelper.id() + " " + $reason);
cxt = _cxt;
rest_of_name = _rest_of_name;
} // ctor
} // class CannotProceed

View File

@@ -0,0 +1,88 @@
package org.omg.CosNaming.NamingContextPackage;
/**
* org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/wsjdk/Corretto8Src/installers/windows/zip/corretto-build/buildRoot/corba/src/share/classes/org/omg/CosNaming/nameservice.idl
* Thursday, July 10, 2025 9:33:00 PM UTC
*/
abstract public class CannotProceedHelper
{
private static String _id = "IDL:omg.org/CosNaming/NamingContext/CannotProceed:1.0";
public static void insert (org.omg.CORBA.Any a, org.omg.CosNaming.NamingContextPackage.CannotProceed that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static org.omg.CosNaming.NamingContextPackage.CannotProceed extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
private static boolean __active = false;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
synchronized (org.omg.CORBA.TypeCode.class)
{
if (__typeCode == null)
{
if (__active)
{
return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
}
__active = true;
org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [2];
org.omg.CORBA.TypeCode _tcOf_members0 = null;
_tcOf_members0 = org.omg.CosNaming.NamingContextHelper.type ();
_members0[0] = new org.omg.CORBA.StructMember (
"cxt",
_tcOf_members0,
null);
_tcOf_members0 = org.omg.CosNaming.NameComponentHelper.type ();
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_sequence_tc (0, _tcOf_members0);
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.CosNaming.NameHelper.id (), "Name", _tcOf_members0);
_members0[1] = new org.omg.CORBA.StructMember (
"rest_of_name",
_tcOf_members0,
null);
__typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.id (), "CannotProceed", _members0);
__active = false;
}
}
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static org.omg.CosNaming.NamingContextPackage.CannotProceed read (org.omg.CORBA.portable.InputStream istream)
{
org.omg.CosNaming.NamingContextPackage.CannotProceed value = new org.omg.CosNaming.NamingContextPackage.CannotProceed ();
// read and discard the repository ID
istream.read_string ();
value.cxt = org.omg.CosNaming.NamingContextHelper.read (istream);
value.rest_of_name = org.omg.CosNaming.NameHelper.read (istream);
return value;
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CosNaming.NamingContextPackage.CannotProceed value)
{
// write the repository ID
ostream.write_string (id ());
org.omg.CosNaming.NamingContextHelper.write (ostream, value.cxt);
org.omg.CosNaming.NameHelper.write (ostream, value.rest_of_name);
}
}

View File

@@ -0,0 +1,38 @@
package org.omg.CosNaming.NamingContextPackage;
/**
* org/omg/CosNaming/NamingContextPackage/CannotProceedHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/wsjdk/Corretto8Src/installers/windows/zip/corretto-build/buildRoot/corba/src/share/classes/org/omg/CosNaming/nameservice.idl
* Thursday, July 10, 2025 9:33:00 PM UTC
*/
public final class CannotProceedHolder implements org.omg.CORBA.portable.Streamable
{
public org.omg.CosNaming.NamingContextPackage.CannotProceed value = null;
public CannotProceedHolder ()
{
}
public CannotProceedHolder (org.omg.CosNaming.NamingContextPackage.CannotProceed initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.type ();
}
}

View File

@@ -0,0 +1,25 @@
package org.omg.CosNaming.NamingContextPackage;
/**
* org/omg/CosNaming/NamingContextPackage/InvalidName.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/wsjdk/Corretto8Src/installers/windows/zip/corretto-build/buildRoot/corba/src/share/classes/org/omg/CosNaming/nameservice.idl
* Thursday, July 10, 2025 9:33:00 PM UTC
*/
public final class InvalidName extends org.omg.CORBA.UserException
{
public InvalidName ()
{
super(InvalidNameHelper.id());
} // ctor
public InvalidName (String $reason)
{
super(InvalidNameHelper.id() + " " + $reason);
} // ctor
} // class InvalidName

View File

@@ -0,0 +1,72 @@
package org.omg.CosNaming.NamingContextPackage;
/**
* org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/wsjdk/Corretto8Src/installers/windows/zip/corretto-build/buildRoot/corba/src/share/classes/org/omg/CosNaming/nameservice.idl
* Thursday, July 10, 2025 9:33:00 PM UTC
*/
abstract public class InvalidNameHelper
{
private static String _id = "IDL:omg.org/CosNaming/NamingContext/InvalidName:1.0";
public static void insert (org.omg.CORBA.Any a, org.omg.CosNaming.NamingContextPackage.InvalidName that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static org.omg.CosNaming.NamingContextPackage.InvalidName extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
private static boolean __active = false;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
synchronized (org.omg.CORBA.TypeCode.class)
{
if (__typeCode == null)
{
if (__active)
{
return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
}
__active = true;
org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [0];
org.omg.CORBA.TypeCode _tcOf_members0 = null;
__typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.id (), "InvalidName", _members0);
__active = false;
}
}
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static org.omg.CosNaming.NamingContextPackage.InvalidName read (org.omg.CORBA.portable.InputStream istream)
{
org.omg.CosNaming.NamingContextPackage.InvalidName value = new org.omg.CosNaming.NamingContextPackage.InvalidName ();
// read and discard the repository ID
istream.read_string ();
return value;
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CosNaming.NamingContextPackage.InvalidName value)
{
// write the repository ID
ostream.write_string (id ());
}
}

View File

@@ -0,0 +1,38 @@
package org.omg.CosNaming.NamingContextPackage;
/**
* org/omg/CosNaming/NamingContextPackage/InvalidNameHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/wsjdk/Corretto8Src/installers/windows/zip/corretto-build/buildRoot/corba/src/share/classes/org/omg/CosNaming/nameservice.idl
* Thursday, July 10, 2025 9:33:00 PM UTC
*/
public final class InvalidNameHolder implements org.omg.CORBA.portable.Streamable
{
public org.omg.CosNaming.NamingContextPackage.InvalidName value = null;
public InvalidNameHolder ()
{
}
public InvalidNameHolder (org.omg.CosNaming.NamingContextPackage.InvalidName initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.type ();
}
}

View File

@@ -0,0 +1,25 @@
package org.omg.CosNaming.NamingContextPackage;
/**
* org/omg/CosNaming/NamingContextPackage/NotEmpty.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/wsjdk/Corretto8Src/installers/windows/zip/corretto-build/buildRoot/corba/src/share/classes/org/omg/CosNaming/nameservice.idl
* Thursday, July 10, 2025 9:33:00 PM UTC
*/
public final class NotEmpty extends org.omg.CORBA.UserException
{
public NotEmpty ()
{
super(NotEmptyHelper.id());
} // ctor
public NotEmpty (String $reason)
{
super(NotEmptyHelper.id() + " " + $reason);
} // ctor
} // class NotEmpty

View File

@@ -0,0 +1,72 @@
package org.omg.CosNaming.NamingContextPackage;
/**
* org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/wsjdk/Corretto8Src/installers/windows/zip/corretto-build/buildRoot/corba/src/share/classes/org/omg/CosNaming/nameservice.idl
* Thursday, July 10, 2025 9:33:00 PM UTC
*/
abstract public class NotEmptyHelper
{
private static String _id = "IDL:omg.org/CosNaming/NamingContext/NotEmpty:1.0";
public static void insert (org.omg.CORBA.Any a, org.omg.CosNaming.NamingContextPackage.NotEmpty that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static org.omg.CosNaming.NamingContextPackage.NotEmpty extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
private static boolean __active = false;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
synchronized (org.omg.CORBA.TypeCode.class)
{
if (__typeCode == null)
{
if (__active)
{
return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
}
__active = true;
org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [0];
org.omg.CORBA.TypeCode _tcOf_members0 = null;
__typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (org.omg.CosNaming.NamingContextPackage.NotEmptyHelper.id (), "NotEmpty", _members0);
__active = false;
}
}
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static org.omg.CosNaming.NamingContextPackage.NotEmpty read (org.omg.CORBA.portable.InputStream istream)
{
org.omg.CosNaming.NamingContextPackage.NotEmpty value = new org.omg.CosNaming.NamingContextPackage.NotEmpty ();
// read and discard the repository ID
istream.read_string ();
return value;
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CosNaming.NamingContextPackage.NotEmpty value)
{
// write the repository ID
ostream.write_string (id ());
}
}

View File

@@ -0,0 +1,38 @@
package org.omg.CosNaming.NamingContextPackage;
/**
* org/omg/CosNaming/NamingContextPackage/NotEmptyHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/wsjdk/Corretto8Src/installers/windows/zip/corretto-build/buildRoot/corba/src/share/classes/org/omg/CosNaming/nameservice.idl
* Thursday, July 10, 2025 9:33:00 PM UTC
*/
public final class NotEmptyHolder implements org.omg.CORBA.portable.Streamable
{
public org.omg.CosNaming.NamingContextPackage.NotEmpty value = null;
public NotEmptyHolder ()
{
}
public NotEmptyHolder (org.omg.CosNaming.NamingContextPackage.NotEmpty initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = org.omg.CosNaming.NamingContextPackage.NotEmptyHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
org.omg.CosNaming.NamingContextPackage.NotEmptyHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return org.omg.CosNaming.NamingContextPackage.NotEmptyHelper.type ();
}
}

View File

@@ -0,0 +1,36 @@
package org.omg.CosNaming.NamingContextPackage;
/**
* org/omg/CosNaming/NamingContextPackage/NotFound.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/wsjdk/Corretto8Src/installers/windows/zip/corretto-build/buildRoot/corba/src/share/classes/org/omg/CosNaming/nameservice.idl
* Thursday, July 10, 2025 9:33:00 PM UTC
*/
public final class NotFound extends org.omg.CORBA.UserException
{
public org.omg.CosNaming.NamingContextPackage.NotFoundReason why = null;
public org.omg.CosNaming.NameComponent rest_of_name[] = null;
public NotFound ()
{
super(NotFoundHelper.id());
} // ctor
public NotFound (org.omg.CosNaming.NamingContextPackage.NotFoundReason _why, org.omg.CosNaming.NameComponent[] _rest_of_name)
{
super(NotFoundHelper.id());
why = _why;
rest_of_name = _rest_of_name;
} // ctor
public NotFound (String $reason, org.omg.CosNaming.NamingContextPackage.NotFoundReason _why, org.omg.CosNaming.NameComponent[] _rest_of_name)
{
super(NotFoundHelper.id() + " " + $reason);
why = _why;
rest_of_name = _rest_of_name;
} // ctor
} // class NotFound

View File

@@ -0,0 +1,88 @@
package org.omg.CosNaming.NamingContextPackage;
/**
* org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/wsjdk/Corretto8Src/installers/windows/zip/corretto-build/buildRoot/corba/src/share/classes/org/omg/CosNaming/nameservice.idl
* Thursday, July 10, 2025 9:33:00 PM UTC
*/
abstract public class NotFoundHelper
{
private static String _id = "IDL:omg.org/CosNaming/NamingContext/NotFound:1.0";
public static void insert (org.omg.CORBA.Any a, org.omg.CosNaming.NamingContextPackage.NotFound that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static org.omg.CosNaming.NamingContextPackage.NotFound extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
private static boolean __active = false;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
synchronized (org.omg.CORBA.TypeCode.class)
{
if (__typeCode == null)
{
if (__active)
{
return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
}
__active = true;
org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [2];
org.omg.CORBA.TypeCode _tcOf_members0 = null;
_tcOf_members0 = org.omg.CosNaming.NamingContextPackage.NotFoundReasonHelper.type ();
_members0[0] = new org.omg.CORBA.StructMember (
"why",
_tcOf_members0,
null);
_tcOf_members0 = org.omg.CosNaming.NameComponentHelper.type ();
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_sequence_tc (0, _tcOf_members0);
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.CosNaming.NameHelper.id (), "Name", _tcOf_members0);
_members0[1] = new org.omg.CORBA.StructMember (
"rest_of_name",
_tcOf_members0,
null);
__typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (org.omg.CosNaming.NamingContextPackage.NotFoundHelper.id (), "NotFound", _members0);
__active = false;
}
}
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static org.omg.CosNaming.NamingContextPackage.NotFound read (org.omg.CORBA.portable.InputStream istream)
{
org.omg.CosNaming.NamingContextPackage.NotFound value = new org.omg.CosNaming.NamingContextPackage.NotFound ();
// read and discard the repository ID
istream.read_string ();
value.why = org.omg.CosNaming.NamingContextPackage.NotFoundReasonHelper.read (istream);
value.rest_of_name = org.omg.CosNaming.NameHelper.read (istream);
return value;
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CosNaming.NamingContextPackage.NotFound value)
{
// write the repository ID
ostream.write_string (id ());
org.omg.CosNaming.NamingContextPackage.NotFoundReasonHelper.write (ostream, value.why);
org.omg.CosNaming.NameHelper.write (ostream, value.rest_of_name);
}
}

View File

@@ -0,0 +1,38 @@
package org.omg.CosNaming.NamingContextPackage;
/**
* org/omg/CosNaming/NamingContextPackage/NotFoundHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/wsjdk/Corretto8Src/installers/windows/zip/corretto-build/buildRoot/corba/src/share/classes/org/omg/CosNaming/nameservice.idl
* Thursday, July 10, 2025 9:33:00 PM UTC
*/
public final class NotFoundHolder implements org.omg.CORBA.portable.Streamable
{
public org.omg.CosNaming.NamingContextPackage.NotFound value = null;
public NotFoundHolder ()
{
}
public NotFoundHolder (org.omg.CosNaming.NamingContextPackage.NotFound initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
org.omg.CosNaming.NamingContextPackage.NotFoundHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return org.omg.CosNaming.NamingContextPackage.NotFoundHelper.type ();
}
}

View File

@@ -0,0 +1,46 @@
package org.omg.CosNaming.NamingContextPackage;
/**
* org/omg/CosNaming/NamingContextPackage/NotFoundReason.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/wsjdk/Corretto8Src/installers/windows/zip/corretto-build/buildRoot/corba/src/share/classes/org/omg/CosNaming/nameservice.idl
* Thursday, July 10, 2025 9:33:00 PM UTC
*/
/**
* Indicates the reason for not able to resolve.
*/
public class NotFoundReason implements org.omg.CORBA.portable.IDLEntity
{
private int __value;
private static int __size = 3;
private static org.omg.CosNaming.NamingContextPackage.NotFoundReason[] __array = new org.omg.CosNaming.NamingContextPackage.NotFoundReason [__size];
public static final int _missing_node = 0;
public static final org.omg.CosNaming.NamingContextPackage.NotFoundReason missing_node = new org.omg.CosNaming.NamingContextPackage.NotFoundReason(_missing_node);
public static final int _not_context = 1;
public static final org.omg.CosNaming.NamingContextPackage.NotFoundReason not_context = new org.omg.CosNaming.NamingContextPackage.NotFoundReason(_not_context);
public static final int _not_object = 2;
public static final org.omg.CosNaming.NamingContextPackage.NotFoundReason not_object = new org.omg.CosNaming.NamingContextPackage.NotFoundReason(_not_object);
public int value ()
{
return __value;
}
public static org.omg.CosNaming.NamingContextPackage.NotFoundReason from_int (int value)
{
if (value >= 0 && value < __size)
return __array[value];
else
throw new org.omg.CORBA.BAD_PARAM ();
}
protected NotFoundReason (int value)
{
__value = value;
__array[__value] = this;
}
} // class NotFoundReason

View File

@@ -0,0 +1,57 @@
package org.omg.CosNaming.NamingContextPackage;
/**
* org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/wsjdk/Corretto8Src/installers/windows/zip/corretto-build/buildRoot/corba/src/share/classes/org/omg/CosNaming/nameservice.idl
* Thursday, July 10, 2025 9:33:00 PM UTC
*/
/**
* Indicates the reason for not able to resolve.
*/
abstract public class NotFoundReasonHelper
{
private static String _id = "IDL:omg.org/CosNaming/NamingContext/NotFoundReason:1.0";
public static void insert (org.omg.CORBA.Any a, org.omg.CosNaming.NamingContextPackage.NotFoundReason that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static org.omg.CosNaming.NamingContextPackage.NotFoundReason extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
__typeCode = org.omg.CORBA.ORB.init ().create_enum_tc (org.omg.CosNaming.NamingContextPackage.NotFoundReasonHelper.id (), "NotFoundReason", new String[] { "missing_node", "not_context", "not_object"} );
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static org.omg.CosNaming.NamingContextPackage.NotFoundReason read (org.omg.CORBA.portable.InputStream istream)
{
return org.omg.CosNaming.NamingContextPackage.NotFoundReason.from_int (istream.read_long ());
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CosNaming.NamingContextPackage.NotFoundReason value)
{
ostream.write_long (value.value ());
}
}

View File

@@ -0,0 +1,42 @@
package org.omg.CosNaming.NamingContextPackage;
/**
* org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/wsjdk/Corretto8Src/installers/windows/zip/corretto-build/buildRoot/corba/src/share/classes/org/omg/CosNaming/nameservice.idl
* Thursday, July 10, 2025 9:33:00 PM UTC
*/
/**
* Indicates the reason for not able to resolve.
*/
public final class NotFoundReasonHolder implements org.omg.CORBA.portable.Streamable
{
public org.omg.CosNaming.NamingContextPackage.NotFoundReason value = null;
public NotFoundReasonHolder ()
{
}
public NotFoundReasonHolder (org.omg.CosNaming.NamingContextPackage.NotFoundReason initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = org.omg.CosNaming.NamingContextPackage.NotFoundReasonHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
org.omg.CosNaming.NamingContextPackage.NotFoundReasonHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return org.omg.CosNaming.NamingContextPackage.NotFoundReasonHelper.type ();
}
}