anchor.diff:  	}
   
   	private array function getPageSizes (required string path) {
  +		// TODO no loner works as expected, because lib changed
   		pageSizes = [];
   		try {
  -			pdDocument = CreateObject("java", "org.apache.pdfbox.pdmodel.PDDocument").load(arguments.path);
  -			pageIterator = pdDocument.getDocumentCatalog().getPages().getKids().iterator();
  +			var file = CreateObject("java", "java.io.File").init(arguments.path);
  +			pdDocument = CreateObject("java", "org.apache.pdfbox.Loader").loadPDF(file);
  +			pageIterator = pdDocument.getDocumentCatalog().getPages().iterator();
   
   			while (pageIterator.hasNext()) {
  -				objPage = pageIterator.next();
  +				var objPage = pageIterator.next();
   				pageSizes.append({
   					width: objPage.getTrimBox().getWidth(),
   					height: objPage.getTrimBox().getHeight()
  
positive.code: 			{ height: 612, width: 792 }
  		];
  
  		assertEquals(expected, pageSizes);
  	}
  
  	public void function testPDFOpen(){
  
negative.code: 		}
  		assertTrue(isPDFFile(path));
  
  		// TODO get pagesizes based on the new lib pageSizes = getPageSizes(ExpandPath(path));
  
  		expected = [
  			{ height: 612, width: 792 },
  