/* DO NOT EDIT THIS FILE - it is machine generated (JCGO_116) */

#ifdef JCGO_SEPARATED
#define JCGO_116
#include "jcgortl.h"
#include "Main.h"
#endif

#ifdef JCGO_116

#ifdef CHKALL_java_net_URLStreamHandler
#include "jcgobchk.h"
#endif

JCGO_NOSEP_INLINE java_lang_String CFASTCALL
java_net_URLStreamHandler__canonicalizeFilename__Ls( java_lang_String
 file )
{
 {
  jint index;
  while ((index= (JCGO_CALL_FINALF(file) java_lang_String__indexOf__Ls(
   file, JCGO_STRREF_OF(jcgo_string2_URLStrHn)))) >= 0)
  {
   jObject jcgo_rcvrL1;
   file= (jcgo_rcvrL1= (jObject)(java_lang_String__substring__II(
    file, 0, index)), java_lang_VMSystem__concat0X__LsLs(
    (java_lang_String)jcgo_rcvrL1, (java_lang_String__substring__I(
    file, index + (jint)2))));
  }
  while ((index= (JCGO_CALL_FINALF(file) java_lang_String__indexOf__Ls(
   file, JCGO_STRREF_OF(jcgo_string3_URLStrHn)))) >= 0)
  {
   jint previous;
   previous= (java_lang_String__lastIndexOf__II(
    file, (jchar)47/*'/'*/, index - (jint)1));
   if (previous >= 0)
   {
    jObject jcgo_rcvrL1;
    file= (jcgo_rcvrL1= (jObject)(java_lang_String__substring__II(
     file, 0, previous)), java_lang_VMSystem__concat0X__LsLs(
     (java_lang_String)jcgo_rcvrL1, (java_lang_String__substring__I(
     file, index + (jint)3))));
   }
   else
   {
    break;
   }
  }
  return file;
 }
}

JCGO_NOSEP_INLINE void CFASTCALL
java_net_URLStreamHandler__setURL__L6799iLsLsILsLsLsLsLs( java_net_URLStreamHandler
 This, java_net_URL u, java_lang_String protocol, java_lang_String
 host, java_lang_String authority, java_lang_String userInfo, java_lang_String
 path, java_lang_String query, java_lang_String ref, jint port )
{
 {
  (JCGO_CALL_FINALF(u) java_net_URL__set__LsLsILsLsLsLsLs(
   u, protocol, host, authority, userInfo, path, query, ref, port));
 }
}

JCGO_NOSEP_STATIC java_net_URLStreamHandler CFASTCALL
java_net_URLStreamHandler__this__( java_net_URLStreamHandler This
 )
{
 {
  ;
 }
 return This;
}

JCGO_NOSEP_FRWINL void CFASTCALL
java_net_URLStreamHandler__parseURL__L6799iLsII( java_net_URLStreamHandler
 This, java_net_URL url, java_lang_String spec, jint start, jint end
 )
{
 {
  java_lang_String host;
  java_lang_String file;
  java_lang_String ref;
  java_lang_String userInfo;
  java_lang_String authority;
  java_lang_String query;
  JCGO_TRY_VOLATILE jint port;
  jchar separator;
  jObject jcgo_rcvrL1;
  host= (JCGO_CALL_FINALF(url) java_net_URL__getHost__(
   url));
  port= (java_net_URL__getPort__(
   url));
  file= (java_net_URL__getFile__(
   url));
  ref= (java_net_URL__getRef__(
   url));
  userInfo= (java_net_URL__getUserInfo__(
   url));
  authority= (java_net_URL__getAuthority__(
   url));
  query= (java_lang_String)jnull;
  separator= JCGO_CLINIT_VARACC(java_io_File__class, java_io_File__separatorChar);
  if ((jcgo_rcvrL1= (jObject)(java_net_URL__getProtocol__(
   url)), JCGO_CALL_FINALF((java_lang_String)jcgo_rcvrL1) java_lang_String__equals__Lo(
   (java_lang_String)jcgo_rcvrL1, (java_lang_Object)JCGO_STRREF_OF(jcgo_string4_URLStrHn))) &&
   separator != (jchar)47/*'/'*/)
  {
   file= (JCGO_CALL_FINALF(file) java_lang_String__replace__CC(
    file, separator, (jchar)47/*'/'*/));
   spec= (JCGO_CALL_FINALF(spec) java_lang_String__replace__CC(
    spec, separator, (jchar)47/*'/'*/));
  }
  if ((JCGO_CALL_FINALF(spec) java_lang_String__regionMatches__ILsII(
   spec, JCGO_STRREF_OF(jcgo_string5_URLStrHn), start, 0, (jint)2)))
  {
   java_lang_String genuineHost;
   jint hostEnd;
   jint colon;
   jint at_host;
   jint slash;
   start+= (jint)2;
   slash= (java_lang_String__indexOf__II(
    spec, (jchar)47/*'/'*/, start));
   if (slash >= 0)
   {
    hostEnd= slash;
   }
   else
   {
    hostEnd= end;
   }
   authority= host= (java_lang_String__substring__II(
    spec, start, hostEnd));
   if ((at_host= (java_lang_String__indexOf__I(
    host, (jchar)64/*'@'*/))) >= 0)
   {
    genuineHost= (java_lang_String__substring__I(
     host, at_host));
    userInfo= (java_lang_String__substring__II(
     host, 0, at_host));
   }
   else
   {
    genuineHost= host;
   }
   if ((colon= (java_lang_String__indexOf__I(
    genuineHost, (jchar)58/*':'*/))) >= 0)
   {
    {
     JCGO_TRY_BLOCK
     {
      port= (java_lang_Integer__parseInt__Ls(
       (java_lang_String__substring__I(
       genuineHost, colon + (jint)1))));
     }
     JCGO_TRY_LEAVE
     JCGO_TRY_CATCHES(1)
     JCGO_TRY_CATCH(OBJT_java_lang_NumberFormatException, MAXT_java_lang_NumberFormatException)
     {
     }
     JCGO_TRY_RETHROW(1)
    }
    if (at_host >= 0)
    {
     host= (java_lang_String__substring__II(
      host, 0, at_host + colon));
    }
    else
    {
     host= (java_lang_String__substring__II(
      host, 0, colon));
    }
   }
   file= (java_lang_String)jnull;
   start= hostEnd;
  }
  else
  {
   if (host == jnull)
   {
    host= JCGO_STRREF_OF(jcgo_string3_String6D);
   }
  }
  if (file == jnull || (java_lang_String__length__(
   file)) == 0 || (start < end && (java_lang_String__charAt__I(
   spec, start)) == (jchar)47/*'/'*/))
  {
   file= (java_lang_String__substring__II(
    spec, start, end));
   ref= (java_lang_String)jnull;
  }
  else
  {
   if (start < end)
   {
    jint lastSlash;
    lastSlash= (java_lang_String__lastIndexOf__I(
     file, (jchar)47/*'/'*/));
    if (lastSlash < 0)
    {
     file= (java_lang_String__substring__II(
      spec, start, end));
    }
    else
    {
     jObject jcgo_rcvrL1;
     struct java_lang_StringBuilder_s jcgo_stackobj1;
     struct java_lang_String_s jcgo_stackobj2;
     file= (jcgo_rcvrL1= (jObject)(jcgo_rcvrL1= (jObject)(java_lang_String__substring__II(
      file, 0, lastSlash)), java_lang_StringBuilder__append__Ls(
      java_lang_StringBuilder__append__Ls(
      java_lang_StringBuilder__this__(
      JCGO_STACKOBJ_NEW(jcgo_stackobj1, java_lang_StringBuilder_methods)),
      (java_lang_String)jcgo_rcvrL1), (java_lang_String__valueOf__CX(
      (jchar)47/*'/'*/, JCGO_STACKOBJ_NEW(jcgo_stackobj2, java_lang_String_methods))))),
      java_lang_String__new__L5dy9e(
      java_lang_StringBuilder__append__Ls(
      (java_lang_StringBuilder)jcgo_rcvrL1, (java_lang_String__substring__II(
      spec, start, end)))));
    }
    file= (java_net_URLStreamHandler__canonicalizeFilename__Ls(
     file));
    ref= (java_lang_String)jnull;
   }
  }
  if (ref == jnull)
  {
   jint hash;
   hash= (java_lang_String__indexOf__I(
    file, (jchar)35/*'#'*/));
   if (hash != (-(jint)1))
   {
    ref= (java_lang_String__substring__II(
     file, hash + (jint)1, (java_lang_String__length__(
     file))));
    file= (java_lang_String__substring__II(
     file, 0, hash));
   }
  }
  if (ref == jnull)
  {
   jint queryTag;
   queryTag= (java_lang_String__indexOf__I(
    file, (jchar)63/*'?'*/));
   if (queryTag != (-(jint)1))
   {
    query= (java_lang_String__substring__I(
     file, queryTag + (jint)1));
    file= (java_lang_String__substring__II(
     file, 0, queryTag));
   }
  }
  (java_net_URLStreamHandler__setURL__L6799iLsLsILsLsLsLsLs(
   This, url, (java_net_URL__getProtocol__(
   url)), host, authority, userInfo, file, query, ref, port));
 }
}

JCGO_NOSEP_INLINE void CFASTCALL
java_net_URLStreamHandler__setURL__L6799iLsLsILsLs( java_net_URLStreamHandler
 This, java_net_URL u, java_lang_String protocol, java_lang_String
 host, java_lang_String file, java_lang_String ref, jint port )
{
 {
  (JCGO_CALL_FINALF(u) java_net_URL__set__LsLsILsLs(
   u, protocol, host, file, ref, port));
 }
}

JCGO_NOSEP_FRWINL jboolean CFASTCALL
java_net_URLStreamHandler__equals__L6799iL6799i( java_net_URLStreamHandler
 This, java_net_URL url1, java_net_URL url2 )
{
 {
  jint port1;
  jint port2;
  jObject jcgo_rcvrL1;
  port1= (JCGO_CALL_FINALF(url1) java_net_URL__getPort__(
   url1));
  if (port1 == (-(jint)1))
  {
   port1= (java_net_URL__getDefaultPort__(
    url1));
  }
  port2= (JCGO_CALL_FINALF(url2) java_net_URL__getPort__(
   url2));
  if (port2 == (-(jint)1))
  {
   port2= (java_net_URL__getDefaultPort__(
    url2));
  }
  return (jboolean)(port1 == port2 && (((java_net_URL__getProtocol__(
   url1)) == jnull && (java_net_URL__getProtocol__(
   url2)) == jnull) || ((java_net_URL__getProtocol__(
   url1)) != jnull && (jcgo_rcvrL1= (jObject)(java_net_URL__getProtocol__(
   url1)), JCGO_CALL_FINALF((java_lang_String)jcgo_rcvrL1) java_lang_String__equals__Lo(
   (java_lang_String)jcgo_rcvrL1, (java_lang_Object)(java_net_URL__getProtocol__(
   url2)))))) && (((java_net_URL__getUserInfo__(
   url1)) == jnull && (java_net_URL__getUserInfo__(
   url2)) == jnull) || ((java_net_URL__getUserInfo__(
   url1)) != jnull && (jcgo_rcvrL1= (jObject)(java_net_URL__getUserInfo__(
   url1)), JCGO_CALL_FINALF((java_lang_String)jcgo_rcvrL1) java_lang_String__equals__Lo(
   (java_lang_String)jcgo_rcvrL1, (java_lang_Object)(java_net_URL__getUserInfo__(
   url2)))))) && (((java_net_URL__getHost__(
   url1)) == jnull && (java_net_URL__getHost__(
   url2)) == jnull) || ((java_net_URL__getHost__(
   url1)) != jnull && (jcgo_rcvrL1= (jObject)(java_net_URL__getHost__(
   url1)), JCGO_CALL_FINALF((java_lang_String)jcgo_rcvrL1) java_lang_String__equals__Lo(
   (java_lang_String)jcgo_rcvrL1, (java_lang_Object)(java_net_URL__getHost__(
   url2)))))) && (((java_net_URL__getPath__(
   url1)) == jnull && (java_net_URL__getPath__(
   url2)) == jnull) || ((java_net_URL__getPath__(
   url1)) != jnull && (jcgo_rcvrL1= (jObject)(java_net_URL__getPath__(
   url1)), JCGO_CALL_FINALF((java_lang_String)jcgo_rcvrL1) java_lang_String__equals__Lo(
   (java_lang_String)jcgo_rcvrL1, (java_lang_Object)(java_net_URL__getPath__(
   url2)))))) && (((java_net_URL__getQuery__(
   url1)) == jnull && (java_net_URL__getQuery__(
   url2)) == jnull) || ((java_net_URL__getQuery__(
   url1)) != jnull && (jcgo_rcvrL1= (jObject)(java_net_URL__getQuery__(
   url1)), JCGO_CALL_FINALF((java_lang_String)jcgo_rcvrL1) java_lang_String__equals__Lo(
   (java_lang_String)jcgo_rcvrL1, (java_lang_Object)(java_net_URL__getQuery__(
   url2)))))) && (((java_net_URL__getRef__(
   url1)) == jnull && (java_net_URL__getRef__(
   url2)) == jnull) || ((java_net_URL__getRef__(
   url1)) != jnull && (jcgo_rcvrL1= (jObject)(java_net_URL__getRef__(
   url1)), JCGO_CALL_FINALF((java_lang_String)jcgo_rcvrL1) java_lang_String__equals__Lo(
   (java_lang_String)jcgo_rcvrL1, (java_lang_Object)(java_net_URL__getRef__(
   url2)))))));
 }
}

JCGO_NOSEP_FRWINL jint CFASTCALL
java_net_URLStreamHandler__getDefaultPort__( java_net_URLStreamHandler
 This )
{
 {
  return (-(jint)1);
 }
}

JCGO_NOSEP_FRWINL jint CFASTCALL
java_net_URLStreamHandler__hashCode__L6799i( java_net_URLStreamHandler
 This, java_net_URL url )
{
 {
  jObject jcgo_rcvrL1;
  jint jcgo_rcvrI1;
  return (jcgo_rcvrI1= (jcgo_rcvrI1= (jcgo_rcvrI1= (jcgo_rcvrL1= (jObject)(JCGO_CALL_FINALF(url)
   java_net_URL__getProtocol__(
   url)), JCGO_CALL_FINALF((java_lang_String)jcgo_rcvrL1) java_lang_String__hashCode__(
   (java_lang_String)jcgo_rcvrL1)), jcgo_rcvrI1 + (((JCGO_CALL_FINALF(url)
   java_net_URL__getHost__(
   url)) == jnull)? 0 : (jcgo_rcvrL1= (jObject)(java_net_URL__getHost__(
   url)), JCGO_CALL_FINALF((java_lang_String)jcgo_rcvrL1) java_lang_String__hashCode__(
   (java_lang_String)jcgo_rcvrL1)))), jcgo_rcvrI1 + (jcgo_rcvrL1= (jObject)(JCGO_CALL_FINALF(url)
   java_net_URL__getFile__(
   url)), JCGO_CALL_FINALF((java_lang_String)jcgo_rcvrL1) java_lang_String__hashCode__(
   (java_lang_String)jcgo_rcvrL1))), jcgo_rcvrI1 + (JCGO_CALL_FINALF(url)
   java_net_URL__getPort__(
   url)));
 }
}

JCGO_NOSEP_FRWINL java_lang_String CFASTCALL
java_net_URLStreamHandler__toExternalForm__L6799iX( java_net_URLStreamHandler
 This, java_net_URL url, java_lang_String jcgo_stackparam )
{
 {
  java_lang_String protocol;
  java_lang_String file;
  java_lang_String ref;
  java_lang_String authority;
  java_lang_StringBuffer sb;
  jint size;
  jint jcgo_rcvrI1;
  struct java_lang_StringBuffer_s jcgo_stackobj1;
  protocol= (JCGO_CALL_FINALF(url) java_net_URL__getProtocol__(
   url));
  authority= (java_net_URL__getAuthority__(
   url));
  if (authority == jnull)
  {
   authority= JCGO_STRREF_OF(jcgo_string3_String6D);
  }
  file= (java_net_URL__getFile__(
   url));
  ref= (java_net_URL__getRef__(
   url));
  size= (jcgo_rcvrI1= (jcgo_rcvrI1= (JCGO_CALL_FINALF(protocol) java_lang_String__length__(
   protocol)), jcgo_rcvrI1 + (java_lang_String__length__(
   authority))), jcgo_rcvrI1 + (JCGO_CALL_FINALF(file) java_lang_String__length__(
   file))) + (jint)24;
  sb= (java_lang_StringBuffer__this__I(
   JCGO_STACKOBJ_NEW(jcgo_stackobj1, java_lang_StringBuffer_methods),
   size));
  if ((java_lang_String__length__(
   protocol)) > 0)
  {
   (java_lang_StringBuffer__append__Ls(
    sb, protocol));
   (java_lang_StringBuffer__append__Ls(
    sb, JCGO_STRREF_OF(jcgo_string441_Mdclnt)));
  }
  if ((java_lang_String__length__(
   authority)) != 0 || (java_lang_String__startsWith__Ls(
   file, JCGO_STRREF_OF(jcgo_string5_URLStrHn))))
  {
   (java_lang_StringBuffer__append__Ls(
    (java_lang_StringBuffer__append__Ls(
    (java_lang_StringBuffer__append__Ls(
    sb, JCGO_STRREF_OF(jcgo_string5_URLStrHn))), authority)), file));
  }
  else
  {
   (java_lang_StringBuffer__append__Ls(
    sb, file));
  }
  if (ref != jnull)
  {
   (java_lang_StringBuffer__append__Ls(
    (java_lang_StringBuffer__append__C(
    sb, (jchar)35/*'#'*/)), ref));
  }
  return (java_lang_StringBuffer__toString__X(
   sb, jcgo_stackparam));
 }
}

JCGO_NOSEP_FRWINL java_lang_String CFASTCALL
java_net_URLStreamHandler__toExternalForm__L6799i( java_net_URLStreamHandler
 This, java_net_URL url )
{
 return java_net_URLStreamHandler__toExternalForm__L6799iX(This, url,
  (java_lang_String)jcgo_newObject((jvtable)&java_lang_String_methods));
}

JCGO_NOSEP_DATA CONST struct jcgo_methodentry_s java_net_URLStreamHandler__abstract[1]=
{
 {
  jcgo_mproxy_LT,
  (void (CFASTCALL*)(void))java_net_URLStreamHandler__this__
 }
};

JCGO_NOSEP_DATA CONST struct jcgo_reflect_s java_net_URLStreamHandler__transient=
{
 jnull,
 jnull,
 jnull,
 jnull,
 jnull,
 jnull,
 ((jObjectArr)JCGO_OBJREF_OF(jcgo_array6_URLStrHn)),
 jnull,
 jnull,
 jnull,
 java_net_URLStreamHandler__abstract
};

JCGO_NOSEP_DATA CONST struct jcgo_methods_s java_net_URLStreamHandler_methods=
{
 JCGO_CLASSREF_OF(java_net_URLStreamHandler__class),
 JCGO_GCJDESCR_ZEROINIT
 OBJT_java_net_URLStreamHandler,
 0,
 &java_net_URLStreamHandler__transient,
 JCGO_CLINIT_INIT(0)
 0
};

JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_net_URLStreamHandler_class_s
 java_net_URLStreamHandler__class JCGO_THRD_ATTRNONGC=
{
 {
  &java_lang_Class_methods,
  JCGO_MON_INIT
  JCGO_OBJREF_OF(*(java_lang_Object)&java_net_URLStreamHandler_methods),
  JCGO_STRREF_OF(jcgo_string1_URLStrHn),
  JCGO_CLASSREF_OF(java_lang_Object__class),
  ((jObjectArr)JCGO_OBJREF_OF(jcgo_array3_Object)),
  0x401
 }
};

JCGO_NOSEP_STATIC jObject CFASTCALL
jcgo_mproxy_LT( void (CFASTCALL *jmethod)( void ), jObject obj, jintArr
 intArgs, jlongArr longArgs, jfloatArr floatArgs, jdoubleArr doubleArgs,
 jObjectArr objectArgs )
{
 return ((jObject (CFASTCALL*)( jObject ))jmethod)(obj);
}

JCGO_NOSEP_DATA CONST jcgo_arrtype2_GameMdl jcgo_array6_URLStrHn=
{
 (jvtable)&jObjectArr2_methods,
 JCGO_MON_INIT
 1,
 JCGO_CLASSREF_OF(java_lang_Class__class),
 {
  jnull
 }
};

JCGO_NOSEP_DATA CONST jcgo_arrtype108_GmCnnctn jcgo_array7_URLStrHn=
{
 (jvtable)&jbyteArr_methods,
 JCGO_MON_INIT
 25,
 {
  (jbyte)(jchar)106/*'j'*/, (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)118/*'v'*/,
   (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)46/*'.'*/, (jbyte)(jchar)110/*'n'*/,
   (jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)46/*'.'*/,
   (jbyte)(jchar)85/*'U'*/, (jbyte)(jchar)82/*'R'*/, (jbyte)(jchar)76/*'L'*/,
   (jbyte)(jchar)83/*'S'*/, (jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)114/*'r'*/,
   (jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)109/*'m'*/,
   (jbyte)(jchar)72/*'H'*/, (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)110/*'n'*/,
   (jbyte)(jchar)100/*'d'*/, (jbyte)(jchar)108/*'l'*/, (jbyte)(jchar)101/*'e'*/,
   (jbyte)(jchar)114/*'r'*/
 }
};

JCGO_NOSEP_DATA CONST jcgo_arrtype640_Mdclnt jcgo_array8_URLStrHn=
{
 (jvtable)&jbyteArr_methods,
 JCGO_MON_INIT
 3,
 {
  (jbyte)(jchar)47/*'/'*/, (jbyte)(jchar)46/*'.'*/, (jbyte)(jchar)47/*'/'*/
 }
};

JCGO_NOSEP_DATA CONST jcgo_arrtype4_IntAddrs jcgo_array9_URLStrHn=
{
 (jvtable)&jbyteArr_methods,
 JCGO_MON_INIT
 4,
 {
  (jbyte)(jchar)47/*'/'*/, (jbyte)(jchar)46/*'.'*/, (jbyte)(jchar)46/*'.'*/,
   (jbyte)(jchar)47/*'/'*/
 }
};

JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string1_URLStrHn
 JCGO_THRD_ATTRNONGC=
{
 &java_lang_String_methods,
 JCGO_MON_INIT
 (java_lang_Object)JCGO_OBJREF_OF(jcgo_array7_URLStrHn),
 0, 25, (jint)0x14aa7318L
};

JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string2_URLStrHn
 JCGO_THRD_ATTRNONGC=
{
 &java_lang_String_methods,
 JCGO_MON_INIT
 (java_lang_Object)JCGO_OBJREF_OF(jcgo_array8_URLStrHn),
 0, 3, (jint)0xb630L
};

JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string3_URLStrHn
 JCGO_THRD_ATTRNONGC=
{
 &java_lang_String_methods,
 JCGO_MON_INIT
 (java_lang_Object)JCGO_OBJREF_OF(jcgo_array9_URLStrHn),
 0, 4, (jint)0x160fe0L
};

JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string4_URLStrHn
 JCGO_THRD_ATTRNONGC=
{
 &java_lang_String_methods,
 JCGO_MON_INIT
 (java_lang_Object)JCGO_OBJREF_OF(jcgo_array12_State),
 0, 4, (jint)0x2ff57cL
};

JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string5_URLStrHn
 JCGO_THRD_ATTRNONGC=
{
 &java_lang_String_methods,
 JCGO_MON_INIT
 (java_lang_Object)JCGO_OBJREF_OF(jcgo_array532_VMSstmPr),
 5, 2, (jint)0x5e0L
};

#ifdef CHKALL_java_net_URLStreamHandler
#include "jcgochke.h"
#endif

#endif
