• Stephan Bergmann's avatar
    fdo#38791: Do not use java.awt, causes problems on Mac OS X · 86a60b36
    Stephan Bergmann yazdı
    On Mac OS X, it apparently suffices to execute "new java.awt.Dimension()" to run
    into "Apple AWT Java VM was loaded on first thread -- can't start AWT" (see
    <http://developer.apple.com/library/mac/#technotes/tn2005/tn2147.html> "JNI
    Development on Mac OS X - Thread-Safe JNI Programming - Calling AWT/Swing From
    AppKit").
    
    The solution here is simple, in that uses of java.awt.Dimension can be replaced
    with com.sun.star.awt.Size without loss of functionality.  However, there are
    still occurrences of java.awt.Image and java.awt.Toolkit lurking
    (reportbuilder/java/com/sun/star/report/SOImageService.java,
    reportbuilder/java/com/sun/star/report/pentaho/output/ImageProducer.java,
    reportbuilder/java/com/sun/star/report/pentaho/output/OfficeDocumentReportTarget.java)
    for which it might be sheer luck that they do not seem to cause trouble yet.
    
    Change-Id: I33e9f74c50ebddc11bd1d9a48c55dc8f8700345d
    86a60b36
Adı
Son kayıt (commit)
Son güncelleme
..
java Loading commit data...
license Loading commit data...
prj Loading commit data...
registry Loading commit data...
template Loading commit data...
util Loading commit data...
Configuration_reportbuilder.mk Loading commit data...
Extension_reportbuilder.mk Loading commit data...
Jar_reportbuilder.mk Loading commit data...
Makefile Loading commit data...
Module_reportbuilder.mk Loading commit data...
Package_readme.mk Loading commit data...
README Loading commit data...