Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6741756

2 JCK-compiler-6b cases fail with java.lang.StringIndexOutOfBoundsException in TL nightly tests

XMLWordPrintable

    • generic
    • generic

      JDK : Started Failing: 7.0 TL nightly build 205
                        (http://jsqalab.sfbay.sun.com/reports/TLNightly/gtee-JCKCompiler.html)
      JCK : JCK-compiler-6b (fcs: b24)
      Platform[s] : linux-i586, solaris-i586

      Failling Tests : lang/EXPR/expr041/expr04105/expr04105a.html#expr04105src
                         lang/ICLS/icls039/icls03902/icls03902a.html#icls03902src

      jtr file location:
      ==================
      expr04105a_expr04105src.jtr (attached in this bug)
      icls03902a_icls03902src.jtr (attached in this bug)

      Output:
      =============
      Note: Test status: STATUS:Failed. Unexpected java.lang.AssertionError: java.lang.StringIndexOutOfBoundsException: String index out of range: 19
      /net/jsqalab/export/testsuites/JCK/jck6b/b24/JCK-compiler-6b/tests/lang/EXPR/expr041/expr04105/expr04105.java:12: cannot find symbol
      symbol : variable this
      location: interface javasoft.sqe.tests.lang.expr041.expr04105.A
      static A v = this;
      An exception has occurred in the compiler (1.7.0-auto). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you.
      java.lang.AssertionError: java.lang.StringIndexOutOfBoundsException: String index out of range: 19
      at com.sun.tools.javac.code.Symbol$VarSymbol.getConstValue(Symbol.java:967)
      at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:721)
      at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:709)
      at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:372)
      at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:409)
      at com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:2745)
      at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2671)
      at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2607)
      at com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1057)
      at com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:786)
      at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:751)
      at com.sun.tools.javac.main.Main.compile(Main.java:386)
      at com.sun.tools.javac.main.Main.compile(Main.java:312)
      at com.sun.tools.javac.main.Main.compile(Main.java:303)
      at com.sun.tools.javac.Main.compile(Main.java:82)
      at com.sun.tools.javac.Main.main(Main.java:67)
      Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 19
      at java.lang.String.charAt(String.java:694)
      at com.sun.tools.javac.util.Log.printErrLine(Log.java:251)
      at com.sun.tools.javac.util.Log.writeDiagnostic(Log.java:343)
      at com.sun.tools.javac.util.Log.report(Log.java:315)
      at com.sun.tools.javac.util.AbstractLog.error(AbstractLog.java:86)
      at com.sun.tools.javac.comp.Resolve$ResolveError.report(Resolve.java:1667)
      at com.sun.tools.javac.comp.Resolve.access(Resolve.java:1093)
      at com.sun.tools.javac.comp.Resolve.access(Resolve.java:1113)
      at com.sun.tools.javac.comp.Resolve.resolveIdent(Resolve.java:1176)
      at com.sun.tools.javac.comp.Attr.visitIdent(Attr.java:1755)
      at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:1679)
      at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:372)
      at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:389)
      at com.sun.tools.javac.code.Symbol$VarSymbol$1.call(Symbol.java:930)
      at com.sun.tools.javac.code.Symbol$VarSymbol.getConstValue(Symbol.java:965)
      ... 15 more
      ----------out2:(0/0)----------
      result: Failed. exit code 4


      test result: Failed. Unexpected java.lang.AssertionError: java.lang.StringIndexOutOfBoundsException: String index out of range: 19

            Unassigned Unassigned
            schien Suchen Chien (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: