LAWRENCEVILL, N.J. — New Jersey’s Democratic candidate for governor says he disagrees with his running mate over her vote against legislation barring the state pension from investing in companies that boycott Israel.

Phil Murphy said Friday at an unrelated event in Lawrenceville that he would have voted in favor of the legislation that incumbent Republican Gov. Christ Christie signed into law last year.

Democratic Assemblywoman Sheila Oliver, Murphy’s lieutenant governor pick, was one of three no votes last year.

The measure is part of a broader effort to oppose the so-called boycott, divestment and sanctions movement that targets Israel and Israeli businesses.

The legislation requires the State Investment Council, which manages the pension, to identify potential investments in companies with Israeli boycotts and to divest.