At the very least grounds for action for bad judicial conduct.
Where I work, you can get copies of documents filed in the case as long as the judge does not seal said documents. Any documents, here at least are public record. Also any documents filed are considered part of the Official Record.
If a case is appealed to a higher court, we or the parties submit the Official Record to the appeals court. If it comes from here, that Official Record is Certified as such.
BUT, NEVER have I seen a judge give out their personal notes they took from a hearing. The judges notes are NOT part of the Official Record and normally are destroyed after the judge writes, issues and files his decision.