No he specifies what law he is talking about and says we will be judged by it.
JAMES 2:8-12
[8], If you fulfill the royal law according to the scripture, You shall love your neighbor as yourself, you do well:
[9], But if you have respect to persons, you commit sin, and are convicted of the law as transgressors.
[10], For whosoever shall keep the whole law, and yet offend in one point, he is guilty of all.
[11], For he that said, Do not commit adultery, said also, Do not kill. Now if you commit no adultery, yet you kill, you are become a transgressor of the law.
[12], So speak, and so do, as they that shall be judged by the law of liberty.
Sorry Dave, God's WORD'S not mine; the Ten commandments *EXODUS 20:1-17