Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8608533
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T03:38:11+00:00 2026-06-12T03:38:11+00:00

If I was to release a utility that does byte-code manipulation on core Java

  • 0

If I was to release a utility that does byte-code manipulation on core Java classes (sun.*), should I worry about licensing issues?

To provide a bit more context: In order to have an automated regression test suite running, we needed to inject our own MockSystem.currentMillis() implementation to wherever the original java.lang.System.currentMillis() was called.

As I think this small utility will be useful for many developers, I am now wondering if there are any licensing issues involved when my (going-to-be) MIT licensed code manipulates code licensed otherwise.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T03:38:13+00:00Added an answer on June 12, 2026 at 3:38 am

    I am not a lawyer, but in general where licensing terms of third party code comes into affect is when you are shipping that third party code.

    So if you use your utility and then ship the code modified by your utility, then there could well be issues…

    But if you just ship your code, and somebody uses your code on their machine (for running their tests) and does not ship the code modified by your utility, then the licensing concern s are lowered.

    The users of your utility need to ensure that they are complying with the license of your utility (MIT is basically a “here is the code, do what you want, but don’t blame me if it blows up in your face” license, so they should be OK using your utility) and ensure that they comply with the license of the code they are running your utility on.

    Of course if they tell nobody that they are breaking the 3rd party license, and nobody knows that they are, the risk to themselves is low… but they will have to answer to a higher power (if there is one) for being a bad person who did not comply with the license!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The release notes for Java NIO (in Java 1.4+) state that support for direct
My goal is to create an animation with the YUI Animation Utility that does
The release notes of Grails 2.0 mention that it has removed Prototype in favour
I plan to release one small, low priced utility. Since this is more hobby
I have in effect a string utility that returns a URL. I know that
Having read some postings here about this topic, I realize that there are quite
I read about AppWrench and it looks like a wonderful utility for local app
I have a utility class that has been thoroughly tested, and I do not
Does the boost library provide an implementation of a safe bool idiom, so that
I'm developing a small utility app that scans 2D barcodes, and then submits each

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.