Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

DrawPaint.java 22KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627
  1. /* ====================================================================
  2. Licensed to the Apache Software Foundation (ASF) under one or more
  3. contributor license agreements. See the NOTICE file distributed with
  4. this work for additional information regarding copyright ownership.
  5. The ASF licenses this file to You under the Apache License, Version 2.0
  6. (the "License"); you may not use this file except in compliance with
  7. the License. You may obtain a copy of the License at
  8. http://www.apache.org/licenses/LICENSE-2.0
  9. Unless required by applicable law or agreed to in writing, software
  10. distributed under the License is distributed on an "AS IS" BASIS,
  11. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. See the License for the specific language governing permissions and
  13. limitations under the License.
  14. ==================================================================== */
  15. package org.apache.poi.sl.draw;
  16. import java.awt.Color;
  17. import java.awt.Dimension;
  18. import java.awt.Graphics2D;
  19. import java.awt.LinearGradientPaint;
  20. import java.awt.Paint;
  21. import java.awt.RadialGradientPaint;
  22. import java.awt.Shape;
  23. import java.awt.geom.AffineTransform;
  24. import java.awt.geom.Point2D;
  25. import java.awt.geom.Rectangle2D;
  26. import java.awt.image.BufferedImage;
  27. import java.io.IOException;
  28. import java.io.InputStream;
  29. import java.util.Map;
  30. import java.util.Objects;
  31. import java.util.TreeMap;
  32. import java.util.function.BiFunction;
  33. import org.apache.poi.sl.usermodel.AbstractColorStyle;
  34. import org.apache.poi.sl.usermodel.ColorStyle;
  35. import org.apache.poi.sl.usermodel.PaintStyle;
  36. import org.apache.poi.sl.usermodel.PaintStyle.GradientPaint;
  37. import org.apache.poi.sl.usermodel.PaintStyle.PaintModifier;
  38. import org.apache.poi.sl.usermodel.PaintStyle.SolidPaint;
  39. import org.apache.poi.sl.usermodel.PaintStyle.TexturePaint;
  40. import org.apache.poi.sl.usermodel.PlaceableShape;
  41. import org.apache.poi.util.POILogFactory;
  42. import org.apache.poi.util.POILogger;
  43. /**
  44. * This class handles color transformations.
  45. *
  46. * @see <a href="https://tips4java.wordpress.com/2009/07/05/hsl-color/">HSL code taken from Java Tips Weblog</a>
  47. */
  48. public class DrawPaint {
  49. // HSL code is public domain - see https://tips4java.wordpress.com/contact-us/
  50. private static final POILogger LOG = POILogFactory.getLogger(DrawPaint.class);
  51. private static final Color TRANSPARENT = new Color(1f,1f,1f,0f);
  52. protected PlaceableShape<?,?> shape;
  53. public DrawPaint(PlaceableShape<?,?> shape) {
  54. this.shape = shape;
  55. }
  56. private static class SimpleSolidPaint implements SolidPaint {
  57. private final ColorStyle solidColor;
  58. SimpleSolidPaint(final Color color) {
  59. if (color == null) {
  60. throw new NullPointerException("Color needs to be specified");
  61. }
  62. this.solidColor = new AbstractColorStyle(){
  63. @Override
  64. public Color getColor() {
  65. return new Color(color.getRed(), color.getGreen(), color.getBlue());
  66. }
  67. @Override
  68. public int getAlpha() { return (int)Math.round(color.getAlpha()*100000./255.); }
  69. @Override
  70. public int getHueOff() { return -1; }
  71. @Override
  72. public int getHueMod() { return -1; }
  73. @Override
  74. public int getSatOff() { return -1; }
  75. @Override
  76. public int getSatMod() { return -1; }
  77. @Override
  78. public int getLumOff() { return -1; }
  79. @Override
  80. public int getLumMod() { return -1; }
  81. @Override
  82. public int getShade() { return -1; }
  83. @Override
  84. public int getTint() { return -1; }
  85. };
  86. }
  87. SimpleSolidPaint(ColorStyle color) {
  88. if (color == null) {
  89. throw new NullPointerException("Color needs to be specified");
  90. }
  91. this.solidColor = color;
  92. }
  93. @Override
  94. public ColorStyle getSolidColor() {
  95. return solidColor;
  96. }
  97. @Override
  98. public boolean equals(Object o) {
  99. if (this == o) {
  100. return true;
  101. }
  102. if (!(o instanceof SolidPaint)) {
  103. return false;
  104. }
  105. return Objects.equals(getSolidColor(), ((SolidPaint) o).getSolidColor());
  106. }
  107. @Override
  108. public int hashCode() {
  109. return Objects.hash(solidColor);
  110. }
  111. }
  112. public static SolidPaint createSolidPaint(final Color color) {
  113. return (color == null) ? null : new SimpleSolidPaint(color);
  114. }
  115. public static SolidPaint createSolidPaint(final ColorStyle color) {
  116. return (color == null) ? null : new SimpleSolidPaint(color);
  117. }
  118. public Paint getPaint(Graphics2D graphics, PaintStyle paint) {
  119. return getPaint(graphics, paint, PaintModifier.NORM);
  120. }
  121. public Paint getPaint(Graphics2D graphics, PaintStyle paint, PaintModifier modifier) {
  122. if (modifier == PaintModifier.NONE) {
  123. return TRANSPARENT;
  124. }
  125. if (paint instanceof SolidPaint) {
  126. return getSolidPaint((SolidPaint)paint, graphics, modifier);
  127. } else if (paint instanceof GradientPaint) {
  128. return getGradientPaint((GradientPaint)paint, graphics);
  129. } else if (paint instanceof TexturePaint) {
  130. return getTexturePaint((TexturePaint)paint, graphics);
  131. }
  132. return TRANSPARENT;
  133. }
  134. @SuppressWarnings({"WeakerAccess", "unused"})
  135. protected Paint getSolidPaint(SolidPaint fill, Graphics2D graphics, final PaintModifier modifier) {
  136. final ColorStyle orig = fill.getSolidColor();
  137. ColorStyle cs = new AbstractColorStyle() {
  138. @Override
  139. public Color getColor() {
  140. return orig.getColor();
  141. }
  142. @Override
  143. public int getAlpha() {
  144. return orig.getAlpha();
  145. }
  146. @Override
  147. public int getHueOff() {
  148. return orig.getHueOff();
  149. }
  150. @Override
  151. public int getHueMod() {
  152. return orig.getHueMod();
  153. }
  154. @Override
  155. public int getSatOff() {
  156. return orig.getSatOff();
  157. }
  158. @Override
  159. public int getSatMod() {
  160. return orig.getSatMod();
  161. }
  162. @Override
  163. public int getLumOff() {
  164. return orig.getLumOff();
  165. }
  166. @Override
  167. public int getLumMod() {
  168. return orig.getLumMod();
  169. }
  170. @Override
  171. public int getShade() {
  172. return scale(orig.getShade(), PaintModifier.DARKEN_LESS, PaintModifier.DARKEN);
  173. }
  174. @Override
  175. public int getTint() {
  176. return scale(orig.getTint(), PaintModifier.LIGHTEN_LESS, PaintModifier.LIGHTEN);
  177. }
  178. private int scale(int value, PaintModifier lessModifier, PaintModifier moreModifier) {
  179. int delta = (modifier == lessModifier ? 20000 : (modifier == moreModifier ? 40000 : 0));
  180. return Math.min(100000, Math.max(0,value)+delta);
  181. }
  182. };
  183. return applyColorTransform(cs);
  184. }
  185. @SuppressWarnings("WeakerAccess")
  186. protected Paint getGradientPaint(GradientPaint fill, Graphics2D graphics) {
  187. switch (fill.getGradientType()) {
  188. case linear:
  189. return createLinearGradientPaint(fill, graphics);
  190. case circular:
  191. return createRadialGradientPaint(fill, graphics);
  192. case shape:
  193. return createPathGradientPaint(fill, graphics);
  194. default:
  195. throw new UnsupportedOperationException("gradient fill of type "+fill+" not supported.");
  196. }
  197. }
  198. @SuppressWarnings("WeakerAccess")
  199. protected Paint getTexturePaint(TexturePaint fill, Graphics2D graphics) {
  200. InputStream is = fill.getImageData();
  201. if (is == null) {
  202. return TRANSPARENT;
  203. }
  204. assert(graphics != null);
  205. ImageRenderer renderer = DrawPictureShape.getImageRenderer(graphics, fill.getContentType());
  206. try {
  207. try {
  208. renderer.loadImage(is, fill.getContentType());
  209. } finally {
  210. is.close();
  211. }
  212. } catch (IOException e) {
  213. LOG.log(POILogger.ERROR, "Can't load image data - using transparent color", e);
  214. return TRANSPARENT;
  215. }
  216. int alpha = fill.getAlpha();
  217. if (0 <= alpha && alpha < 100000) {
  218. renderer.setAlpha(alpha/100000.f);
  219. }
  220. Rectangle2D textAnchor = shape.getAnchor();
  221. BufferedImage image;
  222. if ("image/x-wmf".equals(fill.getContentType())) {
  223. // don't rely on wmf dimensions, use dimension of anchor
  224. // TODO: check pixels vs. points for image dimension
  225. image = renderer.getImage(new Dimension((int)textAnchor.getWidth(), (int)textAnchor.getHeight()));
  226. } else {
  227. image = renderer.getImage();
  228. }
  229. if(image == null) {
  230. LOG.log(POILogger.ERROR, "Can't load image data");
  231. return TRANSPARENT;
  232. }
  233. return new java.awt.TexturePaint(image, textAnchor);
  234. }
  235. /**
  236. * Convert color transformations in {@link ColorStyle} to a {@link Color} instance
  237. *
  238. * @see <a href="https://msdn.microsoft.com/en-us/library/dd560821%28v=office.12%29.aspx">Using Office Open XML to Customize Document Formatting in the 2007 Office System</a>
  239. * @see <a href="https://social.msdn.microsoft.com/Forums/office/en-US/040e0a1f-dbfe-4ce5-826b-38b4b6f6d3f7/saturation-modulation-satmod">saturation modulation (satMod)</a>
  240. * @see <a href="http://stackoverflow.com/questions/6754127/office-open-xml-satmod-results-in-more-than-100-saturation">Office Open XML satMod results in more than 100% saturation</a>
  241. */
  242. public static Color applyColorTransform(ColorStyle color){
  243. // TODO: The colors don't match 100% the results of Powerpoint, maybe because we still
  244. // operate in sRGB and not scRGB ... work in progress ...
  245. if (color == null || color.getColor() == null) {
  246. return TRANSPARENT;
  247. }
  248. Color result = color.getColor();
  249. double alpha = getAlpha(result, color);
  250. double[] hsl = RGB2HSL(result); // values are in the range [0..100] (usually ...)
  251. applyHslModOff(hsl, 0, color.getHueMod(), color.getHueOff());
  252. applyHslModOff(hsl, 1, color.getSatMod(), color.getSatOff());
  253. applyHslModOff(hsl, 2, color.getLumMod(), color.getLumOff());
  254. applyShade(hsl, color);
  255. applyTint(hsl, color);
  256. result = HSL2RGB(hsl[0], hsl[1], hsl[2], alpha);
  257. return result;
  258. }
  259. private static double getAlpha(Color c, ColorStyle fc) {
  260. double alpha = c.getAlpha()/255d;
  261. int fcAlpha = fc.getAlpha();
  262. if (fcAlpha != -1) {
  263. alpha *= fcAlpha/100000d;
  264. }
  265. return Math.min(1, Math.max(0, alpha));
  266. }
  267. /**
  268. * Apply the modulation and offset adjustments to the given HSL part
  269. *
  270. * Example for lumMod/lumOff:
  271. * The lumMod value is the percent luminance. A lumMod value of "60000",
  272. * is 60% of the luminance of the original color.
  273. * When the color is a shade of the original theme color, the lumMod
  274. * attribute is the only one of the tags shown here that appears.
  275. * The <a:lumOff> tag appears after the <a:lumMod> tag when the color is a
  276. * tint of the original. The lumOff value always equals 1-lumMod, which is used in the tint calculation
  277. *
  278. * Despite having different ways to display the tint and shade percentages,
  279. * all of the programs use the same method to calculate the resulting color.
  280. * Convert the original RGB value to HSL ... and then adjust the luminance (L)
  281. * with one of the following equations before converting the HSL value back to RGB.
  282. * (The % tint in the following equations refers to the tint, themetint, themeshade,
  283. * or lumMod values, as applicable.)
  284. *
  285. * @param hsl the hsl values
  286. * @param hslPart the hsl part to modify [0..2]
  287. * @param mod the modulation adjustment
  288. * @param off the offset adjustment
  289. */
  290. private static void applyHslModOff(double[] hsl, int hslPart, int mod, int off) {
  291. if (mod == -1) {
  292. mod = 100000;
  293. }
  294. if (off == -1) {
  295. off = 0;
  296. }
  297. if (!(mod == 100000 && off == 0)) {
  298. double fOff = off / 1000d;
  299. double fMod = mod / 100000d;
  300. hsl[hslPart] = hsl[hslPart]*fMod+fOff;
  301. }
  302. }
  303. /**
  304. * Apply the shade
  305. *
  306. * For a shade, the equation is luminance * %tint.
  307. */
  308. private static void applyShade(double[] hsl, ColorStyle fc) {
  309. int shade = fc.getShade();
  310. if (shade == -1) {
  311. return;
  312. }
  313. double shadePct = shade / 100000.;
  314. hsl[2] *= 1. - shadePct;
  315. }
  316. /**
  317. * Apply the tint
  318. *
  319. * For a tint, the equation is luminance * %tint + (1-%tint).
  320. * (Note that 1-%tint is equal to the lumOff value in DrawingML.)
  321. */
  322. private static void applyTint(double[] hsl, ColorStyle fc) {
  323. int tint = fc.getTint();
  324. if (tint == -1) {
  325. return;
  326. }
  327. // see 18.8.19 fgColor (Foreground Color)
  328. double tintPct = tint / 100000.;
  329. hsl[2] = hsl[2]*(1.-tintPct) + (100.-100.*(1.-tintPct));
  330. }
  331. @SuppressWarnings("WeakerAccess")
  332. protected Paint createLinearGradientPaint(GradientPaint fill, Graphics2D graphics) {
  333. // TODO: we need to find the two points for gradient - the problem is, which point at the outline
  334. // do you take? My solution would be to apply the gradient rotation to the shape in reverse
  335. // and then scan the shape for the largest possible horizontal distance
  336. double angle = fill.getGradientAngle();
  337. if (!fill.isRotatedWithShape()) {
  338. angle -= shape.getRotation();
  339. }
  340. Rectangle2D anchor = DrawShape.getAnchor(graphics, shape);
  341. AffineTransform at = AffineTransform.getRotateInstance(Math.toRadians(angle), anchor.getCenterX(), anchor.getCenterY());
  342. double diagonal = Math.sqrt(Math.pow(anchor.getWidth(),2) + Math.pow(anchor.getHeight(),2));
  343. final Point2D p1 = at.transform(new Point2D.Double(anchor.getCenterX() - diagonal / 2, anchor.getCenterY()), null);
  344. final Point2D p2 = at.transform(new Point2D.Double(anchor.getMaxX(), anchor.getCenterY()), null);
  345. // snapToAnchor(p1, anchor);
  346. // snapToAnchor(p2, anchor);
  347. // gradient paint on the same point throws an exception ... and doesn't make sense
  348. // also having less than two fractions will not work
  349. return (p1.equals(p2) || fill.getGradientFractions().length < 2) ?
  350. null :
  351. safeFractions((f,c)->new LinearGradientPaint(p1,p2,f,c), fill);
  352. }
  353. @SuppressWarnings("WeakerAccess")
  354. protected Paint createRadialGradientPaint(GradientPaint fill, Graphics2D graphics) {
  355. Rectangle2D anchor = DrawShape.getAnchor(graphics, shape);
  356. final Point2D pCenter = new Point2D.Double(anchor.getCenterX(), anchor.getCenterY());
  357. final float radius = (float)Math.max(anchor.getWidth(), anchor.getHeight());
  358. return safeFractions((f,c)->new RadialGradientPaint(pCenter,radius,f,c), fill);
  359. }
  360. @SuppressWarnings({"WeakerAccess", "unused"})
  361. protected Paint createPathGradientPaint(GradientPaint fill, Graphics2D graphics) {
  362. // currently we ignore an eventually center setting
  363. return safeFractions(PathGradientPaint::new, fill);
  364. }
  365. private Paint safeFractions(BiFunction<float[],Color[],Paint> init, GradientPaint fill) {
  366. float[] fractions = fill.getGradientFractions();
  367. final ColorStyle[] styles = fill.getGradientColors();
  368. // need to remap the fractions, because Java doesn't like repeating fraction values
  369. Map<Float,Color> m = new TreeMap<>();
  370. for (int i = 0; i<fractions.length; i++) {
  371. // if fc is null, use transparent color to get color of background
  372. m.put(fractions[i], (styles[i] == null ? TRANSPARENT : applyColorTransform(styles[i])));
  373. }
  374. final Color[] colors = new Color[m.size()];
  375. if (fractions.length != m.size()) {
  376. fractions = new float[m.size()];
  377. }
  378. int i=0;
  379. for (Map.Entry<Float,Color> me : m.entrySet()) {
  380. fractions[i] = me.getKey();
  381. colors[i] = me.getValue();
  382. i++;
  383. }
  384. return init.apply(fractions, colors);
  385. }
  386. /**
  387. * Convert HSL values to a RGB Color.
  388. *
  389. * @param h Hue is specified as degrees in the range 0 - 360.
  390. * @param s Saturation is specified as a percentage in the range 1 - 100.
  391. * @param l Luminance is specified as a percentage in the range 1 - 100.
  392. * @param alpha the alpha value between 0 - 1
  393. *
  394. * @return the RGB Color object
  395. */
  396. public static Color HSL2RGB(double h, double s, double l, double alpha) {
  397. // we clamp the values, as it possible to come up with more than 100% sat/lum
  398. // (see links in applyColorTransform() for more info)
  399. s = Math.max(0, Math.min(100, s));
  400. l = Math.max(0, Math.min(100, l));
  401. if (alpha <0.0f || alpha > 1.0f) {
  402. String message = "Color parameter outside of expected range - Alpha: " + alpha;
  403. throw new IllegalArgumentException( message );
  404. }
  405. // Formula needs all values between 0 - 1.
  406. h = h % 360.0f;
  407. h /= 360f;
  408. s /= 100f;
  409. l /= 100f;
  410. double q = (l < 0.5d)
  411. ? l * (1d + s)
  412. : (l + s) - (s * l);
  413. double p = 2d * l - q;
  414. double r = Math.max(0, HUE2RGB(p, q, h + (1.0d / 3.0d)));
  415. double g = Math.max(0, HUE2RGB(p, q, h));
  416. double b = Math.max(0, HUE2RGB(p, q, h - (1.0d / 3.0d)));
  417. r = Math.min(r, 1.0d);
  418. g = Math.min(g, 1.0d);
  419. b = Math.min(b, 1.0d);
  420. return new Color((float)r, (float)g, (float)b, (float)alpha);
  421. }
  422. private static double HUE2RGB(double p, double q, double h) {
  423. if (h < 0d) {
  424. h += 1d;
  425. }
  426. if (h > 1d) {
  427. h -= 1d;
  428. }
  429. if (6d * h < 1d) {
  430. return p + ((q - p) * 6d * h);
  431. }
  432. if (2d * h < 1d) {
  433. return q;
  434. }
  435. if (3d * h < 2d) {
  436. return p + ( (q - p) * 6d * ((2.0d / 3.0d) - h) );
  437. }
  438. return p;
  439. }
  440. /**
  441. * Convert a RGB Color to it corresponding HSL values.
  442. *
  443. * @return an array containing the 3 HSL values.
  444. */
  445. private static double[] RGB2HSL(Color color)
  446. {
  447. // Get RGB values in the range 0 - 1
  448. float[] rgb = color.getRGBColorComponents( null );
  449. double r = rgb[0];
  450. double g = rgb[1];
  451. double b = rgb[2];
  452. // Minimum and Maximum RGB values are used in the HSL calculations
  453. double min = Math.min(r, Math.min(g, b));
  454. double max = Math.max(r, Math.max(g, b));
  455. // Calculate the Hue
  456. double h = 0;
  457. if (max == min) {
  458. h = 0;
  459. } else if (max == r) {
  460. h = ((60d * (g - b) / (max - min)) + 360d) % 360d;
  461. } else if (max == g) {
  462. h = (60d * (b - r) / (max - min)) + 120d;
  463. } else if (max == b) {
  464. h = (60d * (r - g) / (max - min)) + 240d;
  465. }
  466. // Calculate the Luminance
  467. double l = (max + min) / 2d;
  468. // Calculate the Saturation
  469. final double s;
  470. if (max == min) {
  471. s = 0;
  472. } else if (l <= .5d) {
  473. s = (max - min) / (max + min);
  474. } else {
  475. s = (max - min) / (2d - max - min);
  476. }
  477. return new double[] {h, s * 100, l * 100};
  478. }
  479. /**
  480. * Convert sRGB float component [0..1] from sRGB to linear RGB [0..100000]
  481. *
  482. * @see Color#getRGBColorComponents(float[])
  483. */
  484. public static int srgb2lin(float sRGB) {
  485. // scRGB has a linear gamma of 1.0, scale the AWT-Color which is in sRGB to linear RGB
  486. // see https://en.wikipedia.org/wiki/SRGB (the reverse transformation)
  487. if (sRGB <= 0.04045d) {
  488. return (int)Math.rint(100000d * sRGB / 12.92d);
  489. } else {
  490. return (int)Math.rint(100000d * Math.pow((sRGB + 0.055d) / 1.055d, 2.4d));
  491. }
  492. }
  493. /**
  494. * Convert linear RGB [0..100000] to sRGB float component [0..1]
  495. *
  496. * @see Color#getRGBColorComponents(float[])
  497. */
  498. public static float lin2srgb(int linRGB) {
  499. // color in percentage is in linear RGB color space, i.e. needs to be gamma corrected for AWT color
  500. // see https://en.wikipedia.org/wiki/SRGB (The forward transformation)
  501. if (linRGB <= 0.0031308d) {
  502. return (float)(linRGB / 100000d * 12.92d);
  503. } else {
  504. return (float)(1.055d * Math.pow(linRGB / 100000d, 1.0d/2.4d) - 0.055d);
  505. }
  506. }
  507. static void fillPaintWorkaround(Graphics2D graphics, Shape shape) {
  508. // the ibm jdk has a rendering/JIT bug, which throws an AIOOBE in
  509. // TexturePaintContext$Int.setRaster(TexturePaintContext.java:476)
  510. // this usually doesn't happen while debugging, because JIT doesn't jump in then.
  511. try {
  512. graphics.fill(shape);
  513. } catch (ArrayIndexOutOfBoundsException e) {
  514. LOG.log(POILogger.WARN, "IBM JDK failed with TexturePaintContext AIOOBE - try adding the following to the VM parameter:\n" +
  515. "-Xjit:exclude={sun/java2d/pipe/AlphaPaintPipe.renderPathTile(Ljava/lang/Object;[BIIIIII)V} and " +
  516. "search for 'JIT Problem Determination for IBM SDK using -Xjit' (http://www-01.ibm.com/support/docview.wss?uid=swg21294023) " +
  517. "for how to add/determine further excludes", e);
  518. }
  519. }
  520. }