Skip to main content
See other licenses

SPL-1.0

Sun Public License 1.0

SPL-1.0 is Sun's MPL-derived file copyleft. Reciprocity on covered files. Historical predecessor energy to CDDL.

On this page

What it does

The Sun Public License 1.0 is an MPL 1.1 family grant from Sun. Covered files you change and distribute must have source available under the SPL. Your own separate files can stay closed. CDDL later replaced it for many Sun/Oracle projects. You will still see SPL on NetBeans-era and older Sun trees.

Pros

  • The grant is public and the reciprocity is written down. Buyers know what they are looking at.
  • Internal use without distribution stays ordinary. The hard work starts when a copy leaves the company.

Cons

  • The source-offer duty is real the moment you distribute binaries that include covered files.
  • How far copyleft reaches in a mixed stack is a counsel question. Do not guess from a blog post.

What it allows and requires

Choose a category to see the full grant in one scannable list. Permissions show what the license allows, limits show what it withholds, and obligations show the conditions your release process must satisfy.

Permissions

  • Commercial use

    You may ship the code inside a paid product. The license does not restrict commercial use.

  • Modify

    You may change the code, including keeping those changes private, unless a later obligation says otherwise.

  • Distribute

    You may give copies to others. Distribution is what usually turns notice and source duties into real work.

  • Private use

    Use inside your company, including internal forks, does not by itself trigger distribution duties.

  • Patent use

    These licenses typically include a patent grant covering the licensed files. Read the grant before relying on it in a high-stakes deal.

What SPL-1.0 requires when you ship

When you distribute a binary that includes SPL-1.0 code, notice still travels with the copy, and the corresponding source has to be available under the same license. Internal use without a copy leaving the company is a different situation. The list below is the shipping work: what a recipient of that binary can demand, and what you record so a buyer can see it.

  1. You meet SPL-1.0 on a shipped binary when every recipient can get the corresponding source the license describes.

  2. You meet the notice terms when the original copyright lines and the license text travel with the copy.

  3. You keep internal use inside the terms when no copy leaves your company. Distribution is what usually turns the source duty into real work.

The duties named in SPL-1.0

Notice still travels with the copy. On top of that, SPL-1.0 names a source duty. These are the conditions in the text. The how-to above is when they become real work.

Include copyright

Keep copyright notices on the covered files you distribute.

Include license

Keep the license text with the covered files, and say that those files are under this license.

Disclose source

Covered files you change and distribute must have source available under the same license.

Things to be aware of

  • Saying you only use SPL-1.0 on the server, then shipping a Docker image or an on-prem build. Ask the question per artifact you hand out.
  • Offering source for the covered package alone when the license asks for corresponding source of the work you shipped.

What the Sun Public License 1.0 does not do

Search results often flatten Sun Public License 1.0 into a slogan. These are the usual misreads. SPL-1.0 is a grant with conditions, not a permission to skip the paperwork below.

  • SPL-1.0 is not "permissive with extra paperwork." Change covered files and ship them, and that source has to be available under the same license.
  • SPL-1.0 does not erase notice duties. Copyright lines and the license text still travel with the copies you hand over.

How SPL-1.0 differs from nearby licenses

These licenses are often confused with SPL-1.0, but their release duties differ. Each row summarizes what the license requires when you ship. Open the linked page for the full checklist.

SPL-1.0
SPL-1.0 is Sun's MPL-derived file copyleft. Reciprocity on covered files. Historical predecessor energy to CDDL.
CDDL-1.0
Sun's file-scoped copyleft. It is the reason ZFS ships outside the Linux kernel: CDDL code does not combine with the GPL.
MPL-1.1
The 1998 Mozilla license. Its source duty attaches to the files you modified, not to every MPL file you ship, and it has no GPL bridge.
APSL-2.0
APSL-2.0 is Apple's OSI-approved source license. File-level reciprocity plus a deploy-to-others trigger that is easy to miss.

Common questions about Sun Public License 1.0

Answers to common questions about what Sun Public License 1.0 requires, when its duties apply, and what evidence belongs with a release.

What is the Sun Public License 1.0?

The Sun Public License 1.0 is an MPL 1.1 family grant from Sun. Covered files you change and distribute must have source available under the SPL. Your own separate files can stay closed. CDDL later replaced it for many Sun/Oracle projects. You will still see SPL on NetBeans-era and older Sun trees.

What does SPL-1.0 require when you ship a product?

You meet SPL-1.0 on a shipped binary when every recipient can get the corresponding source the license describes. You meet the notice terms when the original copyright lines and the license text travel with the copy. You keep internal use inside the terms when no copy leaves your company. Distribution is what usually turns the source duty into real work.

Does hosting a product that uses SPL-1.0 trigger extra duties?

Hosting alone usually does not trigger the source duty for SPL-1.0. Shipping a binary, a container, or an on-prem build does. Notice still travels with any copy you hand over.

Can I keep my application closed if I use SPL-1.0?

SPL-1.0 is library-scoped copyleft. Your application can stay closed if recipients can replace the library with their own build. Static linking makes that expensive. The library itself still ships with corresponding source and notices. Confirm the linking story on the component, then record it.

What is corresponding source for SPL-1.0?

Corresponding source is the source a recipient needs to build and run the same binary, including scripts and interface files the license names. Hosting a repository URL can be an offer. The offer has to match what you actually shipped. SourceTrust records that a person on your team confirmed the offer. It does not publish your source and does not host a mirror.

How is SPL-1.0 different from Common Development and Distribution License 1.0?

SPL-1.0 asks this: SPL-1.0 is Sun's MPL-derived file copyleft. Reciprocity on covered files. Historical predecessor energy to CDDL. Common Development and Distribution License 1.0 asks this: Sun's file-scoped copyleft. It is the reason ZFS ships outside the Linux kernel: CDDL code does not combine with the GPL. Open the Common Development and Distribution License 1.0 page for what that license requires when you ship. Do not treat the SPDX ids as interchangeable because the short names look similar.

Where do I record SPL-1.0 for a buyer?

The catalog marks SPL-1.0 as copyleft, so a source offer item appears on the project checklist when the project's distribution context is Distributed binary or Mixed. A SaaS-only project sees no item for it unless the row also carries a network trigger. Nobody ticks the item for you: a person on your team confirms it, and publishing stays blocked until every applicable item is confirmed. SourceTrust does not publish your source and does not host a mirror.

Where do I record SPL-1.0 for a buyer?

The catalog marks SPL-1.0 as copyleft, so a source offer item appears on the project checklist when the project's distribution context is Distributed binary or Mixed. A SaaS-only project sees no item for it unless the row also carries a network trigger.

Nobody ticks the item for you: a person on your team confirms it, and publishing stays blocked until every applicable item is confirmed. SourceTrust does not publish your source and does not host a mirror.

Read /docs/obligation-copyleft-source-offer.

See also

The hub is the pillar for this cluster. Sibling licenses are the other spokes. Product FAQ links explain how SourceTrust records the duty, not the license text itself.

Practical guidance for procurement review, not legal advice. Confirm high-stakes use with counsel.

Ship the proof.

Import Sun Public License 1.0 and the rest of what you ship. Free to import and review. You only pay when you publish.

Start for free

Cookies on sourcetrust.dev

We use essential cookies for security, including abuse prevention on our site scan and walkthrough request form. With your permission, we also use optional analytics and diagnostics (Google Tag Manager on this site, and the Sentry browser SDK on the SourceTrust application when configured). See our cookie policy.