Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6639686
Votes 0
Synopsis build failure on win64 caused by the fix for 6635805
Category java:classes_2d
Reported Against
Release Fixed 6u10(b09)
State 10-Fix Delivered, Verified, bug
Priority: 2-High
Related Bugs 6635805
Submit Date 10-DEC-2007
Description
Fix for 6635805 caused a nightly build failure on windows-amd64:
C:/MSSDK.Apr06/Bin/Win64/x86/amd64/cl  -O2 -Zi -nologo -MD /D _STATIC_CPPLIB -Fdd:/update.int/6u_2008q2/j2se/build/windows-amd64/tmp/sun/sun.awt/awt/obj64/ -Fed:/update.int/6u_2008q2/j2se/build/windows-amd64/tmp/sun/sun.awt/awt/obj64/ -Fmd:/update.int/6u_2008q2/j2se/build/windows-amd64/tmp/sun/sun.awt/awt/obj64/  -Wp64  -W3 -EHsc -DUNICODE -D_UNICODE  -DWIN32 -DIAL -D_LITTLE_ENDIAN -D_AMD64_ -Damd64 -DWIN32_LEAN_AND_MEAN -I. -Id:/update.int/6u_2008q2/j2se/build/windows-amd64/tmp/sun/sun.awt/awt/CClassHeaders -I../../../src/windows/javavm/export -I../../../src/share/javavm/export -I../../../src/share/javavm/include -I../../../src/windows/javavm/include -I../../../src/share/native/common -I../../../src/windows/native/common -I../../../src/share/native/sun/awt -I../../../src/windows/native/sun/awt -Id:/update.int/6u_2008q2/j2se/build/windows-amd64/tmp/sun/sun.awt/awt/CClassHeaders/../../java/jvm -Id:/update.int/6u_2008q2/j2se/build/windows-amd64/tmp/sun/sun.awt/awt/obj64 -I../../../src/share/native/common -I../../../src/windows/native/sun/windows -IC:/DXSDK/Include -I../../../src/share/native/sun/awt/image/cvutils -I../../../src/share/native/sun/awt/image -I../../../src/share/native/sun/java2d/loops -I../../../src/share/native/sun/java2d -I../../../src/windows/native/sun/java2d -I../../../src/share/native/sun/java2d/opengl -I../../../src/windows/native/sun/java2d/opengl -I../../../src/windows/native/sun/java2d/windows -I../../../src/windows/native/sun/java2d/d3d -I../../../src/share/native/sun/font -I../../../src/share/native/sun/java2d/pipe -I../../../src/share/native/sun/dc/path -I../../../src/share/native/sun/dc/doe -I../../../src/share/native/sun/awt/debug  -I../../../src/share/native/sun/awt/medialib    -c -Fod:/update.int/6u_2008q2/j2se/build/windows-amd64/tmp/sun/sun.awt/awt/obj64/D3DGraphicsDevice.obj  ../../../src/windows/native/sun/awt/../java2d/d3d/D3DGraphicsDevice.cpp
D3DGraphicsDevice.cpp
../../../src\windows\native\sun\awt\../java2d\d3d\D3DGraphicsDevice.cpp(92) : error C2664: 'swprintf' : cannot convert parameter 2 from 'size_t' to 'const wchar_t *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
gnumake[2]: *** [d:/update.int/6u_2008q2/j2se/build/windows-amd64/tmp/sun/sun.awt/awt/obj64/D3DGraphicsDevice.obj] Error 2
Posted Date : 2007-12-10 16:41:09.0
Work Around
N/A
Evaluation
see desc.

Use _snwprintf instead of overloaded swprinf.
Posted Date : 2007-12-10 16:41:09.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang