The crimes he is charged with are not publishing the papers (that is very clearly permitted under the US constitution -- and not restricted in any way to "journalists"). The crimes he is charged with are to do with the way he received the information.
How is that different from the Pentagon Papers?