You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2012/07/18 11:05:30 UTC

[Bug 53563] New: PCLGraphics2D could throw java.awt.HeadlessException in a headless environment

https://issues.apache.org/bugzilla/show_bug.cgi?id=53563

          Priority: P2
            Bug ID: 53563
          Assignee: fop-dev@xmlgraphics.apache.org
           Summary: PCLGraphics2D could throw java.awt.HeadlessException
                    in a headless environment
          Severity: normal
    Classification: Unclassified
                OS: Linux
          Reporter: med1985@gmail.com
          Hardware: PC
            Status: NEW
           Version: 1.1dev
         Component: pcl
           Product: Fop

There's a superfluous call to
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getDefaultConfiguration().
I don't believe this is necessary and can use the same configuration as the
PDF/PS/AFP-Graphics2D classes. I don't have tests for this, but it seems fairly
obvious from looking at the code (though that could be hubris!)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 53563] PCLGraphics2D could throw java.awt.HeadlessException in a headless environment

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53563

Mehdi Houshmand <me...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Mehdi Houshmand <me...@gmail.com> ---
Committed revision 1362823.

-- 
You are receiving this mail because:
You are the assignee for the bug.