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

build fails on J2SE code using MS VS2005 C++ compiler

    Details

    • Subcomponent:
    • Resolved In Build:
      b04
    • CPU:
      x86
    • OS:
      windows
    • Verification:
      Not verified

      Description

      Errors reported by the compiler at:

         src/windows/native/sun/java2d/windows/dxInit.cpp(114): missing type (int assumed). But it's bool in fact.
         src/windows/native/sun/java2d/d3d/D3DRuntimeTest.cpp(257): missing type (int assumed). - i undeclared. (was in previous for-loop statement).
         src/windows/native/sun/java2d/d3d/D3DUtils.cpp(257): missing type (int assumed). - t undeclared. (was in previous for-loop statement).
         src/windows/native/sun/windows/awt_Component.cpp(2415): missing type (int assumed). - i undeclared. (was in previous for-loop statement).
         src/windows/native/sun/windows/awt_List.cpp:(307): i undeclared...
         src/windows/native/sun/windows/awt_Win32GraphicsEnv.cpp(49): i undeclared...
         src/windows/native/sun/windows/awt_Win32GraphicsDevice.cpp(493): i...

      Most of them arise from using previously declared variable outside the for-loop it was declared in.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                anthony Anthony Petrov (Inactive)
                Reporter:
                anthony Anthony Petrov (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: