code review for 7067811: Update demo/sample code to state it should not be used for production

Nils Loodin nils.loodin at oracle.com
Mon Aug 15 01:15:52 PDT 2011


>> Nils - is it just demo code or do you plan to do this to sample code too (sample code is in src/share/sample/**)? One thing that isn't clear to me is why this needs to be added to every file. Seems like a warning in each demo's README should be sufficient.
>> 
> 

Also samples.

> I agree with Alan that README in each demo would be a proper and adequate place to add this warning.  In addition, there is a typo "suich" in the third line of the warning:
> 
>> * required for a production-quality application, suich as security checks,
> 

That was not intentional.

> Is this intentional?  Or a typo should be fixed?
> 
> Mandy

I'm holding off sending to the other mailing lists until I can get the requirements that the text be included in each source file officially by the one who set the demand. 

As background, yes this is a legal thing. Oracle has strict requirements on in which form Demos and samples can be included in packaging..

/Nisse



More information about the serviceability-dev mailing list