Another uncompilable example, now it shows problems with double return type
authorJaroslav Tulach <jtulach@netbeans.org>
Sat, 14 Jun 2008 09:56:59 +0200
changeset 137a6ae66ce006d
parent 136 324d01de8a3a
child 138 473cf6bb7084
Another uncompilable example, now it shows problems with double return type
samples/incompatibilities/nbproject/project.xml
samples/incompatibilities/src-wildimport/org/apidesign/stringandbuffer/DoubleReturnType.java
     1.1 --- a/samples/incompatibilities/nbproject/project.xml	Sat Jun 14 09:56:58 2008 +0200
     1.2 +++ b/samples/incompatibilities/nbproject/project.xml	Sat Jun 14 09:56:59 2008 +0200
     1.3 @@ -45,7 +45,7 @@
     1.4                          <location>src-io</location>
     1.5                      </source-folder>
     1.6                      <source-folder style="packages">
     1.7 -                        <label>Uncompilable Code since JDK 1.2</label>
     1.8 +                        <label>Uncompilable Code</label>
     1.9                          <location>src-wildimport</location>
    1.10                      </source-folder>
    1.11                  </items>
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/samples/incompatibilities/src-wildimport/org/apidesign/stringandbuffer/DoubleReturnType.java	Sat Jun 14 09:56:59 2008 +0200
     2.3 @@ -0,0 +1,9 @@
     2.4 +package org.apidesign.stringandbuffer;
     2.5 +
     2.6 +// BEGIN: theory.stringandbuffer
     2.7 +/** This is not Java code, but it is fine inside the bytecode */
     2.8 +public abstract class DoubleReturnType {
     2.9 +  public abstract String getName(int x);
    2.10 +  public abstract StringBuffer getName(int x);
    2.11 +}
    2.12 +// END: theory.stringandbuffer