[ 
https://issues.apache.org/jira/browse/PDFBOX-2379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14145160#comment-14145160
 ] 

John Hewson edited comment on PDFBOX-2379 at 9/23/14 6:13 PM:
--------------------------------------------------------------

I've chosen to throw an UnsupportedOperationException if "glyphlist_ext" is 
set, so that users upgrading to 2.0 don't get silent errors. We also print a 
message explaining that GlyphList.DEFAULT.addGlyphs(Properties) has to be 
called instead.


was (Author: jahewson):
I've chosen to throw an UnsupportedOperationException if the "glyphlist_ext" is 
set, so that users upgrading to 2.0 don't get silent errors. We also print a 
message explaining that GlyphList.DEFAULT.addGlyphs(Properties) has to be 
called instead.

> glyphlist_ext is not OSGI compatible
> ------------------------------------
>
>                 Key: PDFBOX-2379
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2379
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: John Hewson
>            Assignee: John Hewson
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> The system property "glyphlist_ext" used in GlyphList is not OSGI compatible 
> (see  PDFBOX-2358) as it loads resources from an external module. The 
> mechanism is unsafe and should be replaced with a simple static method, e.g. 
> GlyphList.addGlyphs(Properties).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to