*8 OPINION OF THE COURT BY
On Fеbruary 13,1970, Leonora Fujioka, a minor, suffered injuries when a portion of the roof of Kalihi Queen’s Super Market fell upon her. Action for damages was instituted on her behalf against the owners of the building. The defendants-owners filed a third-party complaint against Hon Hoong Chee, engineer, and Sadaichi Kitajima, general contractor, as third-party defendants. The engineer had performed services in the planning and designing of the building and the general contractor had constructed the improvement. The owners alleged negligence and/or breach of warranty on the part of the engineer and general contractor.
Both the engineer and general contractor moved for summary judgment on the ground that their services were rendered on the building which had been completed before 1956, more than ten years before the collapse of the portion of the roof, and that under the provision of HRS § 657-8 1 they werе not liable for contribution or indemnity. The motion was granted and judgment was entered accordingly.
It is to be noted that Section 657-8 was first enacted by our legislature as Act 194, SLH 1967 by adding a new section, Sec. 241-7.1, to Chapter 241, RLH 1955. The first portion of the statute established a statute of limitation of two years after the accruing of the cause of action against registered and licensed persons for services rendered in the designing and construction of improvements on land. The next portion, which is in issue here, provides that no action to recover *9 damages for injuries arising from condition of any improvement on land shall be brought against such registered and licensed persons in any event ten years aftеr the performance or furnishing of such services.
The owners, on appeal before this court, for the first time attacked the constitutionality of the statute. Thus, it is contended by the engineer and the contractor that this court should nоt consider the issue because they were denied the opportunity to present evidence in the trial court and for the further reason that the trial judge was denied the opportunity to rule on the issue. It is the general rule that an appellate court should only reverse a judgment of a trial court on the legal theory presented by the appellant in the trial court.
Kawamoto v. Yasutake,
Here, the trial court rendered its judgment оn a motion for summary judgment. Thus, there is no material fact in issue and the resolution of the constitutional issue does not require additional facts. Further, we believe that the constitutionality of the statute is of great public import, and therefоre we will consider the issue, though it was raised for the first time *10 before this court.
Under the common law, one who suffers injuries has a claim for relief,.or a cause of action in tort, against another who owed the injured party a duty but failed to do what a reаsonably prudent person would have done, or did what a reasonably prudent person would not have done under the circumstances, providing that such omission or commission is the proximate cause of the injuries suffered.
Pratt v. Daly,
We agrеe with courts of other jurisdictions that our state legislature may, by legislative act, change or entirely abrogate common law rules through its exercise of the legislative power under the Hawaii State Constitution, but in the exercise of such power, the legislature may not violate a constitutional provision.
Warehouse Co. v. Tobacco Growers,
The question is whether the grant of immunity to the engineer and the contractor violates any provision of the Hawaii State Constitution or the United States Constitution.
EQUAL PROTECTION
We have said that “what is prohibited by the equal protection guaranty is class legislation, discriminating against some and favoring others. The guaranty was not intended to take from the states the right and power to classify the subjects of legislаtion, provided such classification of persons and things is reasonable for the purpose of legislation.”
State v. Johnston,
We also said that “in exercising this right to classify in order to achieve social goals the legislature may not act arbitrarily; that is, the classification of a particular group as a subject for regulation must be reasonable in relation to the purpose of the legislation.”
Hasegawa v. Maui Pineapple Co.,
The United States Supreme Court said that the equal protection guarаnty
*11 ‘does not prohibit legislation which is limited either in the objects to which it is directed, or by the territory within which it is to operate. It merely requires that all persons subjected to such legislation shall be treated alike, under like circumstances and conditions, both in the privileges conferred and in the liabilities imposed.’ Thus the guaranty was intended to secure equality of protection not only for all but against all similarly situated. Indeed, protection is not protection unless it dоes so. Immunity granted to a class, however limited, having the effect to deprive another class, however limited, of a personal or property right, is just as clearly a denial of equal protection of the laws to the latter class as if the immunity were in favor of, or the deprivation of right permitted working against, a larger class. Truax v. Corrigan,257 U.S. 312 , 333 (1921).
It would appear that the object or purpose of the legislation was to grant immunity to registered and licensed persons рerforming services in the construction industry. One may question whether this grant of immunity is justified as a reasonable exercise of the police power of the state. However, assuming that the legislature under its police power was justified in еnacting the statute, can the discrimination or classification be upheld under the equal protection guaranty?
Under the record of this case it must be assumed arguendo that both the engineer and the contractor were negligеnt and their negligence was the proximate cause of the injuries suffered by the plaintiff; and that but for the statute in question the owners would be entitled to relief from the two parties under the third-party complaint. Thus, the statute on one hand grants immunity to the engineer and the contractor, who should and would be, but for the statute, primarily responsible for the injuries. On the other hand, the owners are burdened with the liability for the damages proximately caused by the negligence of the еngineer and the contractor for the reason that, under the common law rule in this jurisdiction, the owners are under a duty to use reasonable care for the safety of all persons reasonably expected to be upоn
*12
the premises.
Gibo v. City & County,
Stated another way, the cause of the injuries is the same, the plaintiff is the same and the injuries are the same — but under the statute the plaintiff may not recover from the engineer and the contractor even though the negligence of the engineer and the contractor may have been thе sole proximate cause of the injuries suffered by the plaintiff. However, the plaintiff may recover damages from the owners, and the owners will have no right to have the engineer and the contractor reimburse or contribute to them the amount of damages they are required to pay the plaintiff. We are unable to see any rational basis for treating the engineer and the contractor differently from the owners under the same circumstances.
It is clеar that the classification does not rest upon some reasonable consideration of differences (between the classes under the same circumstances), which have a fair and substantial relation to the objeсt of the legislation. Nor is the classification founded upon a reasonable distinction or difference necessitated by state policy. A statute making such an unsupportable classification fails to meet the requirements of the equal protection guaranty.
Morey v. Doud,
The Illinois Supreme Court held a similar Illinois statute unconstitutional and said:
More important is the fact that of all those whose *13 negligence in connection with the construction of an improvement to real estate might result in damage to propеrty or injury to person more than four years [the period provided in the Illinois statute] after construction is completed, the statute singles out the architect and the contractor, and grants them immunity. It is not at all inconceivable thаt the owner or person in control of such an improvement might be held liable for damage or injury that results from a defective condition for which the architect or contractor is in fact responsible. Not only is the owner or рerson in control given no immunity; the statute takes away his action for indemnity against the architect or contractor.
The arbitrary quality of the statute clearly appears when we consider that architects and contraсtors are not the only persons whose negligence in the construction of a building or other improvement may cause damage to property or injury to persons. If, for example, four years after a building is completed a cornice should fall because the adhesive used was defective, the manufacturer of the adhesive is granted no immunity. And so it is with all others who furnish materials used in constructing the improvement. But if the cornice fell because of defective design or construction for which an architect or contractor was responsible, immunity is granted. It can not be said that the one event is more likely than the other to occur within four years after construction is complеted.
Skinner v. Anderson,
As we have said, the general requirement of the principle of “the equal protection clause is that all persons shall be treated alike under like circumstances and conditions, both in privileges conferred and in thе liabilities imposed.”State v.
Johnston,
Here, it is clear that the statute calls for arbitrary and capricious discrimination and must therefore be declared an invidious discrimination violative of the equal protection guaranty.
Reversed.
Notes
HRS § 657-8 reads:
Limitation of action for damages based on professional services or licensed construction to improve real property. No action to recover damages for any injury to property, real or personal, or for bodily injury or wrongful death, arising out of any condition of an improvement to real property, nor any action for contribution or indemnity for damages sustained on account of such injury, shall be brought against any registered and/or duly licensed person performing or furnishing professional or licensed services in the design, planning, supervision, or observation of construction or construction of the imprоvement to real property more than two years after the cause of action has accrued, but in any event not more than ten years after the performance or furnishing of the services except that this provision shall not apply to surveyors for their own errors in boundary surveys.
