See
<https://ci-builds.apache.org/job/POI/job/POI-DSL-Windows-1.17/330/display/redirect?page=changes>
Changes:
[PJ Fanning] try to use IllegalStateException instead of RuntimeException
[PJ Fanning] try to use IllegalStateException instead of RuntimeException
[PJ Fanning] log4j 2.19.0 rc2 may not need hamcrest build hack
[PJ Fanning] try to use checked exceptions where APIs already support them
[PJ Fanning] try to use IllegalStateException instead of RuntimeException
[PJ Fanning] try to use IllegalStateException instead of RuntimeException
------------------------------------------
[...truncated 294.72 KB...]
M D DLS: Dead store to glyphPosCnt in
org.apache.poi.hemf.record.emfplus.HemfPlusDraw$EmfPlusDrawDriverString.init(LittleEndianInputStream,
long, long, int) At HemfPlusDraw.java:[line 722]
M V EI2: new org.apache.poi.hssf.converter.ExcelToFoConverter(FoDocumentFacade)
may expose internal representation by storing an externally mutable object into
ExcelToFoConverter.foDocumentFacade At ExcelToFoConverter.java:[line 125]
M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfFrameRegion.getFrame() may
expose internal representation by returning HwmfDraw$WmfFrameRegion.frame At
HwmfDraw.java:[line 331]
M V EI: org.apache.poi.hdgf.streams.ChunkStream.getChunks() may expose internal
representation by returning ChunkStream.chunks At ChunkStream.java:[line 46]
M V EI: org.apache.poi.hwmf.record.HwmfWindowing$WmfScaleViewportExt.getScale()
may expose internal representation by returning
HwmfWindowing$WmfScaleViewportExt.scale At HwmfWindowing.java:[line 449]
M V EI2: new
org.apache.poi.hslf.extractor.QuickButCruddyTextExtractor(POIFSFileSystem) may
expose internal representation by storing an externally mutable object into
QuickButCruddyTextExtractor.fs At QuickButCruddyTextExtractor.java:[line 100]
M V EI:
org.apache.poi.hemf.record.emfplus.HemfPlusRegion$EmfPlusRegion.getRegionNode()
may expose internal representation by returning
HemfPlusRegion$EmfPlusRegion.regionNode At HemfPlusRegion.java:[line 150]
M D DLS: Dead store to nodeCount in
org.apache.poi.hemf.record.emfplus.HemfPlusRegion$EmfPlusRegion.init(LittleEndianInputStream,
long, HemfPlusObject$EmfPlusObjectType, int) At HemfPlusRegion.java:[line 117]
M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfSetDiBitsToDevice.getSrc()
may expose internal representation by returning
HemfFill$EmfSetDiBitsToDevice.src At HemfFill.java:[line 740]
M V EI:
org.apache.poi.hemf.record.emf.HemfFill$EmfSetDiBitsToDevice.getBounds() may
expose internal representation by returning
HemfFill$EmfSetDiBitsToDevice.bounds At HemfFill.java:[line 732]
M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfSetDiBitsToDevice.getDest()
may expose internal representation by returning
HemfFill$EmfSetDiBitsToDevice.dest At HemfFill.java:[line 736]
M D DLS: Dead store to iStartScan in
org.apache.poi.hemf.record.emf.HemfFill$EmfSetDiBitsToDevice.init(LittleEndianInputStream,
long, long) At HemfFill.java:[line 721]
M D DLS: Dead store to cScans in
org.apache.poi.hemf.record.emf.HemfFill$EmfSetDiBitsToDevice.init(LittleEndianInputStream,
long, long) At HemfFill.java:[line 723]
M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfLineTo.getPoint() may expose
internal representation by returning HwmfDraw$WmfLineTo.point At
HwmfDraw.java:[line 120]
M V EI: org.apache.poi.hwmf.record.HwmfText$WmfExtTextOut.getReference() may
expose internal representation by returning HwmfText$WmfExtTextOut.reference
At HwmfText.java:[line 480]
M V EI: org.apache.poi.hwmf.record.HwmfText$WmfExtTextOut.getBounds() may
expose internal representation by returning HwmfText$WmfExtTextOut.bounds At
HwmfText.java:[line 484]
M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfFrameRgn.getRgnRects() may
expose internal representation by returning HemfFill$EmfFrameRgn.rgnRects At
HemfFill.java:[line 375]
M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfFrameRgn.getBounds() may
expose internal representation by returning HemfFill$EmfFrameRgn.bounds At
HemfFill.java:[line 371]
M D DLS: Dead store to rgnDataSize in
org.apache.poi.hemf.record.emf.HemfFill$EmfFrameRgn.init(LittleEndianInputStream,
long, long) At HemfFill.java:[line 347]
M V EI: org.apache.poi.hwmf.record.HwmfFill$WmfSetDibToDev.getSrcBounds() may
expose internal representation by returning HwmfFill$WmfSetDibToDev.srcBounds
At HwmfFill.java:[line 801]
M V EI: org.apache.poi.hwmf.record.HwmfFill$WmfSetDibToDev.getDstBounds() may
expose internal representation by returning HwmfFill$WmfSetDibToDev.dstBounds
At HwmfFill.java:[line 805]
M V EI: org.apache.poi.hemf.record.emf.HemfText$EmfExtTextOutA.getScale() may
expose internal representation by returning HemfText$EmfExtTextOutA.scale At
HemfText.java:[line 215]
M D BC: Unchecked/unconfirmed cast from org.apache.poi.hwmf.draw.HwmfGraphics
to org.apache.poi.hemf.draw.HemfGraphics in
org.apache.poi.hemf.record.emfplus.HemfPlusObject$EmfPlusObject.applyObject(HwmfGraphics)
At HemfPlusObject.java:[line 217]
M V EI: org.apache.poi.hwmf.record.HwmfWindowing$WmfExcludeClipRect.getBounds()
may expose internal representation by returning
HwmfWindowing$WmfExcludeClipRect.bounds At HwmfWindowing.java:[line 534]
M V EI:
org.apache.poi.hemf.record.emfplus.HemfPlusMisc$EmfPlusSetWorldTransform.getMatrixData()
may expose internal representation by returning
HemfPlusMisc$EmfPlusSetWorldTransform.matrixData At HemfPlusMisc.java:[line
220]
M V EI: org.apache.poi.hslf.record.Comment2000.getComment2000Atom() may expose
internal representation by returning Comment2000.commentAtom At
Comment2000.java:[line 59]
M V EI: org.apache.poi.hemf.record.emf.HemfDraw$EmfPolyPolygon.getBounds() may
expose internal representation by returning HemfDraw$EmfPolyPolygon.bounds At
HemfDraw.java:[line 545]
M D DLS: Dead store to count in
org.apache.poi.hemf.record.emf.HemfDraw$EmfPolyPolygon.init(LittleEndianInputStream,
long, long) At HemfDraw.java:[line 499]
M D DLS: Dead store to CustomStartCapSize in
org.apache.poi.hemf.record.emfplus.HemfPlusPen$EmfPlusPen.initCustomCap(Consumer,
LittleEndianInputStream) At HemfPlusPen.java:[line 535]
M V EI:
org.apache.poi.hemf.record.emf.HemfMisc$EmfModifyWorldTransform.getXForm() may
expose internal representation by returning
HemfMisc$EmfModifyWorldTransform.xForm At HemfMisc.java:[line 843]
M V EI:
org.apache.poi.hwmf.record.HwmfMisc$WmfCreateBrushIndirect.getColorRef() may
expose internal representation by returning
HwmfMisc$WmfCreateBrushIndirect.colorRef At HwmfMisc.java:[line 842]
M V EI: org.apache.poi.hemf.record.emf.HemfDraw$EmfStrokePath.getBounds() may
expose internal representation by returning HemfDraw$EmfStrokePath.bounds At
HemfDraw.java:[line 1265]
M V EI: org.apache.poi.hemf.record.emf.HemfDraw$EmfPolyBezier.getBounds() may
expose internal representation by returning HemfDraw$EmfPolyBezier.bounds At
HemfDraw.java:[line 205]
M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfSetPixel.getPoint() may expose
internal representation by returning HwmfDraw$WmfSetPixel.point At
HwmfDraw.java:[line 541]
M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfSetPixel.getColorRef() may
expose internal representation by returning HwmfDraw$WmfSetPixel.colorRef At
HwmfDraw.java:[line 537]
M V EI: org.apache.poi.hsmf.extractor.OutlookTextExtractor.getMAPIMessage() may
expose internal representation by returning OutlookTextExtractor.msg At
OutlookTextExtractor.java:[line 82]
M V EI: org.apache.poi.hsmf.extractor.OutlookTextExtractor.getDocument() may
expose internal representation by returning OutlookTextExtractor.msg At
OutlookTextExtractor.java:[line 209]
M V EI2: new org.apache.poi.hsmf.extractor.OutlookTextExtractor(MAPIMessage)
may expose internal representation by storing an externally mutable object into
OutlookTextExtractor.msg At OutlookTextExtractor.java:[line 50]
M V EI: org.apache.poi.hsmf.extractor.OutlookTextExtractor.getFilesystem() may
expose internal representation by returning OutlookTextExtractor.msg At
OutlookTextExtractor.java:[line 224]
M V EI2: new
org.apache.poi.hwpf.converter.WordToHtmlConverter(HtmlDocumentFacade) may
expose internal representation by storing an externally mutable object into
WordToHtmlConverter.htmlDocumentFacade At WordToHtmlConverter.java:[line 104]
M V EI:
org.apache.poi.hemf.record.emf.HemfComment$EmfCommentDataMultiformats.getBounds()
may expose internal representation by returning
HemfComment$EmfCommentDataMultiformats.bounds At HemfComment.java:[line 476]
M V EI2: new org.apache.poi.hpbf.dev.PLCDumper(HPBFDocument) may expose
internal representation by storing an externally mutable object into
PLCDumper.doc At PLCDumper.java:[line 40]
M V EI: org.apache.poi.hwmf.record.HwmfText$WmfSetTextColor.getColorRef() may
expose internal representation by returning HwmfText$WmfSetTextColor.colorRef
At HwmfText.java:[line 134]
M V EI: org.apache.poi.hemf.record.emf.HemfDraw$EmfPolyDraw.getBounds() may
expose internal representation by returning HemfDraw$EmfPolyDraw.bounds At
HemfDraw.java:[line 1020]
M V EI: org.apache.poi.hslf.usermodel.HSLFTitleMaster.getTextParagraphs() may
expose internal representation by returning HSLFTitleMaster._paragraphs At
HSLFTitleMaster.java:[line 51]
M V EI: org.apache.poi.hemf.draw.HemfImageRenderer.getGenericRecord() may
expose internal representation by returning HemfImageRenderer.image At
HemfImageRenderer.java:[line 135]
M V EI: org.apache.poi.hwmf.record.HwmfWindowing$WmfScaleWindowExt.getScale()
may expose internal representation by returning
HwmfWindowing$WmfScaleWindowExt.scale At HwmfWindowing.java:[line 385]
M V EI2: new org.apache.poi.hslf.dev.SlideShowRecordDumper(PrintStream, String,
boolean, boolean) may expose internal representation by storing an externally
mutable object into SlideShowRecordDumper.ps At
SlideShowRecordDumper.java:[line 106]
M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfRoundRect.getCorners() may
expose internal representation by returning HwmfDraw$WmfRoundRect.corners At
HwmfDraw.java:[line 591]
M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfRoundRect.getBounds() may expose
internal representation by returning HwmfDraw$WmfRoundRect.bounds At
HwmfDraw.java:[line 595]
M V EI: org.apache.poi.hwmf.record.HwmfWindowing$WmfOffsetClipRgn.getOffset()
may expose internal representation by returning
HwmfWindowing$WmfOffsetClipRgn.offset At HwmfWindowing.java:[line 494]
M V EI:
org.apache.poi.hemf.record.emfplus.HemfPlusMisc$EmfPlusSetClipRect.getClipRect()
may expose internal representation by returning
HemfPlusMisc$EmfPlusSetClipRect.clipRect At HemfPlusMisc.java:[line 358]
M V EI: org.apache.poi.hwmf.record.HwmfWindowing$WmfOffsetWindowOrg.getOffset()
may expose internal representation by returning
HwmfWindowing$WmfOffsetWindowOrg.offset At HwmfWindowing.java:[line 325]
M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfInvertRgn.getBounds() may
expose internal representation by returning HemfFill$EmfInvertRgn.bounds At
HemfFill.java:[line 419]
M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfInvertRgn.getRgnRects() may
expose internal representation by returning HemfFill$EmfInvertRgn.rgnRects At
HemfFill.java:[line 423]
M D DLS: Dead store to rgnDataSize in
org.apache.poi.hemf.record.emf.HemfFill$EmfInvertRgn.init(LittleEndianInputStream,
long, long) At HemfFill.java:[line 408]
M V EI:
org.apache.poi.hemf.record.emfplus.HemfPlusDraw$EmfPlusFillRects.getRectData()
may expose internal representation by returning
HemfPlusDraw$EmfPlusFillRects.rectData At HemfPlusDraw.java:[line 320]
M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfStretchDiBits.getBounds()
may expose internal representation by returning
HemfFill$EmfStretchDiBits.bounds At HemfFill.java:[line 298]
M V EI: org.apache.poi.hwpf.extractor.Word6Extractor.getFilesystem() may expose
internal representation by returning Word6Extractor.doc At
Word6Extractor.java:[line 143]
M V EI: org.apache.poi.hwpf.extractor.Word6Extractor.getDocument() may expose
internal representation by returning Word6Extractor.doc At
Word6Extractor.java:[line 128]
M V EI2: new org.apache.poi.hwpf.extractor.Word6Extractor(HWPFOldDocument) may
expose internal representation by storing an externally mutable object into
Word6Extractor.doc At Word6Extractor.java:[line 76]
M V EI: org.apache.poi.hdgf.extractor.VisioTextExtractor.getFilesystem() may
expose internal representation by returning VisioTextExtractor.hdgf At
VisioTextExtractor.java:[line 138]
M V EI: org.apache.poi.hdgf.extractor.VisioTextExtractor.getDocument() may
expose internal representation by returning VisioTextExtractor.hdgf At
VisioTextExtractor.java:[line 123]
M V EI2: new org.apache.poi.hdgf.extractor.VisioTextExtractor(HDGFDiagram) may
expose internal representation by storing an externally mutable object into
VisioTextExtractor.hdgf At VisioTextExtractor.java:[line 45]
M V EI: org.apache.poi.hslf.usermodel.HSLFHyperlink.getInfo() may expose
internal representation by returning HSLFHyperlink.info At
HSLFHyperlink.java:[line 55]
M V EI: org.apache.poi.hslf.usermodel.HSLFHyperlink.getTextRunInfo() may expose
internal representation by returning HSLFHyperlink.txinfo At
HSLFHyperlink.java:[line 59]
M V EI: org.apache.poi.hslf.usermodel.HSLFHyperlink.getExHyperlink() may expose
internal representation by returning HSLFHyperlink.exHyper At
HSLFHyperlink.java:[line 51]
M V EI2: new org.apache.poi.hslf.usermodel.HSLFComment(Comment2000) may expose
internal representation by storing an externally mutable object into
HSLFComment._comment2000 At HSLFComment.java:[line 31]
M V EI2: new org.apache.poi.hslf.usermodel.HSLFSlide(Slide, HSLFNotes,
SlideListWithText$SlideAtomsSet, int, int) may expose internal representation
by storing an externally mutable object into HSLFSlide._notes At
HSLFSlide.java:[line 77]
M V EI2: org.apache.poi.hslf.usermodel.HSLFSlide.setNotes(Notes) may expose
internal representation by storing an externally mutable object into
HSLFSlide._notes At HSLFSlide.java:[line 128]
M V EI: org.apache.poi.hslf.usermodel.HSLFSlide.getTextParagraphs() may expose
internal representation by returning HSLFSlide._paragraphs At
HSLFSlide.java:[line 244]
M V EI: org.apache.poi.hslf.usermodel.HSLFSlide.getNotes() may expose internal
representation by returning HSLFSlide._notes At HSLFSlide.java:[line 116]
M V EI: org.apache.poi.hwmf.record.HwmfFill$WmfPatBlt.getBounds() may expose
internal representation by returning HwmfFill$WmfPatBlt.bounds At
HwmfFill.java:[line 449]
M V EI: org.apache.poi.hwmf.record.HwmfWindowing$WmfSetViewportOrg.getOrigin()
may expose internal representation by returning
HwmfWindowing$WmfSetViewportOrg.origin At HwmfWindowing.java:[line 83]
M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfArc.getEndPoint() may expose
internal representation by returning HwmfDraw$WmfArc.endPoint At
HwmfDraw.java:[line 696]
M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfArc.getStartPoint() may expose
internal representation by returning HwmfDraw$WmfArc.startPoint At
HwmfDraw.java:[line 692]
M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfArc.getBounds() may expose
internal representation by returning HwmfDraw$WmfArc.bounds At
HwmfDraw.java:[line 700]
M V EI:
org.apache.poi.hwmf.record.HwmfWindowing$WmfOffsetViewportOrg.getOffset() may
expose internal representation by returning
HwmfWindowing$WmfOffsetViewportOrg.offset At HwmfWindowing.java:[line 178]
M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfStretchBlt.getBounds() may
expose internal representation by returning HemfFill$EmfStretchBlt.bounds At
HemfFill.java:[line 203]
M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfStretchBlt.getXFormSrc() may
expose internal representation by returning HemfFill$EmfStretchBlt.xFormSrc At
HemfFill.java:[line 207]
M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfStretchBlt.getBkColorSrc()
may expose internal representation by returning
HemfFill$EmfStretchBlt.bkColorSrc At HemfFill.java:[line 211]
M V EI: org.apache.poi.hwmf.record.HwmfWindowing$WmfSetWindowOrg.getOrigin()
may expose internal representation by returning
HwmfWindowing$WmfSetWindowOrg.origin At HwmfWindowing.java:[line 228]
M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfEllipse.getBounds() may expose
internal representation by returning HwmfDraw$WmfEllipse.bounds At
HwmfDraw.java:[line 261]
M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfRectangle.getBounds() may expose
internal representation by returning HwmfDraw$WmfRectangle.bounds At
HwmfDraw.java:[line 498]
M V EI2: org.apache.poi.hwpf.model.types.LVLFAbstractType.setRgbxchNums(byte[])
may expose internal representation by storing an externally mutable object into
LVLFAbstractType.field_4_rgbxchNums At LVLFAbstractType.java:[line 258]
M V EI2: org.apache.poi.hwpf.model.types.LVLFAbstractType.setGrfhic(Grfhic) may
expose internal representation by storing an externally mutable object into
LVLFAbstractType.field_11_grfhic At LVLFAbstractType.java:[line 384]
M V EI: org.apache.poi.hwpf.model.types.LVLFAbstractType.getRgbxchNums() may
expose internal representation by returning LVLFAbstractType.field_4_rgbxchNums
At LVLFAbstractType.java:[line 249]
M V EI: org.apache.poi.hwpf.model.types.LVLFAbstractType.getGrfhic() may expose
internal representation by returning LVLFAbstractType.field_11_grfhic At
LVLFAbstractType.java:[line 375]
M V EI: org.apache.poi.hemf.record.emf.HemfMisc$EmfSetWorldTransform.getXForm()
may expose internal representation by returning
HemfMisc$EmfSetWorldTransform.xForm At HemfMisc.java:[line 771]
M V EI: org.apache.poi.hslf.usermodel.HSLFTextRun.createHyperlink() may expose
internal representation by returning HSLFTextRun.link At
HSLFTextRun.java:[line 492]
M V EI: org.apache.poi.hslf.usermodel.HSLFTextRun.getCharacterStyle() may
expose internal representation by returning HSLFTextRun.characterStyle At
HSLFTextRun.java:[line 75]
M V EI: org.apache.poi.hslf.usermodel.HSLFTextRun.getParagraph() may expose
internal representation by returning HSLFTextRun.parentParagraph At
HSLFTextRun.java:[line 530]
M V EI: org.apache.poi.hslf.usermodel.HSLFTextRun.getHyperlink() may expose
internal representation by returning HSLFTextRun.link At
HSLFTextRun.java:[line 483]
M V EI: org.apache.poi.hslf.usermodel.HSLFTextRun.getTextParagraph() may expose
internal representation by returning HSLFTextRun.parentParagraph At
HSLFTextRun.java:[line 449]
M V EI2: new org.apache.poi.hslf.usermodel.HSLFTextRun(HSLFTextParagraph) may
expose internal representation by storing an externally mutable object into
HSLFTextRun.parentParagraph At HSLFTextRun.java:[line 71]
M V EI:
org.apache.poi.hemf.record.emf.HemfFill$EmfExtSelectClipRgn.getRgnRects() may
expose internal representation by returning
HemfFill$EmfExtSelectClipRgn.rgnRects At HemfFill.java:[line 540]
M D DLS: Dead store to rgnDataSize in
org.apache.poi.hemf.record.emf.HemfFill$EmfExtSelectClipRgn.init(LittleEndianInputStream,
long, long) At HemfFill.java:[line 508]
M V EI: org.apache.poi.hwmf.record.HwmfFill$WmfDibStretchBlt.getSrcBounds() may
expose internal representation by returning HwmfFill$WmfDibStretchBlt.srcBounds
At HwmfFill.java:[line 945]
M V EI: org.apache.poi.hwmf.record.HwmfFill$WmfDibStretchBlt.getDstBounds() may
expose internal representation by returning HwmfFill$WmfDibStretchBlt.dstBounds
At HwmfFill.java:[line 949]
M V EI: org.apache.poi.hwmf.record.HwmfMisc$WmfSetBkColor.getColorRef() may
expose internal representation by returning HwmfMisc$WmfSetBkColor.colorRef At
HwmfMisc.java:[line 169]
M V EI:
org.apache.poi.hemf.record.emf.HemfComment$EmfCommentDataBeginGroup.getBounds()
may expose internal representation by returning
HemfComment$EmfCommentDataBeginGroup.bounds At HemfComment.java:[line 394]
M V EI2: new org.apache.poi.hsmf.dev.HSMFDump(POIFSFileSystem) may expose
internal representation by storing an externally mutable object into
HSMFDump.fs At HSMFDump.java:[line 38]
M V EI: org.apache.poi.hwmf.record.HwmfWindowing$WmfSetViewportExt.getExtents()
may expose internal representation by returning
HwmfWindowing$WmfSetViewportExt.extents At HwmfWindowing.java:[line 133]
M V EI2: new org.apache.poi.hwpf.dev.HWPFLister(HWPFDocumentCore) may expose
internal representation by storing an externally mutable object into
HWPFLister._doc At HWPFLister.java:[line 275]
M V EI: org.apache.poi.hemf.record.emf.HemfMisc$EmfSetBrushOrgEx.getOrigin()
may expose internal representation by returning
HemfMisc$EmfSetBrushOrgEx.origin At HemfMisc.java:[line 735]
M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfMoveTo.getPoint() may expose
internal representation by returning HwmfDraw$WmfMoveTo.point At
HwmfDraw.java:[line 79]
M C UwF: Unwritten field:
org.apache.poi.hwmf.record.HwmfMisc$WmfDibCreatePatternBrush.pattern16 At
HwmfMisc.java:[line 561]
M D UuF: Unused public or protected field:
org.apache.poi.hwmf.record.HwmfFont.pitch In HwmfFont.java
M D UuF: Unused public or protected field:
org.apache.poi.hwmf.record.HwmfFont.family In HwmfFont.java
M P UrF: Unread field:
org.apache.poi.hwmf.record.HwmfEscape$WmfEscapeUnknownData.escapeFunction At
HwmfEscape.java:[line 258]
M P SS: Unread field: org.apache.poi.hslf.dev.PPTXMLDump.hexHeader; should this
field be static? At PPTXMLDump.java:[line 52]
M P UrF: Unread field:
org.apache.poi.hemf.record.emfplus.HemfPlusObject$EmfPlusObject.objectId At
HemfPlusObject.java:[line 173]
M D UrF: Unread public/protected field:
org.apache.poi.hemf.record.emf.HemfMisc$EmfModifyWorldTransform.header At
HemfMisc.java:[line 806]
M P UrF: Unread field: org.apache.poi.hmef.HMEFMessage.fileId At
HMEFMessage.java:[line 69]
M V MS: org.apache.poi.hslf.usermodel.HSLFSimpleShape.ADJUST_VALUES should be
package protected At HSLFSimpleShape.java:[line 65]
M V MS: org.apache.poi.hwmf.usermodel.HwmfPicture.MAX_RECORD_LENGTH should be
package protected At HwmfPicture.java:[line 59]
SpotBugs ended with exit code 1
> Task :poi-ooxml:compileJava9
> Task :poi-ooxml:cacheJava9 UP-TO-DATE
> Task :poi-ooxml:classes
> Task :poi-ooxml:jar
> Task :poi-excelant:compileJava
> Task :poi-excelant:compileJava9
> Task :poi-excelant:cacheJava9 UP-TO-DATE
> Task :poi-excelant:classes
> Task :poi-excelant:jar
> Task :poi:javadoc
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\src\main\java\org\apache\poi\hssf\model\InternalWorkbook.java:22:
warning: [removal] AccessControlException in java.security has been deprecated
and marked for removal
import java.security.AccessControlException;
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\src\main\java\org\apache\poi\poifs\nio\CleanerUtil.java:28:
warning: [removal] AccessController in java.security has been deprecated and
marked for removal
import java.security.AccessController;
^
> Task :poi-ooxml-full:getDeps
> Task :poi-excelant:javadoc
> Task :poi-excelant:javadocJar
> Task :poi-excelant:assemble
> Task :poi-excelant:forbiddenApisMain
> Task :allJavaDoc
> Task :poi-examples:compileJava
> Task :poi-ooxml:compileTestJava
> Task :poi-excelant:spotbugsMain
M V EI2:
org.apache.poi.ss.excelant.ExcelAntSet.setWorkbookUtil(ExcelAntWorkbookUtil)
may expose internal representation by storing an externally mutable object into
ExcelAntSet.wbUtil At ExcelAntSet.java:[line 39]
M V EI: org.apache.poi.ss.excelant.util.ExcelAntWorkbookUtil.getWorkbook() may
expose internal representation by returning ExcelAntWorkbookUtil.workbook At
ExcelAntWorkbookUtil.java:[line 193]
M V EI2:
org.apache.poi.ss.excelant.ExcelAntTest.setWorkbookUtil(ExcelAntWorkbookUtil)
may expose internal representation by storing an externally mutable object into
ExcelAntTest.workbookUtil At ExcelAntTest.java:[line 67]
M D DCN: Do not catch NullPointerException like in
org.apache.poi.ss.excelant.ExcelAntTest.execute() At ExcelAntTest.java:[line
180]
M V EI2:
org.apache.poi.ss.excelant.ExcelAntTask.addPrecision(ExcelAntPrecision) may
expose internal representation by storing an externally mutable object into
ExcelAntTask.precision At ExcelAntTask.java:[line 55]
SpotBugs ended with exit code 1
> Task :poi-excelant:getDeps
> Task :poi:javadoc
2 warnings
> Task :poi-ooxml-lite:compileJava9 FAILED
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml-lite\src\main\java9\module-info.java:26:
error: <identifier> expected
exports <<<<<<< .mine;
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml-lite\src\main\java9\module-info.java:26:
error: package is empty or does not exist: <error>
exports <<<<<<< .mine;
^
2 errors
> Task :poi-ooxml:compileTestJava
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xssf\usermodel\TestXSSFFont.java:20:
warning: [deprecation] FontCharset in org.apache.poi.ss.usermodel has been
deprecated
import static org.apache.poi.ss.usermodel.FontCharset.*;
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xddf\usermodel\chart\TestXDDFChartRemoveSeries.java:126:
warning: [deprecation] getSeries() in XDDFChartData has been deprecated
assertThrows(UnsupportedOperationException.class, () ->
chartData.getSeries().remove(0));
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xssf\extractor\TestXSSFExportToXML.java:692:
warning: [unchecked] getPrefixes(String) in XPathNSContext implements
getPrefixes(String) in NamespaceContext
public Iterator getPrefixes(String val) {
^
return type requires unchecked conversion from Iterator to Iterator<String>
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xssf\usermodel\TestXSSFSheet.java:288:
warning: [deprecation] createSplitPane(int,int,int,int,int) in XSSFSheet has
been deprecated
sheet.createSplitPane(4, 8, 12, 12,
PaneInformation.PANE_LOWER_RIGHT + 1);
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xssf\usermodel\TestXSSFWorkbook.java:1362:
warning: [deprecation] getCTExternalLink() in ExternalLinksTable has been
deprecated
CTExternalLink link =
workbook2.getExternalLinksTable().get(0).getCTExternalLink();
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:204:
warning: [deprecation] getFontSize() in XWPFRun has been deprecated
assertEquals(7, run.getFontSize());
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:212:
warning: [deprecation] getFontSize() in XWPFRun has been deprecated
assertEquals(25, run.getFontSize());
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:592:
warning: [deprecation] getFontSize() in XWPFRun has been deprecated
assertEquals(-1, run.getFontSize());
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:595:
warning: [deprecation] getFontSize() in XWPFRun has been deprecated
assertEquals(10, run.getFontSize());
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:598:
warning: [deprecation] getFontSize() in XWPFRun has been deprecated
assertEquals(Short.MAX_VALUE - 1, run.getFontSize());
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:601:
warning: [deprecation] getFontSize() in XWPFRun has been deprecated
assertEquals(Short.MAX_VALUE, run.getFontSize());
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:604:
warning: [deprecation] getFontSize() in XWPFRun has been deprecated
assertEquals(Short.MAX_VALUE + 1, run.getFontSize());
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:607:
warning: [deprecation] getFontSize() in XWPFRun has been deprecated
assertEquals(Integer.MAX_VALUE - 1, run.getFontSize());
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:610:
warning: [deprecation] getFontSize() in XWPFRun has been deprecated
assertEquals(Integer.MAX_VALUE, run.getFontSize());
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:613:
warning: [deprecation] getFontSize() in XWPFRun has been deprecated
assertEquals(-1, run.getFontSize());
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:661:
warning: [deprecation] getFontSize() in XWPFRun has been deprecated
assertEquals(10, run.getFontSize());
^
16 warnings
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':poi-ooxml-lite:compileJava9'.
> Compilation failed; see the compiler error output for details.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with
Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings
and determine if they come from your own scripts or plugins.
See
https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings
Execution optimizations have been disabled for 1 invalid unit(s) of work during
this build to ensure correctness.
Please consult deprecation warnings for more details.
BUILD FAILED in 10m 16s
93 actionable tasks: 82 executed, 11 up-to-date
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
[SpotBugs] Skipping execution of recorder since overall result is 'FAILURE'
Archiving artifacts
Recording test results
[Checks API] No suitable checks publisher found.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]