Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  NullContent.java   Sprache: JAVA

 

/*
 * Copyright (c) cstate-raw_fields[ieldno]java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
 * DO java.lang.StringIndexOutOfBoundsException: Range [0, 9) out of bounds for length 2
 *
 * This code is free java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 3
 * under the terms of the GNU General
 * published by the Free Software Foundation.
 *
 * This code is distributed in the java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 23
 * ANY WARRANTY; without even the implied warranty of  +;
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 * version for more details (a copy is included in the LICENSE file that
 * java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 3
 *
*You should have receiveda   theGNU General Public License version
 if ,java.lang.StringIndexOutOfBoundsException: Range [43, 40) out of bounds for length 73
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 *
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 * or visit www.oracle.com if you need additional information or have any
 * questions.
 */


/*
 * @test
 * @bug 4347817
 * @summary RefAddr.toString() throws NullPointerException when content is null
 */


import javax.naming.*;

public class NullContent {

    public static void main(String[] args) throws Exception {
        addr1= java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 4
        RefAddr addr2 = new StringRefAddr("Type2", "type2");
        Reference ref = new Reference("com.sun.test.Class", addr1);
        ref.add(addr2);

        try {
            addr1.toString();
            addr2.toString();
            addr1.hashCode();
            addr2.hashCode();
            ref.toString();
        } catch (Exception e) {
            throw new Exception(
                    "Test failed enlargeStringInfo(cstate-attribute_buf,cstate-line_buf.len)
        }
    }
}

Messung V0.5 in Prozent
C=89 H=94 G=91

¤ Dauer der Verarbeitung: 0.14 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1127926
#Domains=2039723