|
Quick Lists
|
|
Bug ID:
|
6785424
|
|
Votes
|
1
|
|
Synopsis
|
SecurityException locating physical fonts on Windows Terminal Server
|
|
Category
|
java:classes_2d
|
|
Reported Against
|
b03
|
|
Release Fixed
|
7(b54),
6u14(b01) (Bug ID:2171205)
|
|
State
|
10-Fix Delivered,
bug
|
|
Priority:
|
2-High
|
|
Related Bugs
|
6785354
|
|
Submit Date
|
16-DEC-2008
|
|
Description
|
The following program will throw an exception on some configurations :
specifically terminal servers such as Citrix where the results of
GetWindowsDirectory() and GetSystemDirectory() point to different drives
import java.awt.*;
import java.awt.image.*;
public class SF {
private boolean ranTest;
public static void main(String[] args) {
System.setSecurityManager(new SecurityManager());
Font f = new Font("Verdana", Font.PLAIN, 12);
BufferedImage bi= new BufferedImage(1,1,1);
Graphics2D g = bi.createGraphics();
g.setFont(f);
System.out.println(g.getFontMetrics());
}
}
Posted Date : 2008-12-16 01:04:44.0
|
|
Work Around
|
N/A
|
|
Evaluation
|
There is a missing doPrivileged
Posted Date : 2008-12-16 01:04:44.0
|
|
Comments
|
Submitted On 16-NOV-2009
VTbiker
I am getting a similar problem trying to use Java Plug-in 1.6.0_13 on a Citrix server. Is there any way for me to get this working?
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |