changeset 4564:22c843299c5b

Merge
author lana
date Sat, 10 Sep 2011 21:30:20 -0700
parents c91176b44c9b a6e1c192951a
children d8658f371633 e0c1282a0ead
files
diffstat 480 files changed, 4345 insertions(+), 137 deletions(-) [+]
line wrap: on
line diff
--- a/.hgtags	Sat Sep 10 14:55:14 2011 +0100
+++ b/.hgtags	Sat Sep 10 21:30:20 2011 -0700
@@ -122,3 +122,7 @@
 1e04b38b3824a4a1d197ef681a302e6813e53f8b jdk7-b145
 539e576793a8e64aaf160e0d6ab0b9723cd0bef0 jdk7-b146
 f097ca2434b1412b12ab4a5c2397ce271bf681e7 jdk7-b147
+2cdbbc4a63592be7f1556fffe37b1253a77bd481 jdk8-b01
+13e70aa1398eb959c54bc68b783ca0eef1286ad2 jdk8-b02
+7989ee9fe673a87f4db3917fa6a005732a6a9b85 jdk8-b03
+fc569517f3cf242f90ce3503b743eb5553938946 jdk8-b04
--- a/make/common/Defs.gmk	Sat Sep 10 14:55:14 2011 +0100
+++ b/make/common/Defs.gmk	Sat Sep 10 21:30:20 2011 -0700
@@ -300,6 +300,9 @@
 #where the demo source can be found
 DEMOSRCDIR          = $(SHARE_SRC)/demo
 
+#where the sample source can be found
+SAMPLESRCDIR          = $(SHARE_SRC)/sample
+
 # An attempt is made to generate unique enough directories for the
 # generated files to not have name collisisons. Most build units
 # defines PRODUCT (except Release.gmk), but then they may or may 
--- a/make/java/util/FILES_properties.gmk	Sat Sep 10 14:55:14 2011 +0100
+++ b/make/java/util/FILES_properties.gmk	Sat Sep 10 21:30:20 2011 -0700
@@ -151,6 +151,7 @@
         sun/util/resources/CurrencyNames_es_CL.properties \
         sun/util/resources/CurrencyNames_es_CO.properties \
         sun/util/resources/CurrencyNames_es_CR.properties \
+        sun/util/resources/CurrencyNames_es_CU.properties \
         sun/util/resources/CurrencyNames_es_DO.properties \
         sun/util/resources/CurrencyNames_es_EC.properties \
         sun/util/resources/CurrencyNames_es_ES.properties \
--- a/make/mkdemo/Makefile	Sat Sep 10 14:55:14 2011 +0100
+++ b/make/mkdemo/Makefile	Sat Sep 10 21:30:20 2011 -0700
@@ -39,9 +39,14 @@
 
 include $(BUILDDIR)/common/Subdirs.gmk
 
+TOPLEVEL_FILES =							\
+	$(DEMODIR)/README
+
 all build:: nbproject
 	$(SUBDIRS-loop)
 
+all build:: $(TOPLEVEL_FILES)
+
 nbproject:
 	$(RM) -r $(DEMODIR)/nbproject
 	$(MKDIR) -p $(DEMODIR)
@@ -54,8 +59,10 @@
 	  ( $(CD) $(DEMODIR) && $(TAR) -xf - )
 endif
 
+$(DEMODIR)/%: $(DEMOSRCDIR)/%
+	$(install-file)
+
 clean clobber::
 	$(SUBDIRS-loop)
 	$(RM) -r $(DEMODIR)
 	$(RM) -r $(DEMOCLASSDIR)
-
--- a/make/mksample/Makefile	Sat Sep 10 14:55:14 2011 +0100
+++ b/make/mksample/Makefile	Sat Sep 10 21:30:20 2011 -0700
@@ -49,8 +49,16 @@
 
 include $(BUILDDIR)/common/Subdirs.gmk
 
+TOPLEVEL_FILES =							\
+	$(SAMPLEDIR)/README
+
 all build clean clobber::
 	$(SUBDIRS-loop)
 
+all build:: $(TOPLEVEL_FILES)
+
+$(SAMPLEDIR)/%: $(SAMPLESRCDIR)/%
+	$(install-file)
+
 clobber clean ::
 	$(RM) -r $(SAMPLEDIR)
--- a/make/tools/src/build/tools/generatecurrencydata/GenerateCurrencyData.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/make/tools/src/build/tools/generatecurrencydata/GenerateCurrencyData.java	Sat Sep 10 21:30:20 2011 -0700
@@ -120,7 +120,7 @@
     private static int[] specialCaseOldCurrenciesNumericCode = new int[maxSpecialCases];
     private static int[] specialCaseNewCurrenciesNumericCode = new int[maxSpecialCases];
 
-    private static final int maxOtherCurrencies = 65;
+    private static final int maxOtherCurrencies = 70;
     private static int otherCurrenciesCount = 0;
     private static StringBuffer otherCurrencies = new StringBuffer();
     private static int[] otherCurrenciesDefaultFractionDigits = new int[maxOtherCurrencies];
--- a/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth.properties	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth.properties	Sat Sep 10 21:30:20 2011 -0700
@@ -19,10 +19,14 @@
 ############ FILE CHOOSER STRINGS #############
 
 FileChooser.lookInLabelText=Look In:
+FileChooser.lookInLabelMnemonic=73
 FileChooser.saveInLabelText=Save In:
 FileChooser.fileNameLabelText=File Name:
-FileChooser.folderNameLabelText=Folder name:
+FileChooser.fileNameLabelMnemonic=78
+FileChooser.folderNameLabelText=Folder Name:
+FileChooser.folderNameLabelMnemonic=78
 FileChooser.filesOfTypeLabelText=Files of Type:
+FileChooser.filesOfTypeLabelMnemonic=84
 FileChooser.upFolderToolTipText=Up One Level
 FileChooser.upFolderAccessibleName=Up
 FileChooser.homeFolderToolTipText=Home
--- a/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_de.properties	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_de.properties	Sat Sep 10 21:30:20 2011 -0700
@@ -19,10 +19,14 @@
 ############ FILE CHOOSER STRINGS #############
 
 FileChooser.lookInLabelText=Suchen in:
+FileChooser.lookInLabelMnemonic=73
 FileChooser.saveInLabelText=Speichern in:
 FileChooser.fileNameLabelText=Dateiname:
+FileChooser.fileNameLabelMnemonic=78
 FileChooser.folderNameLabelText=Ordnername:
+FileChooser.folderNameLabelMnemonic=78
 FileChooser.filesOfTypeLabelText=Dateityp:
+FileChooser.filesOfTypeLabelMnemonic=84
 FileChooser.upFolderToolTipText=Eine Ebene h\u00F6her
 FileChooser.upFolderAccessibleName=Nach oben
 FileChooser.homeFolderToolTipText=Home
--- a/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_es.properties	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_es.properties	Sat Sep 10 21:30:20 2011 -0700
@@ -19,10 +19,14 @@
 ############ FILE CHOOSER STRINGS #############
 
 FileChooser.lookInLabelText=Buscar en:
+FileChooser.lookInLabelMnemonic=73
 FileChooser.saveInLabelText=Guardar en:
 FileChooser.fileNameLabelText=Nombre de Archivo:
+FileChooser.fileNameLabelMnemonic=78
 FileChooser.folderNameLabelText=Nombre de la Carpeta:
+FileChooser.folderNameLabelMnemonic=78
 FileChooser.filesOfTypeLabelText=Archivos de Tipo:
+FileChooser.filesOfTypeLabelMnemonic=84
 FileChooser.upFolderToolTipText=Subir un Nivel
 FileChooser.upFolderAccessibleName=Arriba
 FileChooser.homeFolderToolTipText=Inicio
--- a/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_fr.properties	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_fr.properties	Sat Sep 10 21:30:20 2011 -0700
@@ -19,10 +19,14 @@
 ############ FILE CHOOSER STRINGS #############
 
 FileChooser.lookInLabelText=Rechercher dans :
+FileChooser.lookInLabelMnemonic=73
 FileChooser.saveInLabelText=Enregistrer dans :
 FileChooser.fileNameLabelText=Nom du fichier :
+FileChooser.fileNameLabelMnemonic=78
 FileChooser.folderNameLabelText=Nom du dossier :
+FileChooser.folderNameLabelMnemonic=78
 FileChooser.filesOfTypeLabelText=Fichiers de type :
+FileChooser.filesOfTypeLabelMnemonic=84
 FileChooser.upFolderToolTipText=Remonte d'un niveau.
 FileChooser.upFolderAccessibleName=Monter
 FileChooser.homeFolderToolTipText=R\u00E9pertoire d'origine
--- a/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_it.properties	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_it.properties	Sat Sep 10 21:30:20 2011 -0700
@@ -19,10 +19,14 @@
 ############ FILE CHOOSER STRINGS #############
 
 FileChooser.lookInLabelText=Cerca in:
+FileChooser.lookInLabelMnemonic=73
 FileChooser.saveInLabelText=Salva in:
 FileChooser.fileNameLabelText=Nome file:
+FileChooser.fileNameLabelMnemonic=78
 FileChooser.folderNameLabelText=Nome della cartella:
+FileChooser.folderNameLabelMnemonic=78
 FileChooser.filesOfTypeLabelText=Tipo file:
+FileChooser.filesOfTypeLabelMnemonic=84
 FileChooser.upFolderToolTipText=Cartella superiore
 FileChooser.upFolderAccessibleName=Superiore
 FileChooser.homeFolderToolTipText=Home
--- a/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_ja.properties	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_ja.properties	Sat Sep 10 21:30:20 2011 -0700
@@ -19,10 +19,14 @@
 ############ FILE CHOOSER STRINGS #############
 
 FileChooser.lookInLabelText=\u53C2\u7167:
+FileChooser.lookInLabelMnemonic=73
 FileChooser.saveInLabelText=\u4FDD\u5B58:
 FileChooser.fileNameLabelText=\u30D5\u30A1\u30A4\u30EB\u540D:
+FileChooser.fileNameLabelMnemonic=78
 FileChooser.folderNameLabelText=\u30D5\u30A9\u30EB\u30C0\u540D:
+FileChooser.folderNameLabelMnemonic=78
 FileChooser.filesOfTypeLabelText=\u30D5\u30A1\u30A4\u30EB\u306E\u30BF\u30A4\u30D7:
+FileChooser.filesOfTypeLabelMnemonic=84
 FileChooser.upFolderToolTipText=1\u30EC\u30D9\u30EB\u4E0A\u3078
 FileChooser.upFolderAccessibleName=\u4E0A\u3078
 FileChooser.homeFolderToolTipText=\u30DB\u30FC\u30E0
--- a/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_ko.properties	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_ko.properties	Sat Sep 10 21:30:20 2011 -0700
@@ -19,10 +19,14 @@
 ############ FILE CHOOSER STRINGS #############
 
 FileChooser.lookInLabelText=\uAC80\uC0C9 \uC704\uCE58:
+FileChooser.lookInLabelMnemonic=73
 FileChooser.saveInLabelText=\uC800\uC7A5 \uC704\uCE58:
 FileChooser.fileNameLabelText=\uD30C\uC77C \uC774\uB984:
+FileChooser.fileNameLabelMnemonic=78
 FileChooser.folderNameLabelText=\uD3F4\uB354 \uC774\uB984:
+FileChooser.folderNameLabelMnemonic=78
 FileChooser.filesOfTypeLabelText=\uD30C\uC77C \uC720\uD615:
+FileChooser.filesOfTypeLabelMnemonic=84
 FileChooser.upFolderToolTipText=\uD55C \uB808\uBCA8 \uC704\uB85C
 FileChooser.upFolderAccessibleName=\uC704\uB85C
 FileChooser.homeFolderToolTipText=\uD648
--- a/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_pt_BR.properties	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_pt_BR.properties	Sat Sep 10 21:30:20 2011 -0700
@@ -19,10 +19,14 @@
 ############ FILE CHOOSER STRINGS #############
 
 FileChooser.lookInLabelText=Consultar Em:
+FileChooser.lookInLabelMnemonic=73
 FileChooser.saveInLabelText=Salvar Em:
 FileChooser.fileNameLabelText=Nome do Arquivo:
+FileChooser.fileNameLabelMnemonic=78
 FileChooser.folderNameLabelText=Nome da pasta:
+FileChooser.folderNameLabelMnemonic=78
 FileChooser.filesOfTypeLabelText=Arquivos do Tipo:
+FileChooser.filesOfTypeLabelMnemonic=84
 FileChooser.upFolderToolTipText=Um N\u00EDvel Acima
 FileChooser.upFolderAccessibleName=Acima
 FileChooser.homeFolderToolTipText=In\u00EDcio
--- a/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_sv.properties	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_sv.properties	Sat Sep 10 21:30:20 2011 -0700
@@ -19,10 +19,14 @@
 ############ FILE CHOOSER STRINGS #############
 
 FileChooser.lookInLabelText=Leta i:
+FileChooser.lookInLabelMnemonic=73
 FileChooser.saveInLabelText=Spara i:
 FileChooser.fileNameLabelText=Filnamn:
+FileChooser.fileNameLabelMnemonic=78
 FileChooser.folderNameLabelText=Mapp:
+FileChooser.folderNameLabelMnemonic=78
 FileChooser.filesOfTypeLabelText=Filformat:
+FileChooser.filesOfTypeLabelMnemonic=84
 FileChooser.upFolderToolTipText=Upp en niv\u00E5
 FileChooser.upFolderAccessibleName=Upp
 FileChooser.homeFolderToolTipText=Hem
--- a/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_zh_CN.properties	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_zh_CN.properties	Sat Sep 10 21:30:20 2011 -0700
@@ -19,10 +19,14 @@
 ############ FILE CHOOSER STRINGS #############
 
 FileChooser.lookInLabelText=\u67E5\u770B: 
+FileChooser.lookInLabelMnemonic=73
 FileChooser.saveInLabelText=\u4FDD\u5B58: 
 FileChooser.fileNameLabelText=\u6587\u4EF6\u540D: 
+FileChooser.fileNameLabelMnemonic=78
 FileChooser.folderNameLabelText=\u6587\u4EF6\u5939\u540D: 
+FileChooser.folderNameLabelMnemonic=78
 FileChooser.filesOfTypeLabelText=\u6587\u4EF6\u7C7B\u578B: 
+FileChooser.filesOfTypeLabelMnemonic=84
 FileChooser.upFolderToolTipText=\u5411\u4E0A\u4E00\u7EA7
 FileChooser.upFolderAccessibleName=\u5411\u4E0A
 FileChooser.homeFolderToolTipText=\u4E3B\u76EE\u5F55
--- a/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_zh_TW.properties	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_zh_TW.properties	Sat Sep 10 21:30:20 2011 -0700
@@ -19,10 +19,14 @@
 ############ FILE CHOOSER STRINGS #############
 
 FileChooser.lookInLabelText=\u67E5\u8A62:
+FileChooser.lookInLabelMnemonic=73
 FileChooser.saveInLabelText=\u5132\u5B58\u65BC: 
 FileChooser.fileNameLabelText=\u6A94\u6848\u540D\u7A31:
+FileChooser.fileNameLabelMnemonic=78
 FileChooser.folderNameLabelText=\u8CC7\u6599\u593E\u540D\u7A31:
+FileChooser.folderNameLabelMnemonic=78
 FileChooser.filesOfTypeLabelText=\u6A94\u6848\u985E\u578B:
+FileChooser.filesOfTypeLabelMnemonic=84
 FileChooser.upFolderToolTipText=\u5F80\u4E0A\u4E00\u5C64
 FileChooser.upFolderAccessibleName=\u5F80\u4E0A
 FileChooser.homeFolderToolTipText=\u4E3B\u76EE\u9304
--- a/src/share/classes/com/sun/tools/example/debug/bdi/AccessWatchpointSpec.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/AccessWatchpointSpec.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/bdi/AmbiguousMethodException.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/AmbiguousMethodException.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 public class AmbiguousMethodException extends Exception
--- a/src/share/classes/com/sun/tools/example/debug/bdi/BreakpointSpec.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/BreakpointSpec.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 public abstract class BreakpointSpec extends EventRequestSpec {
--- a/src/share/classes/com/sun/tools/example/debug/bdi/ChildSession.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/ChildSession.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/bdi/EvaluationException.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/EvaluationException.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 public class EvaluationException extends Exception {
--- a/src/share/classes/com/sun/tools/example/debug/bdi/EventRequestSpec.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/EventRequestSpec.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/bdi/EventRequestSpecList.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/EventRequestSpecList.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/bdi/ExceptionSpec.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/ExceptionSpec.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 import com.sun.jdi.ReferenceType;
--- a/src/share/classes/com/sun/tools/example/debug/bdi/ExecutionManager.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/ExecutionManager.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/bdi/FrameIndexOutOfBoundsException.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/FrameIndexOutOfBoundsException.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 public class FrameIndexOutOfBoundsException extends IndexOutOfBoundsException {
--- a/src/share/classes/com/sun/tools/example/debug/bdi/InputListener.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/InputListener.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 public interface InputListener {
--- a/src/share/classes/com/sun/tools/example/debug/bdi/JDIEventSource.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/JDIEventSource.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/bdi/LineBreakpointSpec.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/LineBreakpointSpec.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/bdi/LineNotFoundException.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/LineNotFoundException.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 public class LineNotFoundException extends Exception
--- a/src/share/classes/com/sun/tools/example/debug/bdi/MalformedMemberNameException.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/MalformedMemberNameException.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 class MalformedMemberNameException extends Exception {
--- a/src/share/classes/com/sun/tools/example/debug/bdi/MethodBreakpointSpec.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/MethodBreakpointSpec.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/bdi/MethodNotFoundException.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/MethodNotFoundException.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 public class MethodNotFoundException extends Exception
--- a/src/share/classes/com/sun/tools/example/debug/bdi/ModificationWatchpointSpec.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/ModificationWatchpointSpec.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/bdi/NoSessionException.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/NoSessionException.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 public class NoSessionException extends Exception {
--- a/src/share/classes/com/sun/tools/example/debug/bdi/NoThreadException.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/NoThreadException.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 public class NoThreadException extends Exception {
--- a/src/share/classes/com/sun/tools/example/debug/bdi/OutputListener.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/OutputListener.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 public interface OutputListener {
--- a/src/share/classes/com/sun/tools/example/debug/bdi/ParseException.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/ParseException.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 // dummy placeholder for javaCC-generated code.
--- a/src/share/classes/com/sun/tools/example/debug/bdi/PatternReferenceTypeSpec.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/PatternReferenceTypeSpec.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/bdi/ReferenceTypeSpec.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/ReferenceTypeSpec.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/bdi/Session.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/Session.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 import com.sun.jdi.VirtualMachine;
--- a/src/share/classes/com/sun/tools/example/debug/bdi/SessionListener.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/SessionListener.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 import java.util.EventObject;
--- a/src/share/classes/com/sun/tools/example/debug/bdi/SourceNameReferenceTypeSpec.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/SourceNameReferenceTypeSpec.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/bdi/SpecErrorEvent.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/SpecErrorEvent.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 public class SpecErrorEvent extends SpecEvent {
--- a/src/share/classes/com/sun/tools/example/debug/bdi/SpecEvent.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/SpecEvent.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 import java.util.EventObject;
--- a/src/share/classes/com/sun/tools/example/debug/bdi/SpecListener.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/SpecListener.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 import java.util.EventListener;
--- a/src/share/classes/com/sun/tools/example/debug/bdi/ThreadGroupIterator.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/ThreadGroupIterator.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 import com.sun.jdi.ThreadGroupReference;
--- a/src/share/classes/com/sun/tools/example/debug/bdi/ThreadInfo.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/ThreadInfo.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/bdi/ThreadIterator.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/ThreadIterator.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 import com.sun.jdi.ThreadGroupReference;
--- a/src/share/classes/com/sun/tools/example/debug/bdi/Utils.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/Utils.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;   //### does it belong here?
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/bdi/VMLaunchFailureException.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/VMLaunchFailureException.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 public class VMLaunchFailureException extends Exception {
--- a/src/share/classes/com/sun/tools/example/debug/bdi/VMNotInterruptedException.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/VMNotInterruptedException.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 public class VMNotInterruptedException extends Exception {
--- a/src/share/classes/com/sun/tools/example/debug/bdi/WatchpointSpec.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/bdi/WatchpointSpec.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.bdi;
 
 public abstract class WatchpointSpec extends EventRequestSpec {
--- a/src/share/classes/com/sun/tools/example/debug/event/AbstractEventSet.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/event/AbstractEventSet.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.event;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/event/AccessWatchpointEventSet.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/event/AccessWatchpointEventSet.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.event;
 
 import com.sun.jdi.event.*;
--- a/src/share/classes/com/sun/tools/example/debug/event/ClassPrepareEventSet.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/event/ClassPrepareEventSet.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.event;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/event/ClassUnloadEventSet.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/event/ClassUnloadEventSet.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.event;
 
 import com.sun.jdi.event.*;
--- a/src/share/classes/com/sun/tools/example/debug/event/ExceptionEventSet.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/event/ExceptionEventSet.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.event;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/event/JDIAdapter.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/event/JDIAdapter.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.event;
 
 /**
--- a/src/share/classes/com/sun/tools/example/debug/event/JDIListener.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/event/JDIListener.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.event;
 
 import java.util.EventListener;
--- a/src/share/classes/com/sun/tools/example/debug/event/LocatableEventSet.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/event/LocatableEventSet.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.event;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/event/LocationTriggerEventSet.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/event/LocationTriggerEventSet.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.event;
 
 import com.sun.jdi.event.*;
--- a/src/share/classes/com/sun/tools/example/debug/event/ModificationWatchpointEventSet.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/event/ModificationWatchpointEventSet.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.event;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/event/ThreadDeathEventSet.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/event/ThreadDeathEventSet.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.event;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/event/ThreadStartEventSet.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/event/ThreadStartEventSet.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.event;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/event/VMDeathEventSet.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/event/VMDeathEventSet.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.event;
 
 import com.sun.jdi.event.*;
--- a/src/share/classes/com/sun/tools/example/debug/event/VMDisconnectEventSet.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/event/VMDisconnectEventSet.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.event;
 
 import com.sun.jdi.event.*;
--- a/src/share/classes/com/sun/tools/example/debug/event/VMStartEventSet.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/event/VMStartEventSet.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.event;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/event/WatchpointEventSet.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/event/WatchpointEventSet.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.event;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/expr/ASCII_UCodeESC_CharStream.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/expr/ASCII_UCodeESC_CharStream.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* Generated By:JavaCC: Do not edit this line. ASCII_UCodeESC_CharStream.java Version 0.7pre6 */
 
 package com.sun.tools.example.debug.expr;
--- a/src/share/classes/com/sun/tools/example/debug/expr/ExpressionParser.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/expr/ExpressionParser.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* Generated By:JavaCC: Do not edit this line. ExpressionParser.java */
 package com.sun.tools.example.debug.expr;
 
--- a/src/share/classes/com/sun/tools/example/debug/expr/ExpressionParserConstants.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/expr/ExpressionParserConstants.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* Generated By:JavaCC: Do not edit this line. ExpressionParserConstants.java */
 package com.sun.tools.example.debug.expr;
 
--- a/src/share/classes/com/sun/tools/example/debug/expr/ExpressionParserTokenManager.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/expr/ExpressionParserTokenManager.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* Generated By:JavaCC: Do not edit this line. ExpressionParserTokenManager.java */
 package com.sun.tools.example.debug.expr;
 
--- a/src/share/classes/com/sun/tools/example/debug/expr/LValue.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/expr/LValue.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.expr;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/expr/ParseException.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/expr/ParseException.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* Generated By:JavaCC: Do not edit this line. ParseException.java Version 0.7pre6 */
 package com.sun.tools.example.debug.expr;
 
--- a/src/share/classes/com/sun/tools/example/debug/expr/Token.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/expr/Token.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* Generated By:JavaCC: Do not edit this line. Token.java Version 0.7pre3 */
 package com.sun.tools.example.debug.expr;
 
--- a/src/share/classes/com/sun/tools/example/debug/expr/TokenMgrError.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/expr/TokenMgrError.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* Generated By:JavaCC: Do not edit this line. TokenMgrError.java Version 0.7pre2 */
 package com.sun.tools.example.debug.expr;
 
--- a/src/share/classes/com/sun/tools/example/debug/gui/ApplicationTool.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/gui/ApplicationTool.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.gui;
 
 import javax.swing.*;
--- a/src/share/classes/com/sun/tools/example/debug/gui/ClassManager.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/gui/ClassManager.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.gui;
 
 public class ClassManager {
--- a/src/share/classes/com/sun/tools/example/debug/gui/ClassTreeTool.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/gui/ClassTreeTool.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.gui;
 
 import java.util.*;
--- a/src/share/classes/com/sun/tools/example/debug/gui/CommandInterpreter.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/gui/CommandInterpreter.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.gui;
 
 import java.io.*;
--- a/src/share/classes/com/sun/tools/example/debug/gui/CommandTool.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/gui/CommandTool.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.gui;
 
 import java.io.*;
--- a/src/share/classes/com/sun/tools/example/debug/gui/ContextListener.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/gui/ContextListener.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.gui;
 
 public interface ContextListener {
--- a/src/share/classes/com/sun/tools/example/debug/gui/ContextManager.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/gui/ContextManager.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.gui;
 
 import java.io.*;
--- a/src/share/classes/com/sun/tools/example/debug/gui/CurrentFrameChangedEvent.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/gui/CurrentFrameChangedEvent.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.gui;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/gui/Environment.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/gui/Environment.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.gui;
 
 import java.io.*;
--- a/src/share/classes/com/sun/tools/example/debug/gui/GUI.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/gui/GUI.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.gui;
 
 import java.io.*;
--- a/src/share/classes/com/sun/tools/example/debug/gui/Icons.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/gui/Icons.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.gui;
 
 import javax.swing.Icon;
--- a/src/share/classes/com/sun/tools/example/debug/gui/JDBFileFilter.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/gui/JDBFileFilter.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.gui;
 
 import java.io.File;
--- a/src/share/classes/com/sun/tools/example/debug/gui/JDBMenuBar.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/gui/JDBMenuBar.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.gui;
 
 import javax.swing.*;
--- a/src/share/classes/com/sun/tools/example/debug/gui/JDBToolBar.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/gui/JDBToolBar.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.gui;
 
 import javax.swing.*;
--- a/src/share/classes/com/sun/tools/example/debug/gui/LaunchTool.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/gui/LaunchTool.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.gui;
 
 import java.util.List;
--- a/src/share/classes/com/sun/tools/example/debug/gui/MonitorListModel.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/gui/MonitorListModel.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.gui;
 
 import java.util.*;
--- a/src/share/classes/com/sun/tools/example/debug/gui/MonitorTool.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/gui/MonitorTool.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.gui;
 
 import javax.swing.*;
--- a/src/share/classes/com/sun/tools/example/debug/gui/OutputSink.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/gui/OutputSink.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.gui;
 
 import java.io.*;
--- a/src/share/classes/com/sun/tools/example/debug/gui/SearchPath.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/gui/SearchPath.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.gui;
 
 import java.io.*;
--- a/src/share/classes/com/sun/tools/example/debug/gui/SingleLeafTreeSelectionModel.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/gui/SingleLeafTreeSelectionModel.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.gui;
 
 import javax.swing.tree.*;
--- a/src/share/classes/com/sun/tools/example/debug/gui/SourceListener.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/gui/SourceListener.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.gui;
 
 public interface SourceListener {
--- a/src/share/classes/com/sun/tools/example/debug/gui/SourceManager.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/gui/SourceManager.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.gui;
 
 import java.io.*;
--- a/src/share/classes/com/sun/tools/example/debug/gui/SourceModel.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/gui/SourceModel.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.gui;
 
 import java.io.*;
--- a/src/share/classes/com/sun/tools/example/debug/gui/SourceTool.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/gui/SourceTool.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.gui;
 
 import java.io.*;
--- a/src/share/classes/com/sun/tools/example/debug/gui/SourceTreeTool.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/gui/SourceTreeTool.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.gui;
 
 import java.io.*;
--- a/src/share/classes/com/sun/tools/example/debug/gui/SourcepathChangedEvent.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/gui/SourcepathChangedEvent.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.gui;
 
 import java.util.EventObject;
--- a/src/share/classes/com/sun/tools/example/debug/gui/StackTraceTool.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/gui/StackTraceTool.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.gui;
 
 import javax.swing.*;
--- a/src/share/classes/com/sun/tools/example/debug/gui/ThreadTreeTool.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/gui/ThreadTreeTool.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.gui;
 
 import java.util.*;
--- a/src/share/classes/com/sun/tools/example/debug/gui/TypeScript.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/gui/TypeScript.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.gui;
 
 import java.awt.*;
--- a/src/share/classes/com/sun/tools/example/debug/gui/TypeScriptOutputListener.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/gui/TypeScriptOutputListener.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.gui;
 
 import com.sun.tools.example.debug.bdi.OutputListener;
--- a/src/share/classes/com/sun/tools/example/debug/gui/TypeScriptWriter.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/gui/TypeScriptWriter.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.gui;
 
 import java.io.*;
--- a/src/share/classes/com/sun/tools/example/debug/tty/AccessWatchpointSpec.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/tty/AccessWatchpointSpec.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.tty;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/tty/AmbiguousMethodException.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/tty/AmbiguousMethodException.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.tty;
 
 public class AmbiguousMethodException extends Exception
--- a/src/share/classes/com/sun/tools/example/debug/tty/BreakpointSpec.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/tty/BreakpointSpec.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.tty;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/tty/Commands.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/tty/Commands.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.tty;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/tty/Env.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/tty/Env.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.tty;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/tty/EventHandler.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/tty/EventHandler.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.tty;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/tty/EventNotifier.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/tty/EventNotifier.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.tty;
 
 import com.sun.jdi.event.*;
--- a/src/share/classes/com/sun/tools/example/debug/tty/EventRequestSpec.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/tty/EventRequestSpec.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.tty;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/tty/EventRequestSpecList.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/tty/EventRequestSpecList.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.tty;
 
 import com.sun.jdi.request.EventRequest;
--- a/src/share/classes/com/sun/tools/example/debug/tty/ExceptionSpec.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/tty/ExceptionSpec.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.tty;
 
 import com.sun.jdi.ReferenceType;
--- a/src/share/classes/com/sun/tools/example/debug/tty/LineNotFoundException.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/tty/LineNotFoundException.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.tty;
 
 public class LineNotFoundException extends Exception
--- a/src/share/classes/com/sun/tools/example/debug/tty/MalformedMemberNameException.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/tty/MalformedMemberNameException.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.tty;
 
 class MalformedMemberNameException extends Exception {
--- a/src/share/classes/com/sun/tools/example/debug/tty/MessageOutput.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/tty/MessageOutput.java	Sat Sep 10 21:30:20 2011 -0700
@@ -22,6 +22,15 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
+
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
 package com.sun.tools.example.debug.tty;
 
 import java.util.*;
--- a/src/share/classes/com/sun/tools/example/debug/tty/ModificationWatchpointSpec.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/tty/ModificationWatchpointSpec.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.tty;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/tty/PatternReferenceTypeSpec.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/tty/PatternReferenceTypeSpec.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.tty;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/tty/ReferenceTypeSpec.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/tty/ReferenceTypeSpec.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.tty;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/tty/SourceMapper.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/tty/SourceMapper.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.tty;
 
 import com.sun.jdi.Location;
--- a/src/share/classes/com/sun/tools/example/debug/tty/TTY.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/tty/TTY.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.tty;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/tty/TTYResources.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/tty/TTYResources.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.tty;
 
 /**
--- a/src/share/classes/com/sun/tools/example/debug/tty/TTYResources_ja.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/tty/TTYResources_ja.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.tty;
 
 /**
--- a/src/share/classes/com/sun/tools/example/debug/tty/TTYResources_zh_CN.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/tty/TTYResources_zh_CN.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.tty;
 
 /**
--- a/src/share/classes/com/sun/tools/example/debug/tty/ThreadGroupIterator.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/tty/ThreadGroupIterator.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.tty;
 
 import com.sun.jdi.ThreadGroupReference;
--- a/src/share/classes/com/sun/tools/example/debug/tty/ThreadInfo.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/tty/ThreadInfo.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.tty;
 
 import com.sun.jdi.ThreadReference;
--- a/src/share/classes/com/sun/tools/example/debug/tty/ThreadIterator.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/tty/ThreadIterator.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.tty;
 
 import com.sun.jdi.ThreadGroupReference;
--- a/src/share/classes/com/sun/tools/example/debug/tty/VMConnection.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/tty/VMConnection.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.tty;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/debug/tty/VMNotConnectedException.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/tty/VMNotConnectedException.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.tty;
 
 public class VMNotConnectedException extends RuntimeException {
--- a/src/share/classes/com/sun/tools/example/debug/tty/WatchpointSpec.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/debug/tty/WatchpointSpec.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.debug.tty;
 
 abstract class WatchpointSpec extends EventRequestSpec {
--- a/src/share/classes/com/sun/tools/example/trace/EventThread.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/trace/EventThread.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.trace;
 
 import com.sun.jdi.*;
--- a/src/share/classes/com/sun/tools/example/trace/StreamRedirectThread.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/trace/StreamRedirectThread.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.trace;
 
 import java.io.*;
--- a/src/share/classes/com/sun/tools/example/trace/Trace.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/com/sun/tools/example/trace/Trace.java	Sat Sep 10 21:30:20 2011 -0700
@@ -23,6 +23,15 @@
  * questions.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.tools.example.trace;
 
 import com.sun.jdi.VirtualMachine;
--- a/src/share/classes/java/util/CurrencyData.properties	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/java/util/CurrencyData.properties	Sat Sep 10 21:30:20 2011 -0700
@@ -29,7 +29,7 @@
 # It is a serial number that accompanies with each amendment, such as 
 # 'MAxxx.doc'
 
-dataVersion=140
+dataVersion=151
 
 # List of all valid ISO 4217 currency codes.
 # To ensure compatibility, do not remove codes.
@@ -37,7 +37,7 @@
 all=ADP020-AED784-AFA004-AFN971-ALL008-AMD051-ANG532-AOA973-ARS032-ATS040-AUD036-\
     AWG533-AYM945-AZM031-AZN944-BAM977-BBD052-BDT050-BEF056-BGL100-BGN975-BHD048-BIF108-\
     BMD060-BND096-BOB068-BOV984-BRL986-BSD044-BTN064-BWP072-BYB112-BYR974-\
-    BZD084-CAD124-CDF976-CHF756-CLF990-CLP152-CNY156-COP170-CRC188-CSD891-CUP192-\
+    BZD084-CAD124-CDF976-CHF756-CLF990-CLP152-CNY156-COP170-CRC188-CSD891-CUP192-CUC931-\
     CVE132-CYP196-CZK203-DEM276-DJF262-DKK208-DOP214-DZD012-EEK233-EGP818-\
     ERN232-ESP724-ETB230-EUR978-FIM246-FJD242-FKP238-FRF250-GBP826-GEL981-\
     GHC288-GHS936-GIP292-GMD270-GNF324-GRD300-GTQ320-GWP624-GYD328-HKD344-HNL340-\
@@ -49,11 +49,11 @@
     NIO558-NLG528-NOK578-NPR524-NZD554-OMR512-PAB590-PEN604-PGK598-PHP608-\
     PKR586-PLN985-PTE620-PYG600-QAR634-ROL946-RON946-RSD941-RUB643-RUR810-RWF646-SAR682-\
     SBD090-SCR690-SDD736-SDG938-SEK752-SGD702-SHP654-SIT705-SKK703-SLL694-SOS706-\
-    SRD968-SRG740-STD678-SVC222-SYP760-SZL748-THB764-TJS972-TMM795-TND788-TOP776-\
+    SRD968-SRG740-STD678-SVC222-SYP760-SZL748-THB764-TJS972-TMM795-TMT934-TND788-TOP776-\
     TPE626-TRL792-TRY949-TTD780-TWD901-TZS834-UAH980-UGX800-USD840-USN997-USS998-\
     UYU858-UZS860-VEB862-VEF937-VND704-VUV548-WST882-XAF950-XAG961-XAU959-XBA955-\
     XBB956-XBC957-XBD958-XCD951-XDR960-XFO000-XFU000-XOF952-XPD964-XPF953-\
-    XPT962-XTS963-XXX999-YER886-YUM891-ZAR710-ZMK894-ZWD716-ZWN942
+    XPT962-XSU994-XTS963-XUA965-XXX999-YER886-YUM891-ZAR710-ZMK894-ZWD716-ZWL932-ZWN942-ZWR935
 
 
 # Mappings from ISO 3166 country codes to ISO 4217 currency codes.
@@ -124,6 +124,8 @@
 BJ=XOF
 # BERMUDA
 BM=BMD
+# Bonaire, Sint Eustatius and Saba
+BQ=USD
 # BHUTAN
 BT=BTN
 # BOLIVIA
@@ -186,6 +188,8 @@
 HR=HRK
 # CUBA
 CU=CUP
+# Cura\u00e7ao
+CW=ANG
 # CYPRUS
 CY=EUR
 # CZECH REPUBLIC
@@ -210,7 +214,7 @@
 # ERITREA
 ER=ERN
 # ESTONIA
-EE=EEK
+EE=EUR
 # ETHIOPIA
 ET=ETB
 # FALKLAND ISLANDS (MALVINAS)
@@ -476,7 +480,7 @@
 # SINGAPORE
 SG=SGD
 # SLOVAKIA
-SK=SKK
+SK=EUR
 # SLOVENIA
 SI=EUR
 # SOLOMON ISLANDS
@@ -497,6 +501,8 @@
 SR=SRD
 # SVALBARD AND JAN MAYEN
 SJ=NOK
+# Sint Maarten (Dutch part)
+SX=ANG
 # SWAZILAND
 SZ=SZL
 # SWEDEN
@@ -528,7 +534,7 @@
 # TURKEY
 TR=TRL;2004-12-31-22-00-00;TRY
 # TURKMENISTAN
-TM=TMM
+TM=TMT
 # TURKS AND CAICOS ISLANDS
 TC=USD
 # TUVALU
@@ -568,7 +574,7 @@
 # ZAMBIA
 ZM=ZMK
 # ZIMBABWE
-ZW=ZWD
+ZW=ZWL
 
 
 # List of currencies with 0, 1, OR 3 decimals for minor units, or where there
@@ -583,4 +589,4 @@
     BHD-IQD-JOD-KWD-LYD-OMR-TND
 minorUndefined=\
     XAG-XAU-XBA-XBB-XBC-XBD-XDR-XFO-XFU-XPD-\
-    XPT-XTS-XXX
+    XPT-XSU-XTS-XUA-XXX
--- a/src/share/classes/java/util/LocaleISOData.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/java/util/LocaleISOData.java	Sat Sep 10 21:30:20 2011 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2005, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -254,6 +254,7 @@
         + "BM" + "BMU"  // Bermuda
         + "BN" + "BRN"  // Brunei Darussalam
         + "BO" + "BOL"  // Bolivia, Republic of
+        + "BQ" + "BES"  // Bonaire, Sint Eustatius and Saba
         + "BR" + "BRA"  // Brazil, Federative Republic of
         + "BS" + "BHS"  // Bahamas, Commonwealth of the
         + "BT" + "BTN"  // Bhutan, Kingdom of
@@ -277,6 +278,7 @@
 //      + "CS" + "SCG"  // Serbia and Montenegro
         + "CU" + "CUB"  // Cuba, Republic of
         + "CV" + "CPV"  // Cape Verde, Republic of
+        + "CW" + "CUW"  // Cura\u00e7ao
         + "CX" + "CXR"  // Christmas Island
         + "CY" + "CYP"  // Cyprus, Republic of
         + "CZ" + "CZE"  // Czech Republic
@@ -433,6 +435,7 @@
         + "SR" + "SUR"  // Suriname, Republic of
         + "ST" + "STP"  // Sao Tome and Principe, Democratic Republic of
         + "SV" + "SLV"  // El Salvador, Republic of
+        + "SX" + "SXM"  // Sint Maarten (Dutch part)
         + "SY" + "SYR"  // Syrian Arab Republic
         + "SZ" + "SWZ"  // Swaziland, Kingdom of
         + "TC" + "TCA"  // Turks and Caicos Islands
--- a/src/share/classes/javax/swing/SwingUtilities.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/javax/swing/SwingUtilities.java	Sat Sep 10 21:30:20 2011 -0700
@@ -1274,8 +1274,7 @@
      * <p>
      * Additional documentation and examples for this method can be
      * found in
-     * <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How to Use Threads</a>,
-     * in <em>The Java Tutorial</em>.
+     * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency in Swing</a>.
      * <p>
      * As of 1.3 this method is just a cover for <code>java.awt.EventQueue.invokeLater()</code>.
      * <p>
@@ -1326,8 +1325,7 @@
      * <p>
      * Additional documentation and examples for this method can be
      * found in
-     * <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How to Use Threads</a>,
-     * in <em>The Java Tutorial</em>.
+     * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency in Swing</a>.
      * <p>
      * As of 1.3 this method is just a cover for
      * <code>java.awt.EventQueue.invokeAndWait()</code>.
--- a/src/share/classes/javax/swing/SwingWorker.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/javax/swing/SwingWorker.java	Sat Sep 10 21:30:20 2011 -0700
@@ -50,8 +50,8 @@
  * When writing a multi-threaded application using Swing, there are
  * two constraints to keep in mind:
  * (refer to
- * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">
- *   How to Use Threads
+ * <a href="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">
+ *   Concurrency in Swing
  * </a> for more details):
  * <ul>
  *   <li> Time-consuming tasks should not be run on the <i>Event
--- a/src/share/classes/javax/swing/package.html	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/javax/swing/package.html	Sat Sep 10 21:30:20 2011 -0700
@@ -119,9 +119,9 @@
 processing when working with Swing.
 <p>
 More information on this topic can be found in the
-<a href="http://java.sun.com/docs/books/tutorial/uiswing/">Swing tutorial</a>,
+<a href="http://download.oracle.com/javase/tutorial/uiswing/">Swing tutorial</a>,
 in particular the section on
-<a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How to Use Threads</a>.
+<a href="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency in Swing</a>.
 
 
 <H2>
--- a/src/share/classes/javax/swing/text/AbstractDocument.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/javax/swing/text/AbstractDocument.java	Sat Sep 10 21:30:20 2011 -0700
@@ -409,8 +409,8 @@
      * <p>
      * This method is thread safe, although most Swing methods
      * are not. Please see
-     * <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
-     * to Use Threads</A> for more information.
+     * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
+     * in Swing</A> for more information.
      *
      * @param r the renderer to execute
      */
@@ -570,8 +570,8 @@
      * <p>
      * This method is thread safe, although most Swing methods
      * are not. Please see
-     * <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
-     * to Use Threads</A> for more information.
+     * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
+     * in Swing</A> for more information.
      *
      * @param offs the starting offset >= 0
      * @param len the number of characters to remove >= 0
@@ -683,8 +683,8 @@
      * <p>
      * This method is thread safe, although most Swing methods
      * are not. Please see
-     * <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
-     * to Use Threads</A> for more information.
+     * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
+     * in Swing</A> for more information.
      *
      * @param offs the starting offset >= 0
      * @param str the string to insert; does nothing with null/empty strings
@@ -818,8 +818,8 @@
      * <p>
      * This method is thread safe, although most Swing methods
      * are not. Please see
-     * <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
-     * to Use Threads</A> for more information.
+     * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
+     * in Swing</A> for more information.
      *
      * @param offs the position in the model >= 0
      * @return the position
--- a/src/share/classes/javax/swing/text/DefaultCaret.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/javax/swing/text/DefaultCaret.java	Sat Sep 10 21:30:20 2011 -0700
@@ -237,8 +237,8 @@
      * <p>
      * This method is thread safe, although most Swing methods
      * are not. Please see
-     * <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
-     * to Use Threads</A> for more information.
+     * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
+     * in Swing</A> for more information.
      */
     protected final synchronized void repaint() {
         if (component != null) {
--- a/src/share/classes/javax/swing/text/DefaultStyledDocument.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/javax/swing/text/DefaultStyledDocument.java	Sat Sep 10 21:30:20 2011 -0700
@@ -173,8 +173,8 @@
      * <p>
      * This method is thread safe, although most Swing methods
      * are not. Please see
-     * <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
-     * to Use Threads</A> for more information.
+     * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
+     * in Swing</A> for more information.
      *
      * @param offset the starting offset >= 0
      * @param data the element data
@@ -426,8 +426,8 @@
      * <p>
      * This method is thread safe, although most Swing methods
      * are not. Please see
-     * <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
-     * to Use Threads</A> for more information.
+     * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
+     * in Swing</A> for more information.
      *
      * @param pos the offset from the start of the document >= 0
      * @param s  the logical style to assign to the paragraph, null if none
@@ -483,8 +483,8 @@
      * <p>
      * This method is thread safe, although most Swing methods
      * are not. Please see
-     * <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
-     * to Use Threads</A> for more information.
+     * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
+     * in Swing</A> for more information.
      *
      * @param offset the offset in the document >= 0
      * @param length the length >= 0
@@ -536,8 +536,8 @@
      * <p>
      * This method is thread safe, although most Swing methods
      * are not. Please see
-     * <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
-     * to Use Threads</A> for more information.
+     * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
+     * in Swing</A> for more information.
      *
      * @param offset the offset into the paragraph >= 0
      * @param length the number of characters affected >= 0
--- a/src/share/classes/javax/swing/text/JTextComponent.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/javax/swing/text/JTextComponent.java	Sat Sep 10 21:30:20 2011 -0700
@@ -2213,8 +2213,8 @@
      * <p>
      * This method is thread-safe, although most Swing methods are not. Please
      * see <A
-     * HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">
-     * How to Use Threads</A> for more information.
+     * HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">
+     * Concurrency in Swing</A> for more information.
      *
      * <p>
      * <b>Sample Usage</b>. This code snippet shows a cross-platform print
@@ -2471,8 +2471,8 @@
      * <p>
      * This method is thread-safe, although most Swing methods are not. Please
      * see <A
-     * HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">
-     * How to Use Threads</A> for more information.
+     * HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">
+     * Concurrency in Swing</A> for more information.
      *
      * <p>
      * The returned {@code Printable} can be printed on any thread.
--- a/src/share/classes/javax/swing/text/PlainDocument.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/javax/swing/text/PlainDocument.java	Sat Sep 10 21:30:20 2011 -0700
@@ -100,8 +100,8 @@
      * <p>
      * This method is thread safe, although most Swing methods
      * are not. Please see
-     * <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
-     * to Use Threads</A> for more information.
+     * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
+     * in Swing</A> for more information.
      *
      * @param offs the starting offset >= 0
      * @param str the string to insert; does nothing with null/empty strings
--- a/src/share/classes/javax/swing/text/StyleContext.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/javax/swing/text/StyleContext.java	Sat Sep 10 21:30:20 2011 -0700
@@ -292,8 +292,8 @@
      * <p>
      * This method is thread safe, although most Swing methods
      * are not. Please see
-     * <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
-     * to Use Threads</A> for more information.
+     * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
+     * in Swing</A> for more information.
      *
      * @param old the old attribute set
      * @param name the non-null attribute name
@@ -321,8 +321,8 @@
      * <p>
      * This method is thread safe, although most Swing methods
      * are not. Please see
-     * <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
-     * to Use Threads</A> for more information.
+     * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
+     * in Swing</A> for more information.
      *
      * @param old the old attribute set
      * @param attr the attributes to add
@@ -349,8 +349,8 @@
      * <p>
      * This method is thread safe, although most Swing methods
      * are not. Please see
-     * <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
-     * to Use Threads</A> for more information.
+     * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
+     * in Swing</A> for more information.
      *
      * @param old the old set of attributes
      * @param name the non-null attribute name
@@ -377,8 +377,8 @@
      * <p>
      * This method is thread safe, although most Swing methods
      * are not. Please see
-     * <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
-     * to Use Threads</A> for more information.
+     * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
+     * in Swing</A> for more information.
      *
      * @param old the old attribute set
      * @param names the attribute names
@@ -405,8 +405,8 @@
      * <p>
      * This method is thread safe, although most Swing methods
      * are not. Please see
-     * <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
-     * to Use Threads</A> for more information.
+     * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
+     * in Swing</A> for more information.
      *
      * @param old the old attribute set
      * @param attrs the attributes
@@ -445,8 +445,8 @@
      * <p>
      * This method is thread safe, although most Swing methods
      * are not. Please see
-     * <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
-     * to Use Threads</A> for more information.
+     * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
+     * in Swing</A> for more information.
      *
      * @param a the set to reclaim
      */
--- a/src/share/classes/javax/swing/text/html/CSS.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/javax/swing/text/html/CSS.java	Sat Sep 10 21:30:20 2011 -0700
@@ -806,15 +806,11 @@
             // translate border width into the cells, if it has non-zero value.
             AttributeSet tableAttr = elem.getParentElement().
                                      getParentElement().getAttributes();
-            int borderWidth;
-            try {
-                borderWidth = Integer.parseInt(
-                    (String) tableAttr.getAttribute(HTML.Attribute.BORDER));
-            } catch (NumberFormatException e) {
-                borderWidth = 0;
-            }
+
+            int borderWidth = getTableBorder(tableAttr);
             if (borderWidth > 0) {
-                translateAttribute(HTML.Attribute.BORDER, tableAttr, cssAttrSet);
+                // If table contains the BORDER attribute cells should have border width equals 1
+                translateAttribute(HTML.Attribute.BORDER, "1", cssAttrSet);
             }
             String pad = (String)tableAttr.getAttribute(HTML.Attribute.CELLPADDING);
             if (pad != null) {
@@ -850,6 +846,21 @@
         return cssAttrSet;
     }
 
+    private static int getTableBorder(AttributeSet tableAttr) {
+        String borderValue = (String) tableAttr.getAttribute(HTML.Attribute.BORDER);
+
+        if (borderValue == HTML.NULL_ATTRIBUTE_VALUE || "".equals(borderValue)) {
+            // Some browsers accept <TABLE BORDER> and <TABLE BORDER=""> with the same semantics as BORDER=1
+            return 1;
+        }
+
+        try {
+            return Integer.parseInt(borderValue);
+        } catch (NumberFormatException e) {
+            return 0;
+        }
+    }
+
     private static final Hashtable<String, Attribute> attributeMap = new Hashtable<String, Attribute>();
     private static final Hashtable<String, Value> valueMap = new Hashtable<String, Value>();
 
@@ -1400,17 +1411,20 @@
                         }
                     }
                 } else {
-
-                    /*
-                     * The html size attribute has a mapping in the CSS world only
-                     * if it is par of a font or base font tag.
-                     */
-
                     if (key == HTML.Attribute.SIZE && !isHTMLFontTag(tag)) {
-                        continue;
+                        /*
+                         * The html size attribute has a mapping in the CSS world only
+                         * if it is par of a font or base font tag.
+                         */
+                    } else if (tag == HTML.Tag.TABLE && key == HTML.Attribute.BORDER) {
+                        int borderWidth = getTableBorder(htmlAttrSet);
+
+                        if (borderWidth > 0) {
+                            translateAttribute(HTML.Attribute.BORDER, Integer.toString(borderWidth), cssAttrSet);
+                        }
+                    } else {
+                        translateAttribute(key, (String) htmlAttrSet.getAttribute(key), cssAttrSet);
                     }
-
-                    translateAttribute(key, htmlAttrSet, cssAttrSet);
                 }
             } else if (name instanceof CSS.Attribute) {
                 cssAttrSet.addAttribute(name, htmlAttrSet.getAttribute(name));
@@ -1419,7 +1433,7 @@
     }
 
     private void translateAttribute(HTML.Attribute key,
-                                           AttributeSet htmlAttrSet,
+                                           String htmlAttrValue,
                                            MutableAttributeSet cssAttrSet) {
         /*
          * In the case of all remaining HTML.Attribute's they
@@ -1427,8 +1441,6 @@
          */
         CSS.Attribute[] cssAttrList = getCssAttribute(key);
 
-        String htmlAttrValue = (String)htmlAttrSet.getAttribute(key);
-
         if (cssAttrList == null || htmlAttrValue == null) {
             return;
         }
--- a/src/share/classes/javax/swing/text/html/HTMLDocument.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/javax/swing/text/html/HTMLDocument.java	Sat Sep 10 21:30:20 2011 -0700
@@ -474,8 +474,8 @@
      * <p>
      * This method is thread safe, although most Swing methods
      * are not. Please see
-     * <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
-     * to Use Threads</A> for more information.
+     * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
+     * in Swing</A> for more information.
      *
      * @param offset the offset into the paragraph (must be at least 0)
      * @param length the number of characters affected (must be at least 0)
--- a/src/share/classes/javax/swing/text/html/TableView.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/javax/swing/text/html/TableView.java	Sat Sep 10 21:30:20 2011 -0700
@@ -242,7 +242,8 @@
             if (lv != null) {
                 cellSpacing = (int) lv.getValue();
             } else {
-                cellSpacing = 0;
+                // Default cell spacing equals 2
+                cellSpacing = 2;
             }
             lv = (CSS.LengthValue)
                     attr.getAttribute(CSS.Attribute.BORDER_TOP_WIDTH);
@@ -251,8 +252,7 @@
             } else {
                     borderWidth = 0;
             }
-
-                }
+        }
     }
 
     /**
--- a/src/share/classes/sun/swing/PrintingStatus.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/sun/swing/PrintingStatus.java	Sat Sep 10 21:30:20 2011 -0700
@@ -43,8 +43,8 @@
  * <p/>
  * Methods of these class are thread safe, although most Swing methods
  * are not. Please see
- * <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
- * to Use Threads</A> for more information.
+ * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
+ * in Swing</A> for more information.
  *
  * @author Alexander Potochkin
  * @since 1.6
--- a/src/share/classes/sun/util/resources/CurrencyNames.properties	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/sun/util/resources/CurrencyNames.properties	Sat Sep 10 21:30:20 2011 -0700
@@ -106,6 +106,7 @@
 COP=COP
 CRC=CRC
 CSD=CSD
+CUC=CUC
 CUP=CUP
 CVE=CVE
 CYP=CYP
@@ -232,6 +233,7 @@
 THB=THB
 TJS=TJS
 TMM=TMM
+TMT=TMT
 TND=TND
 TOP=TOP
 TPE=TPE
@@ -267,14 +269,18 @@
 XPD=XPD
 XPF=XPF
 XPT=XPT
+XSU=XSU
 XTS=XTS
+XUA=XUA
 XXX=XXX
 YER=YER
 YUM=YUM
 ZAR=ZAR
 ZMK=ZMK
 ZWD=ZWD
+ZWL=ZWL
 ZWN=ZWN
+ZWR=ZWR
 adp=Andorran Peseta
 aed=United Arab Emirates Dirham
 afa=Afghan Afghani (1927-2002)
@@ -317,6 +323,7 @@
 cop=Colombian Peso
 crc=Costa Rican Col\u00f3n
 csd=Serbian Dinar (2002-2006)
+cuc=Cuban Convertible Peso
 cup=Cuban Peso
 cve=Cape Verdean Escudo
 cyp=Cypriot Pound
@@ -443,6 +450,7 @@
 thb=Thai Baht
 tjs=Tajikistani Somoni
 tmm=Turkmenistani Manat (1993-2009)
+tmt=Turkmenistani Manat
 tnd=Tunisian Dinar
 top=Tongan Pa\u02bbanga
 tpe=Timorese Escudo
@@ -485,3 +493,5 @@
 zar=South African Rand
 zmk=Zambian Kwacha
 zwd=Zimbabwean Dollar (1980-2008)
+zwl=Zimbabwean Dollar (2009)
+zwr=Zimbabwean Dollar (2008)
--- a/src/share/classes/sun/util/resources/CurrencyNames_de.properties	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/sun/util/resources/CurrencyNames_de.properties	Sat Sep 10 21:30:20 2011 -0700
@@ -105,6 +105,7 @@
 cop=Kolumbianischer Peso
 crc=Costa Rica Colon
 csd=Alter Serbischer Dinar
+cuc=Kubanischer Peso (konvertibel)
 cup=Kubanischer Peso
 cve=Kap Verde Escudo
 cyp=Zypern-Pfund
@@ -229,6 +230,7 @@
 thb=Baht
 tjs=Tadschikistan Somoni
 tmm=Turkmenistan-Manat
+tmt=Neuer Turkmenistan-Manat
 tnd=Tunesischer Dinar
 top=Pa\u02bbanga
 tpe=Timor-Escudo
@@ -270,3 +272,4 @@
 zar=S\u00fcdafrikanischer Rand
 zmk=Kwacha
 zwd=Simbabwe-Dollar
+zwl=Simbabwe-Dollar (2009)
--- a/src/share/classes/sun/util/resources/CurrencyNames_es.properties	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/sun/util/resources/CurrencyNames_es.properties	Sat Sep 10 21:30:20 2011 -0700
@@ -105,6 +105,7 @@
 cop=peso colombiano
 crc=col\u00f3n costarricense
 csd=antiguo dinar serbio
+cuc=peso cubano convertible
 cup=peso cubano
 cve=escudo de Cabo Verde
 cyp=libra chipriota
@@ -231,6 +232,7 @@
 thb=baht tailand\u00e9s
 tjs=somoni tayiko
 tmm=manat turcomano
+tmt=nuevo manat turcomano
 tnd=dinar tunecino
 top=pa\u02bbanga tongano
 tpe=escudo timorense
@@ -273,3 +275,4 @@
 zar=rand sudafricano
 zmk=kwacha zambiano
 zwd=d\u00f3lar de Zimbabue
+zwl=d\u00f3lar zimbabuense
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/share/classes/sun/util/resources/CurrencyNames_es_CU.properties	Sat Sep 10 21:30:20 2011 -0700
@@ -0,0 +1,67 @@
+#
+# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# This code is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License version 2 only, as
+# published by the Free Software Foundation.  Oracle designates this
+# particular file as subject to the "Classpath" exception as provided
+# by Oracle in the LICENSE file that accompanied this code.
+#
+# This code is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+# version 2 for more details (a copy is included in the LICENSE file that
+# accompanied this code).
+#
+# You should have received a copy of the GNU General Public License version
+# 2 along with this work; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+# or visit www.oracle.com if you need additional information or have any
+# questions.
+#
+
+#
+# COPYRIGHT AND PERMISSION NOTICE
+#
+# Copyright (C) 1991-2011 Unicode, Inc. All rights reserved.
+# Distributed under the Terms of Use in http://www.unicode.org/copyright.html.
+#
+# Permission is hereby granted, free of charge, to any person obtaining
+# a copy of the Unicode data files and any associated documentation (the
+# "Data Files") or Unicode software and any associated documentation
+# (the "Software") to deal in the Data Files or Software without
+# restriction, including without limitation the rights to use, copy,
+# modify, merge, publish, distribute, and/or sell copies of the Data
+# Files or Software, and to permit persons to whom the Data Files or
+# Software are furnished to do so, provided that (a) the above copyright
+# notice(s) and this permission notice appear with all copies of the
+# Data Files or Software, (b) both the above copyright notice(s) and
+# this permission notice appear in associated documentation, and (c)
+# there is clear notice in each modified Data File or in the Software as
+# well as in the documentation associated with the Data File(s) or
+# Software that the data or software has been modified.
+#
+# THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF
+# ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
+# WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+# NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT
+# HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR
+# ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
+# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR
+# SOFTWARE.
+#
+# Except as contained in this notice, the name of a copyright holder
+# shall not be used in advertising or otherwise to promote the sale, use
+# or other dealings in these Data Files or Software without prior
+# written authorization of the copyright holder.
+
+#
+# Generated automatically from the Common Locale Data Repository. DO NOT EDIT!
+#
+CUP=CU$
+CUC=CUC$
--- a/src/share/classes/sun/util/resources/CurrencyNames_et_EE.properties	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/sun/util/resources/CurrencyNames_et_EE.properties	Sat Sep 10 21:30:20 2011 -0700
@@ -1,5 +1,5 @@
-# 
-# Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
+#
+# Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 #
 # This code is free software; you can redistribute it and/or modify it
@@ -21,18 +21,49 @@
 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 # or visit www.oracle.com if you need additional information or have any
 # questions.
-# 
+#
 
-# (C) Copyright Taligent, Inc. 1996, 1997 - All Rights Reserved
-# (C) Copyright IBM Corp. 1996 - 1999 - All Rights Reserved
 #
-# The original version of this source code and documentation
-# is copyrighted and owned by Taligent, Inc., a wholly-owned
-# subsidiary of IBM. These materials are provided under terms
-# of a License Agreement between Taligent and Sun. This technology
-# is protected by multiple US and International patents.
+# COPYRIGHT AND PERMISSION NOTICE
 #
-# This notice and attribution to Taligent may not be removed.
-# Taligent is a registered trademark of Taligent, Inc.
+# Copyright (C) 1991-2011 Unicode, Inc. All rights reserved.
+# Distributed under the Terms of Use in http://www.unicode.org/copyright.html.
+#
+# Permission is hereby granted, free of charge, to any person obtaining
+# a copy of the Unicode data files and any associated documentation (the
+# "Data Files") or Unicode software and any associated documentation
+# (the "Software") to deal in the Data Files or Software without
+# restriction, including without limitation the rights to use, copy,
+# modify, merge, publish, distribute, and/or sell copies of the Data
+# Files or Software, and to permit persons to whom the Data Files or
+# Software are furnished to do so, provided that (a) the above copyright
+# notice(s) and this permission notice appear with all copies of the
+# Data Files or Software, (b) both the above copyright notice(s) and
+# this permission notice appear in associated documentation, and (c)
+# there is clear notice in each modified Data File or in the Software as
+# well as in the documentation associated with the Data File(s) or
+# Software that the data or software has been modified.
+#
+# THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF
+# ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
+# WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+# NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT
+# HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR
+# ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
+# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR
+# SOFTWARE.
+#
+# Except as contained in this notice, the name of a copyright holder
+# shall not be used in advertising or otherwise to promote the sale, use
+# or other dealings in these Data Files or Software without prior
+# written authorization of the copyright holder.
 
+#
+# Generated automatically from the Common Locale Data Repository. DO NOT EDIT!
+#
 EEK=kr
+eek=Eesti kroon
+EUR=\u20ac
+eur=euro
--- a/src/share/classes/sun/util/resources/CurrencyNames_fr.properties	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/sun/util/resources/CurrencyNames_fr.properties	Sat Sep 10 21:30:20 2011 -0700
@@ -105,6 +105,7 @@
 cop=peso colombien
 crc=col\u00f3n costaricain
 csd=dinar serbo-mont\u00e9n\u00e9grin
+cuc=peso cubain convertible
 cup=peso cubain
 cve=escudo capverdien
 cyp=livre chypriote
@@ -231,6 +232,7 @@
 thb=baht tha\u00eflandais
 tjs=somoni tadjik
 tmm=manat turkm\u00e8ne
+tmt=nouveau manat turkm\u00e8ne
 tnd=dinar tunisien
 top=pa\u2019anga tongan
 tpe=escudo timorais
--- a/src/share/classes/sun/util/resources/CurrencyNames_ja.properties	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/sun/util/resources/CurrencyNames_ja.properties	Sat Sep 10 21:30:20 2011 -0700
@@ -105,6 +105,7 @@
 cop=\u30b3\u30ed\u30f3\u30d3\u30a2 \u30da\u30bd
 crc=\u30b3\u30b9\u30bf\u30ea\u30ab \u30b3\u30ed\u30f3
 csd=\u30bb\u30eb\u30d3\u30a2\u30f3 \u30c7\u30a3\u30ca\u30fc\u30eb
+cuc=\u30ad\u30e5\u30fc\u30d0 \u514c\u63db\u30da\u30bd
 cup=\u30ad\u30e5\u30fc\u30d0 \u30da\u30bd
 cve=\u30ab\u30fc\u30dc\u30d9\u30eb\u30c7 \u30a8\u30b9\u30af\u30fc\u30c9
 cyp=\u30ad\u30d7\u30ed\u30b9 \u30dd\u30f3\u30c9
@@ -231,6 +232,7 @@
 thb=\u30bf\u30a4 \u30d0\u30fc\u30c4
 tjs=\u30bf\u30b8\u30ad\u30b9\u30bf\u30f3 \u30bd\u30e2\u30cb
 tmm=\u30c8\u30eb\u30af\u30e1\u30cb\u30b9\u30bf\u30f3 \u30de\u30ca\u30c8
+tmt=\u30c8\u30eb\u30af\u30e1\u30cb\u30b9\u30bf\u30f3 \u65b0\u30de\u30ca\u30c8
 tnd=\u30c1\u30e5\u30cb\u30b8\u30a2 \u30c7\u30a3\u30ca\u30fc\u30eb
 top=\u30c8\u30f3\u30ac \u30d1\u30fb\u30a2\u30f3\u30ac
 tpe=\u30c6\u30a3\u30e2\u30fc\u30eb \u30a8\u30b9\u30af\u30fc\u30c9
@@ -273,3 +275,4 @@
 zar=\u5357\u30a2\u30d5\u30ea\u30ab \u30e9\u30f3\u30c9
 zmk=\u30b6\u30f3\u30d3\u30a2 \u30af\u30ef\u30c1\u30e3
 zwd=\u30b8\u30f3\u30d0\u30d6\u30a8 \u30c9\u30eb
+zwl=\u30b8\u30f3\u30d0\u30d6\u30a8 \u30c9\u30eb (2009)
--- a/src/share/classes/sun/util/resources/CurrencyNames_ko.properties	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/sun/util/resources/CurrencyNames_ko.properties	Sat Sep 10 21:30:20 2011 -0700
@@ -105,6 +105,7 @@
 cop=\ucf5c\ub86c\ube44\uc544 \ud398\uc18c
 crc=\ucf54\uc2a4\ud0c0\ub9ac\uce74 \ucf5c\ub860
 csd=\uace0 \uc138\ub974\ube44\uc544 \ub514\ub098\ub974
+cuc=\ucfe0\ubc14 \ud0dc\ud658 \ud398\uc18c
 cup=\ucfe0\ubc14 \ud398\uc18c
 cve=\uce74\ubcf4\ubca0\ub974\ub370 \uc5d0\uc2a4\ucfe0\ub3c4
 cyp=\uc2f8\uc774\ud504\ub7ec\uc2a4 \ud30c\uc6b4\ub4dc
--- a/src/share/classes/sun/util/resources/CurrencyNames_pt.properties	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/sun/util/resources/CurrencyNames_pt.properties	Sat Sep 10 21:30:20 2011 -0700
@@ -87,6 +87,7 @@
 bif=Franco do Burundi
 bmd=D\u00f3lar das Bermudas
 bnd=D\u00f3lar do Brunei
+bob=Boliviano
 bov=Mvdol boliviano
 brl=Real brasileiro
 bsd=D\u00f3lar das Bahamas
@@ -104,6 +105,7 @@
 cop=Peso colombiano
 crc=Colon da Costa Rica
 csd=Dinar s\u00e9rvio antigo
+cuc=Peso cubano convers\u00edvel
 cup=Peso cubano
 cve=Escudo cabo-verdiano
 cyp=Libra cipriota
@@ -229,6 +231,7 @@
 thb=Baht tailand\u00eas
 tjs=Somoni tadjique
 tmm=Manat do Turcomenist\u00e3o
+tmt=Novo Manat do Turcomenist\u00e3o
 tnd=Dinar tunisiano
 top=Pa\u02bbanga de Tonga
 tpe=Escudo timorense
@@ -271,3 +274,5 @@
 zar=Rand sul-africano
 zmk=Cuacha zambiano
 zwd=D\u00f3lar do Zimb\u00e1bue
+zwl=D\u00f3lar do Zimb\u00e1bue (2009)
+zwr=D\u00f3lar do Zimb\u00e1bue (2008)
--- a/src/share/classes/sun/util/resources/CurrencyNames_sk_SK.properties	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/sun/util/resources/CurrencyNames_sk_SK.properties	Sat Sep 10 21:30:20 2011 -0700
@@ -1,5 +1,5 @@
-# 
-# Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
+#
+# Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 #
 # This code is free software; you can redistribute it and/or modify it
@@ -21,18 +21,48 @@
 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 # or visit www.oracle.com if you need additional information or have any
 # questions.
-# 
+#
 
-# (C) Copyright Taligent, Inc. 1996, 1997 - All Rights Reserved
-# (C) Copyright IBM Corp. 1996 - 1999 - All Rights Reserved
 #
-# The original version of this source code and documentation
-# is copyrighted and owned by Taligent, Inc., a wholly-owned
-# subsidiary of IBM. These materials are provided under terms
-# of a License Agreement between Taligent and Sun. This technology
-# is protected by multiple US and International patents.
+# COPYRIGHT AND PERMISSION NOTICE
 #
-# This notice and attribution to Taligent may not be removed.
-# Taligent is a registered trademark of Taligent, Inc.
+# Copyright (C) 1991-2011 Unicode, Inc. All rights reserved.
+# Distributed under the Terms of Use in http://www.unicode.org/copyright.html.
+#
+# Permission is hereby granted, free of charge, to any person obtaining
+# a copy of the Unicode data files and any associated documentation (the
+# "Data Files") or Unicode software and any associated documentation
+# (the "Software") to deal in the Data Files or Software without
+# restriction, including without limitation the rights to use, copy,
+# modify, merge, publish, distribute, and/or sell copies of the Data
+# Files or Software, and to permit persons to whom the Data Files or
+# Software are furnished to do so, provided that (a) the above copyright
+# notice(s) and this permission notice appear with all copies of the
+# Data Files or Software, (b) both the above copyright notice(s) and
+# this permission notice appear in associated documentation, and (c)
+# there is clear notice in each modified Data File or in the Software as
+# well as in the documentation associated with the Data File(s) or
+# Software that the data or software has been modified.
+#
+# THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF
+# ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
+# WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+# NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT
+# HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR
+# ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
+# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR
+# SOFTWARE.
+#
+# Except as contained in this notice, the name of a copyright holder
+# shall not be used in advertising or otherwise to promote the sale, use
+# or other dealings in these Data Files or Software without prior
+# written authorization of the copyright holder.
 
+#
+# Generated automatically from the Common Locale Data Repository. DO NOT EDIT!
+#
 SKK=Sk
+skk=Slovensk\u00e1 koruna
+EUR=\u20ac
--- a/src/share/classes/sun/util/resources/CurrencyNames_zh_CN.properties	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/sun/util/resources/CurrencyNames_zh_CN.properties	Sat Sep 10 21:30:20 2011 -0700
@@ -106,6 +106,7 @@
 cop=\u54e5\u4f26\u6bd4\u4e9a\u6bd4\u7d22
 crc=\u54e5\u65af\u8fbe\u9ece\u52a0\u79d1\u6717
 csd=\u65e7\u585e\u5c14\u7ef4\u4e9a\u7b2c\u7eb3\u5c14
+cuc=\u53e4\u5df4\u53ef\u5151\u6362\u6bd4\u7d22
 cup=\u53e4\u5df4\u6bd4\u7d22
 cve=\u4f5b\u5f97\u89d2\u57c3\u65af\u5e93\u591a
 cyp=\u585e\u6d66\u8def\u65af\u9551
@@ -231,6 +232,7 @@
 thb=\u6cf0\u94e2
 tjs=\u5854\u5409\u514b\u65af\u5766\u7d22\u83ab\u5c3c
 tmm=\u571f\u5e93\u66fc\u65af\u5766\u9a6c\u7eb3\u7279
+tmt=\u571f\u5e93\u66fc\u65af\u5766\u65b0\u9a6c\u7eb3\u7279
 tnd=\u7a81\u5c3c\u65af\u7b2c\u7eb3\u5c14
 top=\u6c64\u52a0\u6f58\u52a0
 tpe=\u5e1d\u6c76\u57c3\u65af\u5e93\u591a
@@ -273,3 +275,4 @@
 zar=\u5357\u975e\u5170\u7279
 zmk=\u8d5e\u6bd4\u4e9a\u514b\u74e6\u67e5
 zwd=\u6d25\u5df4\u5e03\u97e6\u5143
+zwl=\u6d25\u5df4\u5e03\u97e6\u5143 (2009)
--- a/src/share/classes/sun/util/resources/CurrencyNames_zh_TW.properties	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/sun/util/resources/CurrencyNames_zh_TW.properties	Sat Sep 10 21:30:20 2011 -0700
@@ -107,6 +107,7 @@
 cop=\u54e5\u502b\u6bd4\u4e9e\u62ab\u7d22
 crc=\u54e5\u65af\u5927\u9ece\u52a0\u79d1\u90ce
 csd=\u65e7\u585e\u5c14\u7ef4\u4e9a\u7b2c\u7eb3\u5c14
+cuc=\u53e4\u5df4\u53ef\u8f49\u63db\u62ab\u7d22
 cup=\u53e4\u5df4\u62ab\u7d22
 cve=\u7dad\u5fb7\u89d2\u57c3\u65af\u5eab\u591a
 cyp=\u8cfd\u666e\u52d2\u65af\u938a
@@ -233,6 +234,7 @@
 thb=\u6cf0\u9296
 tjs=\u5854\u5409\u514b\u65af\u5766\u7d22\u83ab\u5c3c
 tmm=\u571f\u5eab\u66fc\u99ac\u7d0d\u7279
+tmt=\u571f\u5eab\u66fc\u65b0\u99ac\u7d0d\u7279
 tnd=\u7a81\u5c3c\u897f\u4e9e\u7b2c\u7d0d\u723e
 top=\u6771\u52a0\u6f58\u52a0
 tpe=\u5e1d\u6c76\u57c3\u65af\u5e93\u591a
@@ -274,3 +276,4 @@
 zar=\u5357\u975e\u862d\u7279
 zmk=\u5c1a\u6bd4\u4e9e\u514b\u74e6\u67e5
 zwd=\u8f9b\u5df4\u5a01\u5143
+zwl=\u8f9b\u5df4\u5a01\u5143 (2009)
--- a/src/share/classes/sun/util/resources/LocaleNames.properties	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/classes/sun/util/resources/LocaleNames.properties	Sat Sep 10 21:30:20 2011 -0700
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 #
 # This code is free software; you can redistribute it and/or modify it
@@ -898,6 +898,7 @@
 BM=Bermuda
 BN=Brunei
 BO=Bolivia
+BQ=Bonaire, Sint Eustatius and Saba
 BR=Brazil
 BS=Bahamas
 BT=Bhutan
@@ -921,6 +922,7 @@
 CS=Serbia and Montenegro
 CU=Cuba
 CV=Cape Verde
+CW=Cura\u00e7ao
 CX=Christmas Island
 CY=Cyprus
 CZ=Czech Republic
@@ -1077,6 +1079,7 @@
 SR=Suriname
 ST=Sao Tome And Principe
 SV=El Salvador
+SX=Sint Maarten (Dutch part)
 SY=Syria
 SZ=Swaziland
 TC=Turks And Caicos Islands
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/share/demo/README	Sat Sep 10 21:30:20 2011 -0700
@@ -0,0 +1,6 @@
+The source code provided with samples and demos for the JDK is meant
+to illustrate the usage of a given feature or technique and has been
+deliberately simplified. Additional steps required for a
+production-quality application, such as security checks, input
+validation, and proper error handling, might not be present in the
+sample code.
--- a/src/share/demo/applets/ArcTest/ArcTest.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/applets/ArcTest/ArcTest.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.awt.*;
 import java.awt.event.*;
--- a/src/share/demo/applets/BarChart/BarChart.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/applets/BarChart/BarChart.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.awt.*;
 
--- a/src/share/demo/applets/Blink/Blink.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/applets/Blink/Blink.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 /**
  * I love blinking things.
--- a/src/share/demo/applets/CardTest/CardTest.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/applets/CardTest/CardTest.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.applet.Applet;
 import java.awt.BorderLayout;
--- a/src/share/demo/applets/Clock/Clock.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/applets/Clock/Clock.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.applet.Applet;
 import java.awt.Color;
--- a/src/share/demo/applets/DitherTest/DitherTest.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/applets/DitherTest/DitherTest.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.applet.Applet;
 import java.awt.AWTEvent;
--- a/src/share/demo/applets/DrawTest/DrawTest.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/applets/DrawTest/DrawTest.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.applet.Applet;
 import java.awt.BorderLayout;
--- a/src/share/demo/applets/Fractal/CLSFractal.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/applets/Fractal/CLSFractal.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.awt.Graphics;
 import java.util.Stack;
--- a/src/share/demo/applets/GraphicsTest/AppletFrame.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/applets/GraphicsTest/AppletFrame.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.awt.Frame;
 import java.awt.Event;
--- a/src/share/demo/applets/GraphicsTest/GraphicsTest.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/applets/GraphicsTest/GraphicsTest.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.awt.*;
 import java.util.*;
--- a/src/share/demo/applets/MoleculeViewer/Matrix3D.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/applets/MoleculeViewer/Matrix3D.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 /** A fairly conventional 3D matrix object that can transform sets of
 3D points and perform a variety of manipulations on the transform */
--- a/src/share/demo/applets/MoleculeViewer/XYZApp.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/applets/MoleculeViewer/XYZApp.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.applet.Applet;
 import java.awt.Image;
--- a/src/share/demo/applets/NervousText/NervousText.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/applets/NervousText/NervousText.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.awt.Graphics;
 import java.awt.Font;
--- a/src/share/demo/applets/SimpleGraph/GraphApplet.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/applets/SimpleGraph/GraphApplet.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.awt.Graphics;
 
--- a/src/share/demo/applets/SortDemo/BidirBubbleSortAlgorithm.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/applets/SortDemo/BidirBubbleSortAlgorithm.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 /**
  * A bi-directional bubble sort demonstration algorithm
--- a/src/share/demo/applets/SortDemo/BubbleSortAlgorithm.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/applets/SortDemo/BubbleSortAlgorithm.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 /**
  * A bubble sort demonstration algorithm
--- a/src/share/demo/applets/SortDemo/QSortAlgorithm.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/applets/SortDemo/QSortAlgorithm.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 /**
  * A quick sort demonstration algorithm
--- a/src/share/demo/applets/SortDemo/SortAlgorithm.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/applets/SortDemo/SortAlgorithm.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 /**
  * A generic sort demonstration algorithm
--- a/src/share/demo/applets/SortDemo/SortItem.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/applets/SortDemo/SortItem.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.awt.Color;
 import java.awt.Dimension;
--- a/src/share/demo/applets/SpreadSheet/SpreadSheet.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/applets/SpreadSheet/SpreadSheet.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.applet.Applet;
 import java.awt.*;
--- a/src/share/demo/applets/WireFrame/Matrix3D.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/applets/WireFrame/Matrix3D.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 /** A fairly conventional 3D matrix object that can transform sets of
 3D points and perform a variety of manipulations on the transform */
--- a/src/share/demo/applets/WireFrame/ThreeD.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/applets/WireFrame/ThreeD.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.applet.Applet;
 import java.awt.Graphics;
--- a/src/share/demo/java2d/J2DBench/src/j2dbench/Destinations.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/java2d/J2DBench/src/j2dbench/Destinations.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package j2dbench;
 
 import java.awt.Image;
--- a/src/share/demo/java2d/J2DBench/src/j2dbench/Group.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/java2d/J2DBench/src/j2dbench/Group.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package j2dbench;
 
 import java.io.PrintWriter;
--- a/src/share/demo/java2d/J2DBench/src/j2dbench/J2DBench.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/java2d/J2DBench/src/j2dbench/J2DBench.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package j2dbench;
 
 import java.io.PrintWriter;
--- a/src/share/demo/java2d/J2DBench/src/j2dbench/Modifier.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/java2d/J2DBench/src/j2dbench/Modifier.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package j2dbench;
 
 public interface Modifier {
--- a/src/share/demo/java2d/J2DBench/src/j2dbench/Node.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/java2d/J2DBench/src/j2dbench/Node.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package j2dbench;
 
 import java.io.PrintWriter;
--- a/src/share/demo/java2d/J2DBench/src/j2dbench/Option.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/java2d/J2DBench/src/j2dbench/Option.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package j2dbench;
 
 import java.awt.BorderLayout;
--- a/src/share/demo/java2d/J2DBench/src/j2dbench/Result.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/java2d/J2DBench/src/j2dbench/Result.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package j2dbench;
 
 import java.util.Vector;
--- a/src/share/demo/java2d/J2DBench/src/j2dbench/ResultSet.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/java2d/J2DBench/src/j2dbench/ResultSet.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package j2dbench;
 
 import java.util.Hashtable;
--- a/src/share/demo/java2d/J2DBench/src/j2dbench/Test.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/java2d/J2DBench/src/j2dbench/Test.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package j2dbench;
 
 public abstract class Test extends Option.Enable {
--- a/src/share/demo/java2d/J2DBench/src/j2dbench/TestEnvironment.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/java2d/J2DBench/src/j2dbench/TestEnvironment.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package j2dbench;
 
 import java.awt.Canvas;
--- a/src/share/demo/java2d/J2DBench/src/j2dbench/report/HTMLSeriesReporter.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/java2d/J2DBench/src/j2dbench/report/HTMLSeriesReporter.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /**
  * HTMLSeriesReporter.java
  *
--- a/src/share/demo/java2d/J2DBench/src/j2dbench/report/IIOComparator.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/java2d/J2DBench/src/j2dbench/report/IIOComparator.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package j2dbench.report;
 
 import java.io.*;
--- a/src/share/demo/java2d/J2DBench/src/j2dbench/report/J2DAnalyzer.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/java2d/J2DBench/src/j2dbench/report/J2DAnalyzer.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package j2dbench.report;
 
 import java.util.Vector;
--- a/src/share/demo/java2d/J2DBench/src/j2dbench/report/XMLHTMLReporter.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/java2d/J2DBench/src/j2dbench/report/XMLHTMLReporter.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /**
  * XMLHTMLReporter.java
  *
--- a/src/share/demo/java2d/J2DBench/src/j2dbench/tests/GraphicsTests.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/java2d/J2DBench/src/j2dbench/tests/GraphicsTests.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package j2dbench.tests;
 
 import java.awt.Graphics;
--- a/src/share/demo/java2d/J2DBench/src/j2dbench/tests/ImageTests.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/java2d/J2DBench/src/j2dbench/tests/ImageTests.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package j2dbench.tests;
 
 import j2dbench.Destinations;
--- a/src/share/demo/java2d/J2DBench/src/j2dbench/tests/MiscTests.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/java2d/J2DBench/src/j2dbench/tests/MiscTests.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package j2dbench.tests;
 
 import java.awt.Dimension;
--- a/src/share/demo/java2d/J2DBench/src/j2dbench/tests/PixelTests.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/java2d/J2DBench/src/j2dbench/tests/PixelTests.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package j2dbench.tests;
 
 import j2dbench.Destinations;
--- a/src/share/demo/java2d/J2DBench/src/j2dbench/tests/RenderTests.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/java2d/J2DBench/src/j2dbench/tests/RenderTests.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package j2dbench.tests;
 
 import java.awt.Graphics;
--- a/src/share/demo/java2d/J2DBench/src/j2dbench/tests/iio/IIOTests.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/java2d/J2DBench/src/j2dbench/tests/iio/IIOTests.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package j2dbench.tests.iio;
 
 import java.awt.AlphaComposite;
--- a/src/share/demo/java2d/J2DBench/src/j2dbench/tests/iio/InputImageTests.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/java2d/J2DBench/src/j2dbench/tests/iio/InputImageTests.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package j2dbench.tests.iio;
 
 import java.awt.Component;
--- a/src/share/demo/java2d/J2DBench/src/j2dbench/tests/iio/InputStreamTests.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/java2d/J2DBench/src/j2dbench/tests/iio/InputStreamTests.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package j2dbench.tests.iio;
 
 import java.io.File;
--- a/src/share/demo/java2d/J2DBench/src/j2dbench/tests/iio/InputTests.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/java2d/J2DBench/src/j2dbench/tests/iio/InputTests.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package j2dbench.tests.iio;
 
 import java.io.BufferedInputStream;
--- a/src/share/demo/java2d/J2DBench/src/j2dbench/tests/iio/OutputImageTests.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/java2d/J2DBench/src/j2dbench/tests/iio/OutputImageTests.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package j2dbench.tests.iio;
 
 import java.awt.Graphics;
--- a/src/share/demo/java2d/J2DBench/src/j2dbench/tests/iio/OutputStreamTests.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/java2d/J2DBench/src/j2dbench/tests/iio/OutputStreamTests.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package j2dbench.tests.iio;
 
 import java.io.File;
--- a/src/share/demo/java2d/J2DBench/src/j2dbench/tests/iio/OutputTests.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/java2d/J2DBench/src/j2dbench/tests/iio/OutputTests.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package j2dbench.tests.iio;
 
 import java.io.BufferedOutputStream;
--- a/src/share/demo/java2d/J2DBench/src/j2dbench/tests/text/TextConstructionTests.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/java2d/J2DBench/src/j2dbench/tests/text/TextConstructionTests.java	Sat Sep 10 21:30:20 2011 -0700
@@ -30,6 +30,15 @@
  */
 
 /*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+/*
  * (C) Copyright IBM Corp. 2003, All Rights Reserved.
  * This technology is protected by multiple US and International
  * patents. This notice and attribution to IBM may not be removed.
--- a/src/share/demo/java2d/J2DBench/src/j2dbench/tests/text/TextMeasureTests.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/java2d/J2DBench/src/j2dbench/tests/text/TextMeasureTests.java	Sat Sep 10 21:30:20 2011 -0700
@@ -30,6 +30,15 @@
  */
 
 /*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+/*
  * (C) Copyright IBM Corp. 2003, All Rights Reserved.
  * This technology is protected by multiple US and International
  * patents. This notice and attribution to IBM may not be removed.
--- a/src/share/demo/java2d/J2DBench/src/j2dbench/tests/text/TextRenderTests.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/java2d/J2DBench/src/j2dbench/tests/text/TextRenderTests.java	Sat Sep 10 21:30:20 2011 -0700
@@ -30,6 +30,15 @@
  */
 
 /*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+/*
  * (C) Copyright IBM Corp. 2003, All Rights Reserved.
  * This technology is protected by multiple US and International
  * patents. This notice and attribution to IBM may not be removed.
--- a/src/share/demo/java2d/J2DBench/src/j2dbench/tests/text/TextTests.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/java2d/J2DBench/src/j2dbench/tests/text/TextTests.java	Sat Sep 10 21:30:20 2011 -0700
@@ -30,6 +30,15 @@
  */
 
 /*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+/*
  * (C) Copyright IBM Corp. 2003, All Rights Reserved.
  * This technology is protected by multiple US and International
  * patents. This notice and attribution to IBM may not be removed.
--- a/src/share/demo/java2d/J2DBench/src/j2dbench/ui/CompactLayout.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/java2d/J2DBench/src/j2dbench/ui/CompactLayout.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package j2dbench.ui;
 
 import java.awt.Dimension;
--- a/src/share/demo/java2d/J2DBench/src/j2dbench/ui/EnableButton.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/java2d/J2DBench/src/j2dbench/ui/EnableButton.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package j2dbench.ui;
 
 import j2dbench.Group;
--- a/src/share/demo/jfc/CodePointIM/CodePointIM.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/CodePointIM/CodePointIM.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.util.Locale;
 import java.util.MissingResourceException;
--- a/src/share/demo/jfc/CodePointIM/CodePointInputMethod.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/CodePointIM/CodePointInputMethod.java	Sat Sep 10 21:30:20 2011 -0700
@@ -28,6 +28,15 @@
  * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
+
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
 package com.sun.inputmethods.internal.codepointim;
 
 
--- a/src/share/demo/jfc/CodePointIM/CodePointInputMethodDescriptor.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/CodePointIM/CodePointInputMethodDescriptor.java	Sat Sep 10 21:30:20 2011 -0700
@@ -28,6 +28,15 @@
  * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
+
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
 package com.sun.inputmethods.internal.codepointim;
 
 
--- a/src/share/demo/jfc/FileChooserDemo/ExampleFileSystemView.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/FileChooserDemo/ExampleFileSystemView.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.io.File;
 import java.io.IOException;
--- a/src/share/demo/jfc/FileChooserDemo/ExampleFileView.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/FileChooserDemo/ExampleFileView.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import javax.swing.*;
 import javax.swing.filechooser.*;
--- a/src/share/demo/jfc/FileChooserDemo/FileChooserDemo.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/FileChooserDemo/FileChooserDemo.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.lang.reflect.InvocationTargetException;
 import java.util.logging.Level;
--- a/src/share/demo/jfc/Font2DTest/Font2DTest.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/Font2DTest/Font2DTest.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.awt.Color;
 import java.awt.Component;
--- a/src/share/demo/jfc/Font2DTest/Font2DTestApplet.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/Font2DTest/Font2DTestApplet.java	Sat Sep 10 21:30:20 2011 -0700
@@ -30,6 +30,15 @@
  */
 
 /*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+/*
  */
 
 import java.awt.AWTPermission;
--- a/src/share/demo/jfc/Font2DTest/FontPanel.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/Font2DTest/FontPanel.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.awt.BorderLayout;
 import java.awt.Color;
--- a/src/share/demo/jfc/Font2DTest/RangeMenu.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/Font2DTest/RangeMenu.java	Sat Sep 10 21:30:20 2011 -0700
@@ -30,6 +30,15 @@
  */
 
 /*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+/*
  */
 
 import java.awt.BorderLayout;
--- a/src/share/demo/jfc/Metalworks/AquaMetalTheme.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/Metalworks/AquaMetalTheme.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import javax.swing.plaf.ColorUIResource;
 import javax.swing.plaf.metal.DefaultMetalTheme;
--- a/src/share/demo/jfc/Metalworks/BigContrastMetalTheme.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/Metalworks/BigContrastMetalTheme.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import javax.swing.plaf.*;
 import javax.swing.plaf.metal.*;
--- a/src/share/demo/jfc/Metalworks/ContrastMetalTheme.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/Metalworks/ContrastMetalTheme.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import javax.swing.UIDefaults;
 import javax.swing.border.Border;
--- a/src/share/demo/jfc/Metalworks/DemoMetalTheme.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/Metalworks/DemoMetalTheme.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.awt.Font;
 import javax.swing.UIDefaults;
--- a/src/share/demo/jfc/Metalworks/GreenMetalTheme.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/Metalworks/GreenMetalTheme.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import javax.swing.plaf.ColorUIResource;
 import javax.swing.plaf.metal.DefaultMetalTheme;
--- a/src/share/demo/jfc/Metalworks/KhakiMetalTheme.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/Metalworks/KhakiMetalTheme.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import javax.swing.plaf.ColorUIResource;
 import javax.swing.plaf.metal.DefaultMetalTheme;
--- a/src/share/demo/jfc/Metalworks/MetalThemeMenu.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/Metalworks/MetalThemeMenu.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.awt.event.ActionEvent;
 import java.awt.event.ActionListener;
--- a/src/share/demo/jfc/Metalworks/Metalworks.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/Metalworks/Metalworks.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.awt.Toolkit;
 import javax.swing.JDialog;
--- a/src/share/demo/jfc/Metalworks/MetalworksDocumentFrame.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/Metalworks/MetalworksDocumentFrame.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.awt.BorderLayout;
 import java.awt.Component;
--- a/src/share/demo/jfc/Metalworks/MetalworksFrame.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/Metalworks/MetalworksFrame.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.awt.Dimension;
 import java.awt.Toolkit;
--- a/src/share/demo/jfc/Metalworks/MetalworksHelp.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/Metalworks/MetalworksHelp.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import javax.swing.*;
 import java.awt.*;
--- a/src/share/demo/jfc/Metalworks/MetalworksInBox.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/Metalworks/MetalworksInBox.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import javax.swing.JInternalFrame;
 import javax.swing.JScrollPane;
--- a/src/share/demo/jfc/Metalworks/MetalworksPrefs.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/Metalworks/MetalworksPrefs.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.awt.BorderLayout;
 import java.awt.Component;
--- a/src/share/demo/jfc/Metalworks/PropertiesMetalTheme.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/Metalworks/PropertiesMetalTheme.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.io.IOException;
 import java.io.InputStream;
--- a/src/share/demo/jfc/Metalworks/UISwitchListener.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/Metalworks/UISwitchListener.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.beans.PropertyChangeEvent;
 import java.beans.PropertyChangeListener;
--- a/src/share/demo/jfc/Notepad/ElementTreePanel.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/Notepad/ElementTreePanel.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.awt.BorderLayout;
 import java.awt.Dimension;
--- a/src/share/demo/jfc/Notepad/Notepad.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/Notepad/Notepad.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.awt.BorderLayout;
 import java.awt.Color;
--- a/src/share/demo/jfc/SampleTree/DynamicTreeNode.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/SampleTree/DynamicTreeNode.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.awt.Color;
 import java.awt.Font;
--- a/src/share/demo/jfc/SampleTree/SampleData.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/SampleTree/SampleData.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.awt.Color;
 import java.awt.Font;
--- a/src/share/demo/jfc/SampleTree/SampleTree.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/SampleTree/SampleTree.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.lang.reflect.InvocationTargetException;
 import java.util.logging.Level;
--- a/src/share/demo/jfc/SampleTree/SampleTreeCellRenderer.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/SampleTree/SampleTreeCellRenderer.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import javax.swing.Icon;
 import javax.swing.ImageIcon;
--- a/src/share/demo/jfc/SampleTree/SampleTreeModel.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/SampleTree/SampleTreeModel.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import javax.swing.tree.DefaultTreeModel;
 import javax.swing.tree.TreeNode;
--- a/src/share/demo/jfc/SwingApplet/SwingApplet.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/SwingApplet/SwingApplet.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.awt.FlowLayout;
 import java.lang.reflect.InvocationTargetException;
--- a/src/share/demo/jfc/TableExample/JDBCAdapter.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/TableExample/JDBCAdapter.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.sql.Connection;
 import java.sql.DriverManager;
--- a/src/share/demo/jfc/TableExample/OldJTable.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/TableExample/OldJTable.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.util.EventObject;
 import java.util.List;
--- a/src/share/demo/jfc/TableExample/TableExample.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/TableExample/TableExample.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 /**
  * A a UI around the JDBCAdaptor, allowing database data to be interactively
--- a/src/share/demo/jfc/TableExample/TableExample2.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/TableExample/TableExample2.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import java.awt.event.WindowAdapter;
 import java.awt.event.WindowEvent;
--- a/src/share/demo/jfc/TableExample/TableExample3.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/TableExample/TableExample3.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import javax.swing.*;
 import javax.swing.table.*;
--- a/src/share/demo/jfc/TableExample/TableExample4.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/TableExample/TableExample4.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import javax.swing.*;
 import javax.swing.table.*;
--- a/src/share/demo/jfc/TableExample/TableMap.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/TableExample/TableMap.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 /**
  * In a chain of data manipulators some behaviour is common. TableMap
--- a/src/share/demo/jfc/TableExample/TableSorter.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/TableExample/TableSorter.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 import javax.swing.table.TableModel;
 import javax.swing.event.TableModelEvent;
--- a/src/share/demo/jfc/TransparentRuler/transparentruler/Ruler.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jfc/TransparentRuler/transparentruler/Ruler.java	Sat Sep 10 21:30:20 2011 -0700
@@ -28,6 +28,15 @@
  * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
+
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
 package transparentruler;
 
 
--- a/src/share/demo/jvmti/agent_util/agent_util.c	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/agent_util/agent_util.c	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #include <agent_util.h>
 
 /* ------------------------------------------------------------------- */
--- a/src/share/demo/jvmti/agent_util/agent_util.h	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/agent_util/agent_util.h	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #ifndef AGENT_UTIL_H
 #define AGENT_UTIL_H
 
--- a/src/share/demo/jvmti/compiledMethodLoad/compiledMethodLoad.c	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/compiledMethodLoad/compiledMethodLoad.c	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
--- a/src/share/demo/jvmti/gctest/gctest.c	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/gctest/gctest.c	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* Example of using JVMTI_EVENT_GARBAGE_COLLECTION_START and
  *                  JVMTI_EVENT_GARBAGE_COLLECTION_FINISH events.
  */
--- a/src/share/demo/jvmti/heapTracker/HeapTracker.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/heapTracker/HeapTracker.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 /* Java class to hold static methods which will be called in byte code
  *    injections of all class files.
--- a/src/share/demo/jvmti/heapTracker/heapTracker.c	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/heapTracker/heapTracker.c	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #include "stdlib.h"
 
 #include "heapTracker.h"
--- a/src/share/demo/jvmti/heapTracker/heapTracker.h	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/heapTracker/heapTracker.h	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* Primary heapTracker #include file, should be included by most if not
  *    all heapTracker source files. Gives access to the global data structure
  *    and all global macros.
--- a/src/share/demo/jvmti/heapViewer/heapViewer.c	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/heapViewer/heapViewer.c	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #include <stdio.h>
 #include <stddef.h>
 #include <stdlib.h>
--- a/src/share/demo/jvmti/hprof/debug_malloc.c	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/debug_malloc.c	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* **************************************************************************
  *
  * Set of malloc/realloc/calloc/strdup/free replacement macros that
--- a/src/share/demo/jvmti/hprof/debug_malloc.h	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/debug_malloc.h	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* ***********************************************************************
  *
  * The source file debug_malloc.c should be included with your sources.
--- a/src/share/demo/jvmti/hprof/hprof.h	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof.h	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* Primary hprof #include file, should be included by most if not
  *    all hprof source files. Gives access to the global data structure
  *    and all global macros, and everything declared in the #include
--- a/src/share/demo/jvmti/hprof/hprof_blocks.c	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_blocks.c	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* Allocations from large blocks, no individual free's */
 
 #include "hprof.h"
--- a/src/share/demo/jvmti/hprof/hprof_blocks.h	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_blocks.h	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #ifndef HPROF_BLOCKS_H
 #define HPROF_BLOCKS_H
 
--- a/src/share/demo/jvmti/hprof/hprof_check.c	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_check.c	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* Functionality for checking hprof format=b output. */
 
 /* ONLY used with logflags=4. */
--- a/src/share/demo/jvmti/hprof/hprof_check.h	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_check.h	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #ifndef HPROF_CHECK_H
 #define HPROF_CHECK_H
 
--- a/src/share/demo/jvmti/hprof/hprof_class.c	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_class.c	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* Table of class information.
  *
  *   Each element in this table is identified with a ClassIndex.
--- a/src/share/demo/jvmti/hprof/hprof_class.h	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_class.h	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #ifndef HPROF_CLASS_H
 #define HPROF_CLASS_H
 
--- a/src/share/demo/jvmti/hprof/hprof_cpu.c	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_cpu.c	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #include "hprof.h"
 
 /* This file contains the cpu loop for the option cpu=samples */
--- a/src/share/demo/jvmti/hprof/hprof_cpu.h	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_cpu.h	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #ifndef HPROF_CPU_H
 #define HPROF_CPU_H
 
--- a/src/share/demo/jvmti/hprof/hprof_error.c	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_error.c	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #include "hprof.h"
 
 /* The error handling logic. */
--- a/src/share/demo/jvmti/hprof/hprof_error.h	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_error.h	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #ifndef HPROF_ERROR_H
 #define HPROF_ERROR_H
 
--- a/src/share/demo/jvmti/hprof/hprof_event.c	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_event.c	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* This file contains all class, method and allocation event support functions,
  *   both JVMTI and BCI events.
  *   (See hprof_monitor.c for the monitor event handlers).
--- a/src/share/demo/jvmti/hprof/hprof_event.h	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_event.h	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #ifndef HPROF_EVENT_H
 #define HPROF_EVENT_H
 
--- a/src/share/demo/jvmti/hprof/hprof_frame.c	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_frame.c	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* This file contains support for handling frames, or (method,location) pairs. */
 
 #include "hprof.h"
--- a/src/share/demo/jvmti/hprof/hprof_frame.h	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_frame.h	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #ifndef HPROF_FRAME_H
 #define HPROF_FRAME_H
 
--- a/src/share/demo/jvmti/hprof/hprof_init.c	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_init.c	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* Main source file, the basic JVMTI connection/startup code. */
 
 #include "hprof.h"
--- a/src/share/demo/jvmti/hprof/hprof_init.h	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_init.h	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #ifndef HPROF_INIT_H
 #define HPROF_INIT_H
 
--- a/src/share/demo/jvmti/hprof/hprof_io.c	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_io.c	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* All I/O functionality for hprof. */
 
 /*
--- a/src/share/demo/jvmti/hprof/hprof_io.h	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_io.h	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #ifndef HPROF_IO_H
 #define HPROF_IO_H
 
--- a/src/share/demo/jvmti/hprof/hprof_ioname.c	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_ioname.c	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* Used to store strings written out to the binary format (see hprof_io.c) */
 
 
--- a/src/share/demo/jvmti/hprof/hprof_ioname.h	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_ioname.h	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #ifndef HPROF_IONAME_H
 #define HPROF_IONAME_H
 
--- a/src/share/demo/jvmti/hprof/hprof_listener.c	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_listener.c	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* The hprof listener loop thread. net=hostname:port option */
 
 /*
--- a/src/share/demo/jvmti/hprof/hprof_listener.h	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_listener.h	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #ifndef HPROF_LISTENER_H
 #define HPROF_LISTENER_H
 
--- a/src/share/demo/jvmti/hprof/hprof_loader.c	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_loader.c	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* The Class Loader table. */
 
 /*
--- a/src/share/demo/jvmti/hprof/hprof_loader.h	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_loader.h	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #ifndef HPROF_LOADER_H
 #define HPROF_LOADER_H
 
--- a/src/share/demo/jvmti/hprof/hprof_md.h	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_md.h	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #ifndef HPROF_MD_H
 #define HPROF_MD_H
 
--- a/src/share/demo/jvmti/hprof/hprof_monitor.c	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_monitor.c	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* Monitor contention tracking and monitor wait handling. */
 
 /*
--- a/src/share/demo/jvmti/hprof/hprof_monitor.h	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_monitor.h	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #ifndef HPROF_MONITOR_H
 #define HPROF_MONITOR_H
 
--- a/src/share/demo/jvmti/hprof/hprof_object.c	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_object.c	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* Object table. */
 
 /*
--- a/src/share/demo/jvmti/hprof/hprof_object.h	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_object.h	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #ifndef HPROF_OBJECT_H
 #define HPROF_OBJECT_H
 
--- a/src/share/demo/jvmti/hprof/hprof_reference.c	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_reference.c	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* Object references table (used in hprof_object.c). */
 
 /*
--- a/src/share/demo/jvmti/hprof/hprof_reference.h	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_reference.h	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #ifndef HPROF_REFERENCE_H
 #define HPROF_REFERENCE_H
 
--- a/src/share/demo/jvmti/hprof/hprof_site.c	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_site.c	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* Allocation site table. */
 
 /*
--- a/src/share/demo/jvmti/hprof/hprof_site.h	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_site.h	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #ifndef HPROF_SITE_H
 #define HPROF_SITE_H
 
--- a/src/share/demo/jvmti/hprof/hprof_stack.c	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_stack.c	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* Simple stack storage mechanism (or simple List). */
 
 /*
--- a/src/share/demo/jvmti/hprof/hprof_stack.h	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_stack.h	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #ifndef HPROF_STACK_H
 #define HPROF_STACK_H
 
--- a/src/share/demo/jvmti/hprof/hprof_string.c	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_string.c	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* Table of byte arrays (e.g. char* string + NULL byte) */
 
 /*
--- a/src/share/demo/jvmti/hprof/hprof_string.h	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_string.h	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #ifndef HPROF_STRING_H
 #define HPROF_STRING_H
 
--- a/src/share/demo/jvmti/hprof/hprof_table.c	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_table.c	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* Lookup Table of generic elements. */
 
 /*
--- a/src/share/demo/jvmti/hprof/hprof_table.h	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_table.h	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #ifndef HPROF_TABLE_H
 #define HPROF_TABLE_H
 
--- a/src/share/demo/jvmti/hprof/hprof_tag.c	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_tag.c	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* JVMTI tag definitions. */
 
 /*
--- a/src/share/demo/jvmti/hprof/hprof_tag.h	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_tag.h	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #ifndef HPROF_TAG_H
 #define HPROF_TAG_H
 
--- a/src/share/demo/jvmti/hprof/hprof_tls.c	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_tls.c	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #include "hprof.h"
 
 /* Thread Local Storage Table and method entry/exit handling. */
--- a/src/share/demo/jvmti/hprof/hprof_tls.h	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_tls.h	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #ifndef HPROF_TLS_H
 #define HPROF_TLS_H
 
--- a/src/share/demo/jvmti/hprof/hprof_trace.c	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_trace.c	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* Trace table. */
 
 /*
--- a/src/share/demo/jvmti/hprof/hprof_trace.h	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_trace.h	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #ifndef HPROF_TRACE_H
 #define HPROF_TRACE_H
 
--- a/src/share/demo/jvmti/hprof/hprof_tracker.c	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_tracker.c	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* Tracker class support functions. */
 
 /*
--- a/src/share/demo/jvmti/hprof/hprof_tracker.h	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_tracker.h	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #ifndef HPROF_TRACKER_H
 #define HPROF_TRACKER_H
 
--- a/src/share/demo/jvmti/hprof/hprof_util.c	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_util.c	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* General utility functions. */
 
 /*
--- a/src/share/demo/jvmti/hprof/hprof_util.h	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_util.h	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #ifndef HPROF_UTIL_H
 #define HPROF_UTIL_H
 
--- a/src/share/demo/jvmti/java_crw_demo/java_crw_demo.c	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/java_crw_demo/java_crw_demo.c	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* Class reader writer (java_crw_demo) for instrumenting bytecodes */
 
 /*
--- a/src/share/demo/jvmti/java_crw_demo/java_crw_demo.h	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/java_crw_demo/java_crw_demo.h	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #ifndef JAVA_CRW_DEMO_H
 #define JAVA_CRW_DEMO_H
 
--- a/src/share/demo/jvmti/minst/Minst.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/minst/Minst.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 /* Java class to hold static methods which will be called in byte code
  *    injections of all class files.
--- a/src/share/demo/jvmti/minst/minst.c	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/minst/minst.c	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #include "stdlib.h"
 
 #include "minst.h"
--- a/src/share/demo/jvmti/minst/minst.h	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/minst/minst.h	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* Primary minst #include file, should be included by most if not
  *    all minst source files. Gives access to the global data structure
  *    and all global macros.
--- a/src/share/demo/jvmti/mtrace/Mtrace.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/mtrace/Mtrace.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 /* Java class to hold static methods which will be called in byte code
  *    injections of all class files.
--- a/src/share/demo/jvmti/mtrace/mtrace.c	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/mtrace/mtrace.c	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #include "stdlib.h"
 
 #include "mtrace.h"
--- a/src/share/demo/jvmti/mtrace/mtrace.h	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/mtrace/mtrace.h	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* Primary mtrace #include file, should be included by most if not
  *    all mtrace source files. Gives access to the global data structure
  *    and all global macros.
--- a/src/share/demo/jvmti/versionCheck/versionCheck.c	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/versionCheck/versionCheck.c	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
--- a/src/share/demo/jvmti/waiters/Agent.cpp	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/waiters/Agent.cpp	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
--- a/src/share/demo/jvmti/waiters/Agent.hpp	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/waiters/Agent.hpp	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* C++ Agent class */
 
 class Agent {
--- a/src/share/demo/jvmti/waiters/Monitor.cpp	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/waiters/Monitor.cpp	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
--- a/src/share/demo/jvmti/waiters/Monitor.hpp	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/waiters/Monitor.hpp	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* C++ Monitor class */
 
 class Monitor {
--- a/src/share/demo/jvmti/waiters/Thread.cpp	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/waiters/Thread.cpp	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
--- a/src/share/demo/jvmti/waiters/Thread.hpp	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/waiters/Thread.hpp	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* C++ Thread class */
 
 class Thread {
--- a/src/share/demo/jvmti/waiters/waiters.cpp	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/jvmti/waiters/waiters.cpp	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /* Example of using JVMTI events:
  *      JVMTI_EVENT_VM_INIT
  *      JVMTI_EVENT_VM_DEATH
--- a/src/share/demo/management/FullThreadDump/Deadlock.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/management/FullThreadDump/Deadlock.java	Sat Sep 10 21:30:20 2011 -0700
@@ -30,6 +30,15 @@
  */
 
 /*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+/*
  */
 
 import java.util.concurrent.CyclicBarrier;
--- a/src/share/demo/management/FullThreadDump/FullThreadDump.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/management/FullThreadDump/FullThreadDump.java	Sat Sep 10 21:30:20 2011 -0700
@@ -30,6 +30,15 @@
  */
 
 /*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+/*
  */
 
 import javax.management.*;
--- a/src/share/demo/management/FullThreadDump/ThreadMonitor.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/management/FullThreadDump/ThreadMonitor.java	Sat Sep 10 21:30:20 2011 -0700
@@ -30,6 +30,15 @@
  */
 
 /*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+/*
  */
 
 import static java.lang.management.ManagementFactory.*;
--- a/src/share/demo/management/JTop/JTop.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/management/JTop/JTop.java	Sat Sep 10 21:30:20 2011 -0700
@@ -30,6 +30,15 @@
  */
 
 /*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+/*
  *
  * Example of using the java.lang.management API to sort threads
  * by CPU usage.
--- a/src/share/demo/management/JTop/JTopPlugin.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/management/JTop/JTopPlugin.java	Sat Sep 10 21:30:20 2011 -0700
@@ -30,6 +30,15 @@
  */
 
 /*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+/*
  *
  * Example of a JConsole Plugin.  This loads JTop as a JConsole tab.
  *
--- a/src/share/demo/management/MemoryMonitor/MemoryMonitor.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/management/MemoryMonitor/MemoryMonitor.java	Sat Sep 10 21:30:20 2011 -0700
@@ -30,6 +30,15 @@
  */
 
 /*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+/*
  */
 
 import java.awt.*;
--- a/src/share/demo/management/VerboseGC/PrintGCStat.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/management/VerboseGC/PrintGCStat.java	Sat Sep 10 21:30:20 2011 -0700
@@ -30,6 +30,15 @@
  */
 
 /*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+/*
  */
 
 import static java.lang.management.ManagementFactory.*;
--- a/src/share/demo/management/VerboseGC/VerboseGC.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/management/VerboseGC/VerboseGC.java	Sat Sep 10 21:30:20 2011 -0700
@@ -30,6 +30,15 @@
  */
 
 /*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+/*
  */
 
 import javax.management.*;
--- a/src/share/demo/nio/zipfs/Demo.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/nio/zipfs/Demo.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.io.*;
 import java.nio.*;
 import java.nio.channels.*;
--- a/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/JarFileSystemProvider.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/JarFileSystemProvider.java	Sat Sep 10 21:30:20 2011 -0700
@@ -28,6 +28,15 @@
  * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
+
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
 package com.sun.nio.zipfs;
 
 import java.nio.file.*;
--- a/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipCoder.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipCoder.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.nio.zipfs;
 
 import java.nio.ByteBuffer;
--- a/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipConstants.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipConstants.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.nio.zipfs;
 
 
--- a/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipDirectoryStream.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipDirectoryStream.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.nio.zipfs;
 
 import java.nio.file.DirectoryStream;
--- a/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipFileAttributeView.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipFileAttributeView.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 package com.sun.nio.zipfs;
 
--- a/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipFileAttributes.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipFileAttributes.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 
 package com.sun.nio.zipfs;
 
--- a/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipFileStore.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipFileStore.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.nio.zipfs;
 
 import java.io.IOException;
--- a/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipFileSystem.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipFileSystem.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.nio.zipfs;
 
 import java.io.BufferedOutputStream;
--- a/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipFileSystemProvider.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipFileSystemProvider.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.nio.zipfs;
 
 import java.io.*;
--- a/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipInfo.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipInfo.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.nio.zipfs;
 
 import java.nio.file.Paths;
--- a/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipPath.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipPath.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.nio.zipfs;
 
 import java.io.*;
--- a/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipUtils.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipUtils.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.nio.zipfs;
 
 import java.io.IOException;
--- a/src/share/demo/scripting/jconsole-plugin/src/com/sun/demo/scripting/jconsole/EditableAtEndDocument.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/scripting/jconsole-plugin/src/com/sun/demo/scripting/jconsole/EditableAtEndDocument.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.demo.scripting.jconsole;
 
 import javax.swing.text.*;
--- a/src/share/demo/scripting/jconsole-plugin/src/com/sun/demo/scripting/jconsole/ScriptJConsolePlugin.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/scripting/jconsole-plugin/src/com/sun/demo/scripting/jconsole/ScriptJConsolePlugin.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.demo.scripting.jconsole;
 
 import com.sun.tools.jconsole.*;
--- a/src/share/demo/scripting/jconsole-plugin/src/com/sun/demo/scripting/jconsole/ScriptShellPanel.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/scripting/jconsole-plugin/src/com/sun/demo/scripting/jconsole/ScriptShellPanel.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.demo.scripting.jconsole;
 
 import java.awt.*;
--- a/src/share/demo/scripting/jconsole-plugin/src/resources/jconsole.js	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/scripting/jconsole-plugin/src/resources/jconsole.js	Sat Sep 10 21:30:20 2011 -0700
@@ -30,6 +30,15 @@
  */
 
 /*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+/*
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
--- a/src/share/demo/scripting/jconsole-plugin/src/scripts/heapdump.js	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/scripting/jconsole-plugin/src/scripts/heapdump.js	Sat Sep 10 21:30:20 2011 -0700
@@ -30,6 +30,15 @@
  */
 
 /*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+/*
  * This file defines heapdump function to heap dump
  * in binary format. User can call this function
  * based on events. For example, a timer thread can
--- a/src/share/demo/scripting/jconsole-plugin/src/scripts/hello.js	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/scripting/jconsole-plugin/src/scripts/hello.js	Sat Sep 10 21:30:20 2011 -0700
@@ -30,6 +30,15 @@
  */
 
 /*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+/*
  * This is sample JavaScript file that can be loaded into script console.
  * This file prints "hello, world".
  */
--- a/src/share/demo/scripting/jconsole-plugin/src/scripts/invoke.js	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/scripting/jconsole-plugin/src/scripts/invoke.js	Sat Sep 10 21:30:20 2011 -0700
@@ -30,6 +30,15 @@
  */
 
 /*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+/*
  * This script demonstrates "invokeMBean" function. Instead 
  * of using MXBean proxy or script wrapper object returned by
  * 'mbean' function, this file uses direct invoke on MBean.
--- a/src/share/demo/scripting/jconsole-plugin/src/scripts/jstack.js	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/scripting/jconsole-plugin/src/scripts/jstack.js	Sat Sep 10 21:30:20 2011 -0700
@@ -30,6 +30,15 @@
  */
 
 /*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+/*
  * This file defines 'jstack' function to print stack traces of
  * threads.'jstack' function which can be called once or periodically 
  * from a timer thread (calling it periodically would slow down the target
--- a/src/share/demo/scripting/jconsole-plugin/src/scripts/jtop.js	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/scripting/jconsole-plugin/src/scripts/jtop.js	Sat Sep 10 21:30:20 2011 -0700
@@ -30,6 +30,15 @@
  */
 
 /*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+/*
  * This code is "ported" from JTop demo. This file defines
  * 'jtop' function. jtop prints threads sorting by CPU time. 
  * jtop can be called once or periodically from a timer thread. 
--- a/src/share/demo/scripting/jconsole-plugin/src/scripts/sysprops.js	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/scripting/jconsole-plugin/src/scripts/sysprops.js	Sat Sep 10 21:30:20 2011 -0700
@@ -30,6 +30,15 @@
  */
 
 /*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+/*
  * This file defines 'sysprops' function to print Java System
  * properties.'sysprops' function which can be called once or periodically 
  * from a timer thread (calling it periodically would slow down the target
--- a/src/share/demo/scripting/jconsole-plugin/src/scripts/verbose.js	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/demo/scripting/jconsole-plugin/src/scripts/verbose.js	Sat Sep 10 21:30:20 2011 -0700
@@ -30,6 +30,15 @@
  */
 
 /*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+/*
  * This script demonstrates "getMBeanAttribute"
  * and "setMBeanAttribute" functions. Instead of using
  * MXBean proxy or script wrapper object returned by
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/share/sample/README	Sat Sep 10 21:30:20 2011 -0700
@@ -0,0 +1,6 @@
+The source code provided with samples and demos for the JDK is meant
+to illustrate the usage of a given feature or technique and has been
+deliberately simplified. Additional steps required for a
+production-quality application, such as security checks, input
+validation, and proper error handling, might not be present in the
+sample code.
--- a/src/share/sample/forkjoin/mergesort/MergeDemo.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/forkjoin/mergesort/MergeDemo.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.util.Arrays;
 import java.util.Random;
 
--- a/src/share/sample/forkjoin/mergesort/MergeSort.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/forkjoin/mergesort/MergeSort.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.util.Arrays;
 import java.util.concurrent.ForkJoinPool;
 import java.util.concurrent.ForkJoinTask;
--- a/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/DirectoryScanner.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/DirectoryScanner.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.jmx.examples.scandir;
 
 import static com.sun.jmx.examples.scandir.ScanManager.getNextSeqNumber;
--- a/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/DirectoryScannerMXBean.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/DirectoryScannerMXBean.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.jmx.examples.scandir;
 
 import com.sun.jmx.examples.scandir.ScanManagerMXBean.ScanState;
--- a/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/ResultLogManager.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/ResultLogManager.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.jmx.examples.scandir;
 
 import static com.sun.jmx.examples.scandir.ScanManager.getNextSeqNumber;
--- a/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/ResultLogManagerMXBean.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/ResultLogManagerMXBean.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.jmx.examples.scandir;
 
 import com.sun.jmx.examples.scandir.config.ResultRecord;
--- a/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/ScanDirAgent.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/ScanDirAgent.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.jmx.examples.scandir;
 
 import com.sun.jmx.examples.scandir.ScanManagerMXBean.ScanState;
--- a/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/ScanDirClient.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/ScanDirClient.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.jmx.examples.scandir;
 
 import java.net.InetAddress;
--- a/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/ScanDirConfig.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/ScanDirConfig.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.jmx.examples.scandir;
 
 import static com.sun.jmx.examples.scandir.ScanManager.getNextSeqNumber;
--- a/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/ScanDirConfigMXBean.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/ScanDirConfigMXBean.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.jmx.examples.scandir;
 
 import com.sun.jmx.examples.scandir.config.DirectoryScannerConfig;
--- a/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/ScanManager.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/ScanManager.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.jmx.examples.scandir;
 
 import static com.sun.jmx.examples.scandir.ScanManagerMXBean.ScanState.*;
--- a/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/ScanManagerMXBean.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/ScanManagerMXBean.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.jmx.examples.scandir;
 
 import java.io.IOException;
--- a/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/config/DirectoryScannerConfig.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/config/DirectoryScannerConfig.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.jmx.examples.scandir.config;
 
 import java.io.File;
--- a/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/config/FileMatch.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/config/FileMatch.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.jmx.examples.scandir.config;
 
 import java.io.File;
--- a/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/config/ResultLogConfig.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/config/ResultLogConfig.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.jmx.examples.scandir.config;
 
 import java.util.Arrays;
--- a/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/config/ResultRecord.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/config/ResultRecord.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.jmx.examples.scandir.config;
 
 import java.util.Date;
--- a/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/config/ScanManagerConfig.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/config/ScanManagerConfig.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.jmx.examples.scandir.config;
 
 import java.util.Arrays;
--- a/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/config/XmlConfigUtils.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/config/XmlConfigUtils.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.jmx.examples.scandir.config;
 
 import java.io.ByteArrayInputStream;
--- a/src/share/sample/jmx/jmx-scandir/test/com/sun/jmx/examples/scandir/DirectoryScannerTest.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/jmx/jmx-scandir/test/com/sun/jmx/examples/scandir/DirectoryScannerTest.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.jmx.examples.scandir;
 
 import com.sun.jmx.examples.scandir.config.DirectoryScannerConfig;
--- a/src/share/sample/jmx/jmx-scandir/test/com/sun/jmx/examples/scandir/ScanDirConfigTest.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/jmx/jmx-scandir/test/com/sun/jmx/examples/scandir/ScanDirConfigTest.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.jmx.examples.scandir;
 
 import com.sun.jmx.examples.scandir.config.XmlConfigUtils;
--- a/src/share/sample/jmx/jmx-scandir/test/com/sun/jmx/examples/scandir/ScanManagerTest.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/jmx/jmx-scandir/test/com/sun/jmx/examples/scandir/ScanManagerTest.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.jmx.examples.scandir;
 
 import java.util.concurrent.LinkedBlockingQueue;
--- a/src/share/sample/jmx/jmx-scandir/test/com/sun/jmx/examples/scandir/TestUtils.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/jmx/jmx-scandir/test/com/sun/jmx/examples/scandir/TestUtils.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.jmx.examples.scandir;
 
 import java.lang.reflect.InvocationHandler;
--- a/src/share/sample/jmx/jmx-scandir/test/com/sun/jmx/examples/scandir/config/XmlConfigUtilsTest.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/jmx/jmx-scandir/test/com/sun/jmx/examples/scandir/config/XmlConfigUtilsTest.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.jmx.examples.scandir.config;
 
 import junit.framework.*;
--- a/src/share/sample/nio/chatserver/ChatServer.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/chatserver/ChatServer.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.io.IOException;
 import java.net.InetSocketAddress;
 import java.net.SocketAddress;
--- a/src/share/sample/nio/chatserver/Client.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/chatserver/Client.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.io.IOException;
 import java.nio.ByteBuffer;
 import java.nio.channels.AsynchronousSocketChannel;
--- a/src/share/sample/nio/chatserver/ClientReader.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/chatserver/ClientReader.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.nio.ByteBuffer;
 import java.nio.channels.CompletionHandler;
 
--- a/src/share/sample/nio/chatserver/DataReader.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/chatserver/DataReader.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.nio.ByteBuffer;
 
 public interface DataReader {
--- a/src/share/sample/nio/chatserver/MessageReader.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/chatserver/MessageReader.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.nio.ByteBuffer;
 
 /**
--- a/src/share/sample/nio/chatserver/NameReader.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/chatserver/NameReader.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.nio.ByteBuffer;
 
 /**
--- a/src/share/sample/nio/file/AclEdit.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/file/AclEdit.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.nio.file.*;
 import java.nio.file.attribute.*;
 import java.io.IOException;
--- a/src/share/sample/nio/file/Chmod.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/file/Chmod.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.nio.file.*;
 import java.nio.file.attribute.*;
 import static java.nio.file.attribute.PosixFilePermission.*;
--- a/src/share/sample/nio/file/Copy.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/file/Copy.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.nio.file.*;
 import static java.nio.file.StandardCopyOption.*;
 import java.nio.file.attribute.*;
--- a/src/share/sample/nio/file/DiskUsage.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/file/DiskUsage.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.nio.file.*;
 import java.nio.file.attribute.*;
 import java.io.IOException;
--- a/src/share/sample/nio/file/FileType.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/file/FileType.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.nio.file.*;
 import java.io.IOException;
 
--- a/src/share/sample/nio/file/WatchDir.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/file/WatchDir.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.nio.file.*;
 import static java.nio.file.StandardWatchEventKinds.*;
 import static java.nio.file.LinkOption.*;
--- a/src/share/sample/nio/file/Xdd.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/file/Xdd.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.nio.ByteBuffer;
 import java.nio.charset.Charset;
 import java.nio.file.*;
--- a/src/share/sample/nio/multicast/MulticastAddress.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/multicast/MulticastAddress.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.net.InetAddress;
 import java.net.NetworkInterface;
 import java.net.UnknownHostException;
--- a/src/share/sample/nio/multicast/Reader.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/multicast/Reader.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.nio.channels.*;
 import java.nio.charset.*;
 import java.nio.ByteBuffer;
--- a/src/share/sample/nio/multicast/Sender.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/multicast/Sender.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.nio.channels.*;
 import java.nio.charset.Charset;
 import java.net.*;
--- a/src/share/sample/nio/server/AcceptHandler.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/server/AcceptHandler.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.io.*;
 import java.nio.channels.*;
 import javax.net.ssl.*;
--- a/src/share/sample/nio/server/Acceptor.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/server/Acceptor.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.io.*;
 import java.nio.channels.*;
 import javax.net.ssl.*;
--- a/src/share/sample/nio/server/B1.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/server/B1.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.nio.channels.*;
 
 /**
--- a/src/share/sample/nio/server/BN.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/server/BN.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.io.*;
 import java.nio.channels.*;
 
--- a/src/share/sample/nio/server/BP.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/server/BP.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.nio.channels.*;
 import java.util.concurrent.*;
 
--- a/src/share/sample/nio/server/ChannelIO.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/server/ChannelIO.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.io.*;
 import java.nio.*;
 import java.nio.channels.*;
--- a/src/share/sample/nio/server/ChannelIOSecure.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/server/ChannelIOSecure.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.io.*;
 import java.nio.*;
 import java.nio.channels.*;
--- a/src/share/sample/nio/server/Content.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/server/Content.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /**
  * An Sendable interface extension that adds additional
  * methods for additional information, such as Files
--- a/src/share/sample/nio/server/Dispatcher.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/server/Dispatcher.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.io.*;
 import java.nio.channels.*;
 
--- a/src/share/sample/nio/server/Dispatcher1.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/server/Dispatcher1.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.io.*;
 import java.nio.channels.*;
 import java.util.*;
--- a/src/share/sample/nio/server/DispatcherN.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/server/DispatcherN.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.io.*;
 import java.nio.channels.*;
 import java.util.*;
--- a/src/share/sample/nio/server/FileContent.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/server/FileContent.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.io.*;
 import java.net.*;
 import java.nio.channels.*;
--- a/src/share/sample/nio/server/Handler.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/server/Handler.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.io.*;
 import java.nio.channels.*;
 
--- a/src/share/sample/nio/server/MalformedRequestException.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/server/MalformedRequestException.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /**
  * Exception class used when a request can't be properly parsed.
  *
--- a/src/share/sample/nio/server/N1.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/server/N1.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.nio.channels.*;
 
 /**
--- a/src/share/sample/nio/server/N2.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/server/N2.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 /**
  * A non-blocking/dual-threaded which performs accept()s in one thread,
  * and services requests in a second.  Both threads use select().
--- a/src/share/sample/nio/server/Reply.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/server/Reply.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.io.*;
 import java.nio.*;
 import java.nio.charset.*;
--- a/src/share/sample/nio/server/Request.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/server/Request.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.net.*;
 import java.nio.*;
 import java.nio.charset.*;
--- a/src/share/sample/nio/server/RequestHandler.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/server/RequestHandler.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.io.*;
 import java.nio.*;
 import java.nio.channels.*;
--- a/src/share/sample/nio/server/RequestServicer.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/server/RequestServicer.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.io.*;
 import java.nio.*;
 
--- a/src/share/sample/nio/server/Sendable.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/server/Sendable.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.io.*;
 
 /**
--- a/src/share/sample/nio/server/Server.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/server/Server.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.io.*;
 import java.net.*;
 import java.nio.channels.*;
--- a/src/share/sample/nio/server/StringContent.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/server/StringContent.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.io.*;
 import java.nio.*;
 import java.nio.charset.*;
--- a/src/share/sample/nio/server/URLDumper.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/nio/server/URLDumper.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 import java.io.*;
 import java.net.*;
 
--- a/src/share/sample/scripting/scriptpad/src/com/sun/sample/scriptpad/Main.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/scripting/scriptpad/src/com/sun/sample/scriptpad/Main.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 package com.sun.sample.scriptpad;
 
 import javax.script.*;
--- a/src/share/sample/scripting/scriptpad/src/resources/Main.js	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/scripting/scriptpad/src/resources/Main.js	Sat Sep 10 21:30:20 2011 -0700
@@ -30,6 +30,15 @@
  */
 
 /*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+/*
  * This script can be loaded in jrunscript to start scriptpad.
  *
  *    jrunscript -f Main.js -f -
--- a/src/share/sample/scripting/scriptpad/src/resources/conc.js	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/scripting/scriptpad/src/resources/conc.js	Sat Sep 10 21:30:20 2011 -0700
@@ -30,6 +30,15 @@
  */
 
 /*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+/*
  * Concurrency utilities for JavaScript. These are based on
  * java.lang and java.util.concurrent API. The following functions 
  * provide a simpler API for scripts. Instead of directly using java.lang
--- a/src/share/sample/scripting/scriptpad/src/resources/gui.js	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/scripting/scriptpad/src/resources/gui.js	Sat Sep 10 21:30:20 2011 -0700
@@ -30,6 +30,15 @@
  */
 
 /*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+/*
  * Few user interface utilities. 
  */
 
--- a/src/share/sample/scripting/scriptpad/src/resources/mm.js	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/scripting/scriptpad/src/resources/mm.js	Sat Sep 10 21:30:20 2011 -0700
@@ -30,6 +30,15 @@
  */
 
 /*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+/*
  * This is a collection of utilities for Monitoring
  * and management API. 
  *
--- a/src/share/sample/scripting/scriptpad/src/resources/scriptpad.js	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/scripting/scriptpad/src/resources/scriptpad.js	Sat Sep 10 21:30:20 2011 -0700
@@ -30,6 +30,15 @@
  */
 
 /*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+/*
  * This script creates a simple Notepad-like interface, which 
  * serves as a simple script editor, runner.
  *
--- a/src/share/sample/scripting/scriptpad/src/scripts/browse.js	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/scripting/scriptpad/src/scripts/browse.js	Sat Sep 10 21:30:20 2011 -0700
@@ -30,6 +30,15 @@
  */
 
 /*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+/*
  * This function uses new Swing Desktop API in JDK 6.
  * To use this with scriptpad, open this in scriptpad
  * and use "Tools->Run Script" menu.
--- a/src/share/sample/scripting/scriptpad/src/scripts/insertfile.js	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/scripting/scriptpad/src/scripts/insertfile.js	Sat Sep 10 21:30:20 2011 -0700
@@ -30,6 +30,15 @@
  */
 
 /*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+/*
  * This script adds "Insert File" mode menu item to "Tools" menu.
  * When selected, this menu shows a file dialog box and inserts
  * contents of the selected file into current document (at the
--- a/src/share/sample/scripting/scriptpad/src/scripts/linewrap.js	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/scripting/scriptpad/src/scripts/linewrap.js	Sat Sep 10 21:30:20 2011 -0700
@@ -30,6 +30,15 @@
  */
 
 /*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+/*
  * This script adds "Line Wrap" mode menu item to "Tools" menu.
  * When selected, this menu toggles the current word wrap mode
  * of the editor.
--- a/src/share/sample/scripting/scriptpad/src/scripts/mail.js	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/scripting/scriptpad/src/scripts/mail.js	Sat Sep 10 21:30:20 2011 -0700
@@ -30,6 +30,15 @@
  */
 
 /*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+/*
  * This function uses new Swing Desktop API in JDK 6.
  * To use this with scriptpad, open this in scriptpad
  * and use "Tools->Run Script" menu.
--- a/src/share/sample/scripting/scriptpad/src/scripts/memmonitor.js	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/scripting/scriptpad/src/scripts/memmonitor.js	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 // this checker function runs asynchronously
 function memoryChecker(memoryBean, threshold, interval) {
     while (true) {
--- a/src/share/sample/scripting/scriptpad/src/scripts/memory.js	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/scripting/scriptpad/src/scripts/memory.js	Sat Sep 10 21:30:20 2011 -0700
@@ -30,6 +30,15 @@
  */
 
 /*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+/*
  * This script serves as a simple "monitored application".
  * Start this script using memory.bat or memory.sh in the
  * current directory.
--- a/src/share/sample/scripting/scriptpad/src/scripts/textcolor.js	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/scripting/scriptpad/src/scripts/textcolor.js	Sat Sep 10 21:30:20 2011 -0700
@@ -30,6 +30,15 @@
  */
 
 /*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+/*
  * This script adds "Selected Text Color" menu item to "Tools" menu.
  * When selected, this menu changes the "selected text" color.
  */
--- a/src/share/sample/vm/clr-jvm/invoked.java	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/vm/clr-jvm/invoked.java	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
 public class invoked {
     public static void main(String args[]) {
 
--- a/src/share/sample/vm/clr-jvm/jinvoker.cpp	Sat Sep 10 14:55:14 2011 +0100
+++ b/src/share/sample/vm/clr-jvm/jinvoker.cpp	Sat Sep 10 21:30:20 2011 -0700
@@ -29,6 +29,15 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+