Examples of RewriteResult


Examples of org.springsource.loaded.SystemClassReflectionRewriter.RewriteResult

   * interceptor system.
   */
  @Test
  public void jlClass_getDeclaredFields() throws Exception {
    byte[] classbytes = loadBytesForClass("system.One");
    RewriteResult rr = SystemClassReflectionRewriter.rewrite("system.One", classbytes);
    byte[] newbytes = rr.bytes;
    Class<?> clazz = loadit("system.One", newbytes);

    // Check the new field and method are in the type:
    //@formatter:off
    assertEquals(
        "CLASS: system/One v50 0x0021(public synchronized) super java/lang/Object\n"+
        "SOURCE: One.java null\n"+
        "FIELD 0x0009(public static) __sljlcgdfs Ljava/lang/reflect/Method;\n"+
        "METHOD: 0x0001(public) <init>()V\n"+
        "METHOD: 0x0001(public) runIt()Ljava/lang/String;\n"+
        "METHOD: 0x0001(public) fs()[Ljava/lang/reflect/Field;\n"+
        "METHOD: 0x000a(private static) __sljlcgdfs(Ljava/lang/Class;)[Ljava/lang/reflect/Field;\n"+
        "\n",
        toStringClass(newbytes));
    //@formatter:on
    Object value = run(clazz, "runIt");
    // Check that without the field initialized, things behave as expected
    assertEquals("complete:fields:null?false fields:size=1", value);
    assertEquals(0, callcount);

    // Set the field
    Method m = SystemClassReflectionRewriterTests.class.getDeclaredMethod("helper", Class.class);
    assertNotNull(m);
    clazz.getDeclaredField(jlcgdfs).set(null, m);

    // Now re-run, should be intercepted to call our helper
    value = run(clazz, "runIt");
    assertEquals("complete:fields:null?true", value);

    // Check the correct amount of rewriting went on
    assertTrue((rr.bits & JLC_GETDECLAREDFIELDS) != 0);
    assertTrue((rr.bits & ~JLC_GETDECLAREDFIELDS) == 0);

    assertEquals(1, callcount);
    assertEquals("Class.getDeclaredFields()", rr.summarize());
  }
View Full Code Here

Examples of org.springsource.loaded.SystemClassReflectionRewriter.RewriteResult

  }

  @Test
  public void jlClass_getDeclaredField() throws Exception {
    byte[] classbytes = loadBytesForClass("system.Two");
    RewriteResult rr = SystemClassReflectionRewriter.rewrite("system.Two", classbytes);
    byte[] newbytes = rr.bytes;
    Class<?> clazz = loadit("system.Two", newbytes);

    // Check the new field and method are in the type:
    //@formatter:off
    assertEquals(
        "CLASS: system/Two v50 0x0021(public synchronized) super java/lang/Object\n"+
        "SOURCE: Two.java null\n"+
        "FIELD 0x0000() s Ljava/lang/String;\n"+
        "FIELD 0x0009(public static) __sljlcgdf Ljava/lang/reflect/Method;\n"+
        "METHOD: 0x0001(public) <init>()V\n"+
        "METHOD: 0x0001(public) runIt()Ljava/lang/String; java/lang/Exception\n"+
        "METHOD: 0x0001(public) f(Ljava/lang/String;)Ljava/lang/reflect/Field; java/lang/NoSuchFieldException\n"+
        "METHOD: 0x000a(private static) __sljlcgdf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Field; java/lang/NoSuchFieldException\n"+
        "\n",
        toStringClass(newbytes));
    //@formatter:on
    Object value = run(clazz, "runIt");
    // Check that without the field initialized, things behave as expected
    assertEquals("complete:field?java.lang.String system.Two.s nsfe", value);
    assertEquals(0, callcount);

    // Set the field
    Method m = SystemClassReflectionRewriterTests.class.getDeclaredMethod("helper2", Class.class, String.class);
    assertNotNull(m);
    clazz.getDeclaredField(jlcgdf).set(null, m);

    // Now re-run, should be intercepted to call our helper
    value = run(clazz, "runIt");
    assertEquals("complete:field?null nsfe", value);

    // Check the correct amount of rewriting went on
    assertTrue((rr.bits & JLC_GETDECLAREDFIELD) != 0);
    assertTrue((rr.bits & ~JLC_GETDECLAREDFIELD) == 0);

    assertEquals(2, callcount);
    assertEquals(2, events.size());
    assertEquals("helper2(system.Two,s)", events.get(0));
    assertEquals("helper2(system.Two,foo)", events.get(1));
    assertEquals("Class.getDeclaredField()", rr.summarize());
  }
View Full Code Here

Examples of org.springsource.loaded.SystemClassReflectionRewriter.RewriteResult

  }

  @Test
  public void jlClass_getField() throws Exception {
    byte[] classbytes = loadBytesForClass("system.Three");
    RewriteResult rr = SystemClassReflectionRewriter.rewrite("system.Three", classbytes);
    byte[] newbytes = rr.bytes;
    Class<?> clazz = loadit("system.Three", newbytes);

    // Check the new field and method are in the type:
    //@formatter:off
    assertEquals(
        "CLASS: system/Three v50 0x0021(public synchronized) super java/lang/Object\n"+
        "SOURCE: Three.java null\n"+
        "FIELD 0x0001(public) s Ljava/lang/String;\n"+
        "FIELD 0x0009(public static) __sljlcgf Ljava/lang/reflect/Method;\n"+
        "METHOD: 0x0001(public) <init>()V\n"+
        "METHOD: 0x0001(public) runIt()Ljava/lang/String; java/lang/Exception\n"+
        "METHOD: 0x0001(public) f(Ljava/lang/String;)Ljava/lang/reflect/Field; java/lang/NoSuchFieldException\n"+
        "METHOD: 0x000a(private static) __sljlcgf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Field; java/lang/NoSuchFieldException\n"+
        "\n",
        toStringClass(newbytes));
    //@formatter:on
    Object value = run(clazz, "runIt");
    // Check that without the field initialized, things behave as expected
    assertEquals("complete:field?public java.lang.String system.Three.s nsfe", value);
    assertEquals(0, callcount);

    // Set the field
    Method m = SystemClassReflectionRewriterTests.class.getDeclaredMethod("helper2", Class.class, String.class);
    assertNotNull(m);
    clazz.getDeclaredField(jlcgf).set(null, m);

    // Now re-run, should be intercepted to call our helper
    value = run(clazz, "runIt");
    assertEquals("complete:field?null nsfe", value);

    // Check the correct amount of rewriting went on
    assertTrue((rr.bits & JLC_GETFIELD) != 0);
    assertTrue((rr.bits & ~JLC_GETFIELD) == 0);

    assertEquals(2, callcount);
    assertEquals(2, events.size());
    assertEquals("helper2(system.Three,s)", events.get(0));
    assertEquals("helper2(system.Three,foo)", events.get(1));
    assertEquals("Class.getField()", rr.summarize());
  }
View Full Code Here

Examples of org.springsource.loaded.SystemClassReflectionRewriter.RewriteResult

  }

  @Test
  public void jlClass_getDeclaredMethods() throws Exception {
    byte[] classbytes = loadBytesForClass("system.Four");
    RewriteResult rr = SystemClassReflectionRewriter.rewrite("system.Four", classbytes);
    byte[] newbytes = rr.bytes;
    Class<?> clazz = loadit("system.Four", newbytes);

    // Check the new field and method are in the type:
    //@formatter:off
    assertEquals(
        "CLASS: system/Four v50 0x0021(public synchronized) super java/lang/Object\n"+
        "SOURCE: Four.java null\n"+
        "FIELD 0x0009(public static) __sljlcgdms Ljava/lang/reflect/Method;\n"+
        "METHOD: 0x0001(public) <init>()V\n"+
        "METHOD: 0x0001(public) runIt()Ljava/lang/String;\n"+
        "METHOD: 0x0001(public) ms()[Ljava/lang/reflect/Method;\n"+
        "METHOD: 0x000a(private static) __sljlcgdms(Ljava/lang/Class;)[Ljava/lang/reflect/Method;\n"+
        "\n",
        toStringClass(newbytes));
    //@formatter:on
    Object value = run(clazz, "runIt");
    // Check that without the field initialized, things behave as expected
    assertEquals("complete:methods:null?false methods:size=3", value);
    assertEquals(0, callcount);

    // Set the field
    Method m = SystemClassReflectionRewriterTests.class.getDeclaredMethod("helper3", Class.class);
    assertNotNull(m);
    clazz.getDeclaredField(jlcgdms).set(null, m);

    // Now re-run, should be intercepted to call our helper
    value = run(clazz, "runIt");
    assertEquals("complete:methods:null?true", value);

    // Check the correct amount of rewriting went on
    assertTrue((rr.bits & JLC_GETDECLAREDMETHODS) != 0);
    assertTrue((rr.bits & ~JLC_GETDECLAREDMETHODS) == 0);

    assertEquals(1, callcount);
    assertEquals("Class.getDeclaredMethods()", rr.summarize());
  }
View Full Code Here

Examples of org.springsource.loaded.SystemClassReflectionRewriter.RewriteResult

  }
 
  @Test
  public void jlClass_getDeclaredConstructors() throws Exception {
    byte[] classbytes = loadBytesForClass("system.Ten");
    RewriteResult rr = SystemClassReflectionRewriter.rewrite("system.Ten", classbytes);
    byte[] newbytes = rr.bytes;
    Class<?> clazz = loadit("system.Ten", newbytes);

    // Check the new field and method are in the type:
    //@formatter:off
    assertEquals(
        "CLASS: system/Ten v50 0x0021(public synchronized) super java/lang/Object\n"+
        "SOURCE: Ten.java null\n"+
        "FIELD 0x0009(public static) __sljlcgdcs Ljava/lang/reflect/Method;\n"+
        "METHOD: 0x0001(public) <init>()V\n"+
        "METHOD: 0x0001(public) runIt()Ljava/lang/String;\n"+
        "METHOD: 0x0001(public) cs()[Ljava/lang/reflect/Constructor;\n"+
        "METHOD: 0x000a(private static) __sljlcgdcs(Ljava/lang/Class;)[Ljava/lang/reflect/Constructor;\n"+
        "\n",
        toStringClass(newbytes));
    //@formatter:on
    Object value = run(clazz, "runIt");
    // Check that without the field initialized, things behave as expected
    assertEquals("complete:constructors:null?false constructors:size=1", value);
    assertEquals(0, callcount);

    // Set the field
    Method m = SystemClassReflectionRewriterTests.class.getDeclaredMethod("helper4", Class.class);
    assertNotNull(m);
    clazz.getDeclaredField(jlcGetDeclaredConstructorsMember).set(null, m);

    // Now re-run, should be intercepted to call our helper
    value = run(clazz, "runIt");
    assertEquals("complete:constructors:null?true", value);

    // Check the correct amount of rewriting went on
    assertTrue((rr.bits & JLC_GETDECLAREDCONSTRUCTORS) != 0);
    assertTrue((rr.bits & ~JLC_GETDECLAREDCONSTRUCTORS) == 0);

    assertEquals(1, callcount);
    assertEquals("Class.getDeclaredConstructors()", rr.summarize());
  }
View Full Code Here

Examples of org.springsource.loaded.SystemClassReflectionRewriter.RewriteResult

  }
 
  @Test
  public void jlrMethod_Invoke() throws Exception {
    byte[] classbytes = loadBytesForClass("system.Eleven");
    RewriteResult rr = SystemClassReflectionRewriter.rewrite("system.Eleven", classbytes);
    byte[] newbytes = rr.bytes;
    Class<?> clazz = loadit("system.Eleven", newbytes);

    // Check the new field and method are in the type:
    //@formatter:off
    assertEquals(
        "CLASS: system/Eleven v50 0x0021(public synchronized) super java/lang/Object\n"+
        "SOURCE: Eleven.java null\n"+
        "FIELD 0x0009(public static) __sljlcgdm Ljava/lang/reflect/Method;\n"+
        "FIELD 0x0009(public static) __sljlrmi Ljava/lang/reflect/Method;\n"+
        "METHOD: 0x0001(public) <init>()V\n"+
        "METHOD: 0x0001(public) runIt()Ljava/lang/String; java/lang/Exception\n"+
        "METHOD: 0x0089(public static) invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; java/lang/Exception\n"+
        "METHOD: 0x0001(public) foo(ILjava/lang/String;)Ljava/lang/String;\n"+
        "METHOD: 0x008a(private static) __sljlcgdm(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; java/lang/NoSuchMethodException\n"+
        "METHOD: 0x000a(private static) __sljlrmi(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; java/lang/IllegalAccessException java/lang/reflect/InvocationTargetException\n"+
        "\n",
        toStringClass(newbytes));
    //@formatter:on
    Object value = run(clazz, "runIt");
    // Check that without the field initialized, things behave as expected
    assertEquals("complete:obj=i=12:s=abc", value);
    assertEquals(0, callcount);

    // Set the field
    Method m = SystemClassReflectionRewriterTests.class.getDeclaredMethod("helperJLRMI_0", Class.class, String.class, Class[].class);
    assertNotNull(m);
    clazz.getDeclaredField(jlcgdm).set(null, m);

    m = SystemClassReflectionRewriterTests.class.getDeclaredMethod("helperJLRMI", Method.class, Object.class, Object[].class);
    assertNotNull(m);
    clazz.getDeclaredField(jlrmInvokeMember).set(null, m);
   
    // Now re-run, should be intercepted to call our helper
    value = run(clazz, "runIt");
    assertEquals("complete:obj=null", value);

    // Check the correct amount of rewriting went on
    assertTrue((rr.bits & (JLC_GETDECLAREDMETHOD|JLRM_INVOKE)) != 0);
    assertTrue((rr.bits & ~(JLC_GETDECLAREDMETHOD|JLRM_INVOKE)) == 0);

    assertEquals(1, callcount);
    assertEquals("Class.getDeclaredMethod() Method.invoke()", rr.summarize());
  }
View Full Code Here

Examples of org.springsource.loaded.SystemClassReflectionRewriter.RewriteResult

  }

  @Test
  public void jlClass_getDeclaredMethod() throws Exception {
    byte[] classbytes = loadBytesForClass("system.Five");
    RewriteResult rr = SystemClassReflectionRewriter.rewrite("system.Five", classbytes);
    byte[] newbytes = rr.bytes;
    Class<?> clazz = loadit("system.Five", newbytes);

    // Check the new field and method are in the type:
    //@formatter:off
    assertEquals(
        "CLASS: system/Five v50 0x0021(public synchronized) super java/lang/Object\n"+
        "SOURCE: Five.java null\n"+
        "FIELD 0x0000() s Ljava/lang/String;\n"+
        "FIELD 0x0009(public static) __sljlcgdm Ljava/lang/reflect/Method;\n"+
        "METHOD: 0x0001(public) <init>()V\n"+
        "METHOD: 0x0001(public) runIt()Ljava/lang/String; java/lang/Exception\n"+
        "METHOD: 0x0001(public) m(Ljava/lang/String;)Ljava/lang/reflect/Method; java/lang/NoSuchMethodException\n"+
        "METHOD: 0x008a(private static) __sljlcgdm(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; java/lang/NoSuchMethodException\n"+
        "\n",
        toStringClass(newbytes));
    //@formatter:on
    Object value = run(clazz, "runIt");
    // Check that without the field initialized, things behave as expected
    assertEquals("complete:method?public java.lang.String system.Five.runIt() throws java.lang.Exception nsme", value);
    assertEquals(0, callcount);

    // Set the field
    Method m = SystemClassReflectionRewriterTests.class.getDeclaredMethod("helper4", Class.class, String.class, Class[].class);
    assertNotNull(m);
    clazz.getDeclaredField(jlcgdm).set(null, m);

    // Now re-run, should be intercepted to call our helper
    value = run(clazz, "runIt");
    assertEquals("complete:method?null nsme", value);

    // Check the correct amount of rewriting went on
    assertTrue((rr.bits & JLC_GETDECLAREDMETHOD) != 0);
    assertTrue((rr.bits & ~JLC_GETDECLAREDMETHOD) == 0);

    assertEquals(2, callcount);
    assertEquals(2, events.size());
    assertEquals("helper4(system.Five,runIt)", events.get(0));
    assertEquals("helper4(system.Five,foobar)", events.get(1));
    assertEquals("Class.getDeclaredMethod()", rr.summarize());
  }
View Full Code Here

Examples of org.springsource.loaded.SystemClassReflectionRewriter.RewriteResult

  }

  @Test
  public void jlClass_getMethod() throws Exception {
    byte[] classbytes = loadBytesForClass("system.Six");
    RewriteResult rr = SystemClassReflectionRewriter.rewrite("system.Six", classbytes);
    byte[] newbytes = rr.bytes;
    Class<?> clazz = loadit("system.Six", newbytes);

    // Check the new field and method are in the type:
    //@formatter:off
    assertEquals(
        "CLASS: system/Six v50 0x0021(public synchronized) super java/lang/Object\n"+
        "SOURCE: Six.java null\n"+
        "FIELD 0x0001(public) s Ljava/lang/String;\n"+
        "FIELD 0x0009(public static) __sljlcgm Ljava/lang/reflect/Method;\n"+
        "METHOD: 0x0001(public) <init>()V\n"+
        "METHOD: 0x0001(public) runIt()Ljava/lang/String; java/lang/Exception\n"+
        "METHOD: 0x0001(public) m(Ljava/lang/String;)Ljava/lang/reflect/Method; java/lang/NoSuchMethodException\n"+
        "METHOD: 0x008a(private static) __sljlcgm(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; java/lang/NoSuchMethodException\n"+
        "\n",
        toStringClass(newbytes));
    //@formatter:on
    Object value = run(clazz, "runIt");
    // Check that without the field initialized, things behave as expected
    assertEquals("complete:method?public java.lang.String system.Six.runIt() throws java.lang.Exception nsme", value);
    assertEquals(0, callcount);

    // Set the field
    Method m = SystemClassReflectionRewriterTests.class.getDeclaredMethod("helper4", Class.class, String.class, Class[].class);
    assertNotNull(m);
    clazz.getDeclaredField(jlcgm).set(null, m);

    // Now re-run, should be intercepted to call our helper
    value = run(clazz, "runIt");
    assertEquals("complete:method?null unexpectedly_didn't_fail", value);

    // Check the correct amount of rewriting went on
    assertTrue((rr.bits & JLC_GETMETHOD) != 0);
    assertTrue((rr.bits & ~JLC_GETMETHOD) == 0);

    assertEquals(2, callcount);
    assertEquals(2, events.size());
    assertEquals("helper4(system.Six,runIt)", events.get(0));
    assertEquals("helper4(system.Six,foo)", events.get(1));
    assertEquals("Class.getMethod()", rr.summarize());
  }
View Full Code Here

Examples of org.springsource.loaded.SystemClassReflectionRewriter.RewriteResult

  }

  @Test
  public void jlClass_getDeclaredConstructor() throws Exception {
    byte[] classbytes = loadBytesForClass("system.Seven");
    RewriteResult rr = SystemClassReflectionRewriter.rewrite("system.Seven", classbytes);
    byte[] newbytes = rr.bytes;
    Class<?> clazz = loadit("system.Seven", newbytes);

    // Check the new field and method are in the type:
    //@formatter:off
    assertEquals(
        "CLASS: system/Seven v50 0x0021(public synchronized) super java/lang/Object\n"+
        "SOURCE: Seven.java null\n"+
        "FIELD 0x0009(public static) __sljlcgdc Ljava/lang/reflect/Method;\n"+
        "METHOD: 0x0001(public) <init>()V\n"+
        "METHOD: 0x0001(public) <init>(Ljava/lang/String;)V\n"+
        "METHOD: 0x0001(public) runIt()Ljava/lang/String; java/lang/Exception\n"+
        "METHOD: 0x0081(public) m([Ljava/lang/Class;)Ljava/lang/reflect/Constructor; java/lang/NoSuchMethodException\n"+
        "METHOD: 0x008a(private static) __sljlcgdc(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/reflect/Constructor; java/lang/NoSuchMethodException\n"+
        "\n",
        toStringClass(newbytes));
    //@formatter:on
    Object value = run(clazz, "runIt");
    // Check that without the field initialized, things behave as expected
    assertEquals("complete:defaultctor?public system.Seven() stringctor?public system.Seven(java.lang.String) nsme", value);
    assertEquals(0, callcount);

    // Set the field
    Method m = SystemClassReflectionRewriterTests.class.getDeclaredMethod("helper5", Class.class, Class[].class);
    assertNotNull(m);
    clazz.getDeclaredField(jlcgdc).set(null, m);

    // Now re-run, should be intercepted to call our helper
    value = run(clazz, "runIt");
    assertEquals("complete:defaultctor?null stringctor?null nsme", value);

    // Check the correct amount of rewriting went on
    assertTrue((rr.bits & JLC_GETDECLAREDCONSTRUCTOR) != 0);
    assertTrue((rr.bits & ~JLC_GETDECLAREDCONSTRUCTOR) == 0);

    assertEquals(3, callcount);
    assertEquals(3, events.size());
    assertEquals("helper5(system.Seven)", events.get(0));
    assertEquals("helper5(system.Seven)", events.get(1));
    assertEquals("helper5(system.Seven)", events.get(2));
    assertEquals("Class.getDeclaredConstructor()", rr.summarize());
  }
View Full Code Here

Examples of org.springsource.loaded.SystemClassReflectionRewriter.RewriteResult


  @Test
  public void jlrField_getLong() throws Exception {
    byte[] classbytes = loadBytesForClass("system.Thirteen");
    RewriteResult rr = SystemClassReflectionRewriter.rewrite("system.Thirteen", classbytes);
    byte[] newbytes = rr.bytes;
    Class<?> clazz = loadit("system.Thirteen", newbytes);

    // Check the new field and method are in the type:
    //@formatter:off
    assertEquals(
        "CLASS: system/Thirteen v50 0x0021(public synchronized) super java/lang/Object\n"+
        "SOURCE: Thirteen.java null\n"+
        "FIELD 0x0001(public) foo J\n"+
        "FIELD 0x0009(public static) __sljlcgf Ljava/lang/reflect/Method;\n"+
        "FIELD 0x0009(public static) __sljlrfgl Ljava/lang/reflect/Method;\n"+
        "METHOD: 0x0001(public) <init>()V\n"+
        "METHOD: 0x0001(public) runIt()Ljava/lang/String; java/lang/Exception\n"+
        "METHOD: 0x0001(public) gf()Ljava/lang/Long; java/lang/Exception\n"+
        "METHOD: 0x000a(private static) __sljlcgf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Field; java/lang/NoSuchFieldException\n"+
        "METHOD: 0x000a(private static) __sljlrfgl(Ljava/lang/reflect/Field;Ljava/lang/Object;)J java/lang/IllegalAccessException java/lang/IllegalArgumentException\n"+
        "\n",
        toStringClass(newbytes));
    //@formatter:on
    Object value = run(clazz, "runIt");
    // Check that without the field initialized, things behave as expected
    assertEquals("complete:value=42", value);
    assertEquals(0, callcount);

    // Set the field
    Method m = SystemClassReflectionRewriterTests.class.getDeclaredMethod("helperJLRFGL_0", Class.class, String.class);
    assertNotNull(m);
    clazz.getDeclaredField(jlcgf).set(null, m);
   
    m = SystemClassReflectionRewriterTests.class.getDeclaredMethod("helperJLRFGL", Field.class, Object.class);
    assertNotNull(m);
    clazz.getDeclaredField(jlrfGetLongMember).set(null, m);
   
    // Now re-run, should be intercepted to call our helper
    value = run(clazz, "runIt");
    assertEquals("complete:value=0", value);

    // Check the correct amount of rewriting went on
    assertTrue((rr.bits & (JLRF_GETLONG | JLC_GETFIELD)) != 0);
    assertTrue((rr.bits & ~(JLRF_GETLONG | JLC_GETFIELD)) == 0);

    assertEquals(1, callcount);
    assertEquals("Class.getField() Field.getLong()", rr.summarize());
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.