8301443: Clean broken comments from Windows code
Reviewed-by: aivanov
This commit is contained in:
parent
5561c397c5
commit
70f3150166
@ -211,4 +211,4 @@ private:
|
|||||||
|
|
||||||
IManagedResource* pHead;
|
IManagedResource* pHead;
|
||||||
};
|
};
|
||||||
#endif _D3DRESOURCEMANAGER_H_
|
#endif // _D3DRESOURCEMANAGER_H_
|
||||||
|
@ -259,8 +259,8 @@ HRESULT D3DVertexCacher::DrawLine(int x1, int y1, int x2, int y2)
|
|||||||
} else {
|
} else {
|
||||||
// diagonal
|
// diagonal
|
||||||
if (x1 > x2 && y1 > y2) {
|
if (x1 > x2 && y1 > y2) {
|
||||||
// ^
|
/* ^
|
||||||
// \ case -> inverse
|
\ case -> inverse */
|
||||||
fx1 = (float)x2;
|
fx1 = (float)x2;
|
||||||
fy1 = (float)y2;
|
fy1 = (float)y2;
|
||||||
fx2 = (float)x1;
|
fx2 = (float)x1;
|
||||||
@ -273,8 +273,8 @@ HRESULT D3DVertexCacher::DrawLine(int x1, int y1, int x2, int y2)
|
|||||||
fx2 = (float)x1;
|
fx2 = (float)x1;
|
||||||
fy2 = (float)y1;
|
fy2 = (float)y1;
|
||||||
} else {
|
} else {
|
||||||
// \ ^
|
/* \ ^
|
||||||
// v or / - leave as is
|
v or / - leave as is */
|
||||||
fx1 = (float)x1;
|
fx1 = (float)x1;
|
||||||
fy1 = (float)y1;
|
fy1 = (float)y1;
|
||||||
fx2 = (float)x2;
|
fx2 = (float)x2;
|
||||||
@ -282,8 +282,8 @@ HRESULT D3DVertexCacher::DrawLine(int x1, int y1, int x2, int y2)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (fx2 > fx1 && fy2 > fy1) {
|
if (fx2 > fx1 && fy2 > fy1) {
|
||||||
// \
|
/* \
|
||||||
// v
|
v */
|
||||||
fx1 += DD_FX1;
|
fx1 += DD_FX1;
|
||||||
fy1 += DD_FY1;
|
fy1 += DD_FY1;
|
||||||
fx2 += DD_FX2;
|
fx2 += DD_FX2;
|
||||||
|
@ -256,4 +256,4 @@ GDIWindowSurfaceData_GetComp(JNIEnv *env, GDIWinSDOps *wsdo);
|
|||||||
} /* extern "C" */
|
} /* extern "C" */
|
||||||
|
|
||||||
|
|
||||||
#endif _WIN32SURFACEDATA_H_
|
#endif // _WIN32SURFACEDATA_H_
|
||||||
|
@ -37,4 +37,4 @@ void SetD3DEnabledFlag(JNIEnv *env, BOOL d3dEnabled, BOOL d3dSet);
|
|||||||
BOOL IsD3DEnabled();
|
BOOL IsD3DEnabled();
|
||||||
BOOL IsD3DForced();
|
BOOL IsD3DForced();
|
||||||
|
|
||||||
#endif WINDOWSFLAGS_H
|
#endif // WINDOWSFLAGS_H
|
||||||
|
@ -74,4 +74,4 @@ static CriticalSection arrayLock;
|
|||||||
|
|
||||||
BOOL WINAPI MonitorBounds (HMONITOR, RECT*);
|
BOOL WINAPI MonitorBounds (HMONITOR, RECT*);
|
||||||
|
|
||||||
#endif _DEVICES_H_
|
#endif // _DEVICES_H_
|
||||||
|
@ -271,4 +271,4 @@ PALETTEENTRY AwtPalette::customPalette[] = {
|
|||||||
{ 0xf8, 0xf8, 0xf8, PC_NOCOLLAPSE },
|
{ 0xf8, 0xf8, 0xf8, PC_NOCOLLAPSE },
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif _AWT_CUSTOMPALETTEDEF_H
|
#endif // _AWT_CUSTOMPALETTEDEF_H
|
||||||
|
@ -101,4 +101,4 @@ private:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif AWT_PALETTE_H
|
#endif // AWT_PALETTE_H
|
||||||
|
@ -266,7 +266,7 @@ extern "C" BOOL APIENTRY DllMain(HANDLE hInstance, DWORD ul_reason_for_call,
|
|||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
DTrace_DisableMutex();
|
DTrace_DisableMutex();
|
||||||
DMem_DisableMutex();
|
DMem_DisableMutex();
|
||||||
#endif DEBUG
|
#endif // DEBUG
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return TRUE;
|
return TRUE;
|
||||||
@ -628,7 +628,7 @@ BOOL AwtToolkit::Initialize(BOOL localPump) {
|
|||||||
// Set up operator new/malloc out of memory handler.
|
// Set up operator new/malloc out of memory handler.
|
||||||
NewHandler::init();
|
NewHandler::init();
|
||||||
|
|
||||||
//\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
|
//*************************************************************************
|
||||||
// Bugs 4032109, 4047966, and 4071991 to fix AWT
|
// Bugs 4032109, 4047966, and 4071991 to fix AWT
|
||||||
// crash in 16 color display mode. 16 color mode is supported. Less
|
// crash in 16 color display mode. 16 color mode is supported. Less
|
||||||
// than 16 color is not.
|
// than 16 color is not.
|
||||||
|
@ -129,4 +129,4 @@ private:
|
|||||||
static int ClipRound(double value);
|
static int ClipRound(double value);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif AWT_WIN32GRAPHICSDEVICE_H
|
#endif // AWT_WIN32GRAPHICSDEVICE_H
|
||||||
|
@ -23,12 +23,14 @@
|
|||||||
* questions.
|
* questions.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// This library is client-side only, and only supports the default credentials.
|
/*
|
||||||
// It speaks krb5 and SPNEGO. NTLM is excluded from SPNEGO negotiation.
|
* This library is client-side only, and only supports the default credentials.
|
||||||
//
|
* It speaks krb5 and SPNEGO. NTLM is excluded from SPNEGO negotiation.
|
||||||
// This library can be built directly with the following command:
|
*
|
||||||
// cl -I %OPENJDK%\src\java.security.jgss\share\native\libj2gss\ sspi.cpp \
|
* This library can be built directly with the following command:
|
||||||
// -link -dll -out:sspi_bridge.dll
|
* cl -I %OPENJDK%\src\java.security.jgss\share\native\libj2gss\ sspi.cpp \
|
||||||
|
* -link -dll -out:sspi_bridge.dll
|
||||||
|
*/
|
||||||
|
|
||||||
#define UNICODE
|
#define UNICODE
|
||||||
#define _UNICODE
|
#define _UNICODE
|
||||||
|
@ -628,9 +628,8 @@ extern "C" {
|
|||||||
AccessibleContext getActiveDescendent (const long vmID, const AccessibleContext accessibleContext);
|
AccessibleContext getActiveDescendent (const long vmID, const AccessibleContext accessibleContext);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
/**
|
* Accessible Value routines
|
||||||
* Accessible Value routines
|
*/
|
||||||
*/
|
|
||||||
BOOL GetCurrentAccessibleValueFromContext(long vmID, AccessibleValue av, wchar_t *value, short len);
|
BOOL GetCurrentAccessibleValueFromContext(long vmID, AccessibleValue av, wchar_t *value, short len);
|
||||||
BOOL GetMaximumAccessibleValueFromContext(long vmID, AccessibleValue av, wchar_t *value, short len);
|
BOOL GetMaximumAccessibleValueFromContext(long vmID, AccessibleValue av, wchar_t *value, short len);
|
||||||
BOOL GetMinimumAccessibleValueFromContext(long vmID, AccessibleValue av, wchar_t *value, short len);
|
BOOL GetMinimumAccessibleValueFromContext(long vmID, AccessibleValue av, wchar_t *value, short len);
|
||||||
|
@ -668,7 +668,7 @@ void HandlePropertyActiveDescendentChange( long vmID, PropertyChangeEvent event,
|
|||||||
(int)(sizeof(buffer) - strlen(buffer)) );
|
(int)(sizeof(buffer) - strlen(buffer)) );
|
||||||
strncat(buffer, "\r\n\r\n", sizeof(buffer));
|
strncat(buffer, "\r\n\r\n", sizeof(buffer));
|
||||||
}
|
}
|
||||||
#endif _notdef
|
#endif // _notdef
|
||||||
|
|
||||||
if (newActiveDescendent != (AccessibleContext) 0) {
|
if (newActiveDescendent != (AccessibleContext) 0) {
|
||||||
displayAccessiblePropertyChange(vmID, newActiveDescendent, buffer);
|
displayAccessiblePropertyChange(vmID, newActiveDescendent, buffer);
|
||||||
|
Loading…
Reference in New Issue
Block a user