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

sun.tools.java.CompilerError: codeConversion

XMLWordPrintable

    • generic, x86, sparc
    • generic, solaris_2.5.1, windows_95, windows_nt

      Name: tb29552 Date: 12/18/97

      (Refer to the attached files for the code example)


      C:\Code\Test Examples>javac -d c:\classes BugAFrame.java MachineD*.java
      sun.tools.java.CompilerError: codeConversion: 11, 10
              at sun.tools.tree.Expression.codeConversion(Expression.java:599)
              at sun.tools.tree.ConvertExpression.codeValue(ConvertExpression.java:139
      )
              at sun.tools.tree.MethodExpression.codeValue(MethodExpression.java:654)
              at sun.tools.tree.Expression.code(Expression.java:337)
              at sun.tools.tree.ExpressionStatement.code(ExpressionStatement.java:80)
              at sun.tools.tree.CompoundStatement.code(CompoundStatement.java:159)
              at sun.tools.tree.TryStatement.code(TryStatement.java:200)
              at sun.tools.javac.SourceField.code(SourceField.java:639)
              at sun.tools.javac.SourceClass.compileClass(SourceClass.java:1463)
              at sun.tools.javac.SourceClass.compile(SourceClass.java:1414)
              at sun.tools.javac.Main.compile(Main.java:331)
              at sun.tools.javac.Main.main(Main.java:473)
      BugAFrame.java:0: local class bug.BugAFrame. 1:void actionPerformed(java.awt.eve
      nt.ActionEvent)@sun.tools.java.CompilerError: codeConversion: 11, 10
      /*
      ^
      1 error

      C:\Code\Test Examples>
      (Review ID: 21705)
      ======================================================================

            wmaddoxsunw William Maddox (Inactive)
            tbell Tim Bell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: