diff --git a/.hgtags b/.hgtags index bf22521e961d7ccbfb811a4080f96f6ed8f41739..75feff6b3b4f9ab31bcdeb41a79ad7577327926b 100644 --- a/.hgtags +++ b/.hgtags @@ -122,3 +122,7 @@ efbf75c24b0f31847c9c403f6dc07dc80551908d jdk7-b143 1e04b38b3824a4a1d197ef681a302e6813e53f8b jdk7-b145 539e576793a8e64aaf160e0d6ab0b9723cd0bef0 jdk7-b146 f097ca2434b1412b12ab4a5c2397ce271bf681e7 jdk7-b147 +2cdbbc4a63592be7f1556fffe37b1253a77bd481 jdk8-b01 +13e70aa1398eb959c54bc68b783ca0eef1286ad2 jdk8-b02 +7989ee9fe673a87f4db3917fa6a005732a6a9b85 jdk8-b03 +fc569517f3cf242f90ce3503b743eb5553938946 jdk8-b04 diff --git a/make/common/Defs.gmk b/make/common/Defs.gmk index 1e12d4119427be5928109efb269add282f2fe233..e46aedeffe1431033f9a656f11cd91412fe8ef54 100644 --- a/make/common/Defs.gmk +++ b/make/common/Defs.gmk @@ -300,6 +300,9 @@ JRE_IMAGE_DIR = $(ABS_OUTPUTDIR)/j2re-image #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 diff --git a/make/java/util/FILES_properties.gmk b/make/java/util/FILES_properties.gmk index 4f9f7cd9148e195af12d5a8e62897b7f4c679fc9..5aa6cbfaef5fc33ba28a63594250b324b35327fe 100644 --- a/make/java/util/FILES_properties.gmk +++ b/make/java/util/FILES_properties.gmk @@ -151,6 +151,7 @@ FILES_compiled_properties = \ 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 \ diff --git a/make/mkdemo/Makefile b/make/mkdemo/Makefile index c134316218eb3bfc73e4a91993d56317ee4b27e5..6bf93e5366c560edfa5e5a6c8c8bd480c75decb8 100644 --- a/make/mkdemo/Makefile +++ b/make/mkdemo/Makefile @@ -39,9 +39,14 @@ SUBDIRS_tools = jpda jvmti 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 @@ ifndef OPENJDK ( $(CD) $(DEMODIR) && $(TAR) -xf - ) endif +$(DEMODIR)/%: $(DEMOSRCDIR)/% + $(install-file) + clean clobber:: $(SUBDIRS-loop) $(RM) -r $(DEMODIR) $(RM) -r $(DEMOCLASSDIR) - diff --git a/make/mksample/Makefile b/make/mksample/Makefile index bdc770b4f7a67b3b7a9e46f94a89ba50c4cb3a8a..aa4e31d69e0038e4ce0af25cea76535f37e24a58 100644 --- a/make/mksample/Makefile +++ b/make/mksample/Makefile @@ -49,8 +49,16 @@ endif 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) diff --git a/make/tools/src/build/tools/generatecurrencydata/GenerateCurrencyData.java b/make/tools/src/build/tools/generatecurrencydata/GenerateCurrencyData.java index 3c6aebf172e1fcb60d9fe65870a83b3b0e59a67e..05335172ad0041800277c55ec4b3d2d270289a34 100644 --- a/make/tools/src/build/tools/generatecurrencydata/GenerateCurrencyData.java +++ b/make/tools/src/build/tools/generatecurrencydata/GenerateCurrencyData.java @@ -120,7 +120,7 @@ public class GenerateCurrencyData { 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]; diff --git a/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth.properties b/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth.properties index d22268978054a398f161179c009340f328459d63..67e2890fc0512c4f074d6d142ce6f885069d3d52 100644 --- a/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth.properties +++ b/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth.properties @@ -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 diff --git a/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_de.properties b/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_de.properties index 990f34464c2368fdc78c3898630ece450d52534d..8da54b891acbec25a3e597c7438edd808fe28162 100644 --- a/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_de.properties +++ b/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_de.properties @@ -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 diff --git a/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_es.properties b/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_es.properties index 03d2166037165083bdf284ef4beef0e69c925e53..14229e87f0425b0ca71322a23743570b144effb4 100644 --- a/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_es.properties +++ b/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_es.properties @@ -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 diff --git a/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_fr.properties b/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_fr.properties index 273351d689d02195e26767edfdc61c2066ac4bfa..7660e7dc4b6e58005c8322341c9148a1691cfec5 100644 --- a/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_fr.properties +++ b/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_fr.properties @@ -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 diff --git a/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_it.properties b/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_it.properties index da2e2c7bac8316b8ac614122b6d72c69cb0828cd..8a1535e8502acc57b814316f0e587514596f1699 100644 --- a/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_it.properties +++ b/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_it.properties @@ -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 diff --git a/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_ja.properties b/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_ja.properties index 382fcf8b9e6ea6bf0f045b3e4801a5adbfee68fe..d49e038a8904815e3eb8687720e828af0abebb98 100644 --- a/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_ja.properties +++ b/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_ja.properties @@ -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 diff --git a/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_ko.properties b/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_ko.properties index adc9b1d599031ec79e585b20933db5e93c125908..ff3b38291398e94cf9c62d63117cf24219a12231 100644 --- a/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_ko.properties +++ b/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_ko.properties @@ -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 diff --git a/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_pt_BR.properties b/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_pt_BR.properties index b14a61f5b5d642f962b294a8f2fd741dfbd3eca1..bb94bb19a80275d48b93323cd6b3616c25a27421 100644 --- a/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_pt_BR.properties +++ b/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_pt_BR.properties @@ -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 diff --git a/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_sv.properties b/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_sv.properties index 9167b72f17b741b3dfed3b972223162426f10126..1d23ec84539cdf048fd63f1a359ded8a7fb3910f 100644 --- a/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_sv.properties +++ b/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_sv.properties @@ -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 diff --git a/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_zh_CN.properties b/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_zh_CN.properties index 547fd155f8ce2b8a794b38259a22afa8a00b4f4e..5269dcc7c1765f5816107742288703bdd3635424 100644 --- a/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_zh_CN.properties +++ b/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_zh_CN.properties @@ -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 diff --git a/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_zh_TW.properties b/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_zh_TW.properties index 1144f6173ddff6f694129a965270a233e59d2559..b76aa0b5edab314dc5d601c8ea9a998a95253020 100644 --- a/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_zh_TW.properties +++ b/src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_zh_TW.properties @@ -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 diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/AccessWatchpointSpec.java b/src/share/classes/com/sun/tools/example/debug/bdi/AccessWatchpointSpec.java index 09e3f7e681423f0d7fbcff6dc3bf49d7523d91a0..8cfe90ff5840b77366f22cffd93d91a91b03a102 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/AccessWatchpointSpec.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/AccessWatchpointSpec.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/AmbiguousMethodException.java b/src/share/classes/com/sun/tools/example/debug/bdi/AmbiguousMethodException.java index 667cbb225934a1de1601e627b57c7bd2ff0d2ee5..139d688303a5a5abc48917c87f0cd1aa47e2991d 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/AmbiguousMethodException.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/AmbiguousMethodException.java @@ -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 diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/BreakpointSpec.java b/src/share/classes/com/sun/tools/example/debug/bdi/BreakpointSpec.java index 541582ef89ae4ef92a2e64a2ed504cedb3faf0ed..9e5da4001f6f21138b5ef2eeb380657ee19add8c 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/BreakpointSpec.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/BreakpointSpec.java @@ -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 { diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/ChildSession.java b/src/share/classes/com/sun/tools/example/debug/bdi/ChildSession.java index 917b0d8803a22cbe2adabf187c22b7306949fb05..74697098aa78a3bc79f4353a666e7658007f59a6 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/ChildSession.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/ChildSession.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/EvaluationException.java b/src/share/classes/com/sun/tools/example/debug/bdi/EvaluationException.java index 0e0a6b0b4849ad756483ce37d2dc0909329b1c8b..9163e5b457830d85060f68a81340bf517d8f0367 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/EvaluationException.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/EvaluationException.java @@ -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 { diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/EventRequestSpec.java b/src/share/classes/com/sun/tools/example/debug/bdi/EventRequestSpec.java index 796d5803b9cde8bc6ede854d155f9dd79c6c918b..5a9c1d7ce5119e58a1fddd319b9e674cdedffd3e 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/EventRequestSpec.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/EventRequestSpec.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/EventRequestSpecList.java b/src/share/classes/com/sun/tools/example/debug/bdi/EventRequestSpecList.java index a48982780da7aaa328bf4af8889c01cb36bb8ec0..ce5dccee7118e77691c800b2da1bbe3545215e39 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/EventRequestSpecList.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/EventRequestSpecList.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/ExceptionSpec.java b/src/share/classes/com/sun/tools/example/debug/bdi/ExceptionSpec.java index fa3fcb3de289730362abd888487e96a717d2e9fd..c26d8b8d48a195601cb53f2b54f3e94e627b7c28 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/ExceptionSpec.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/ExceptionSpec.java @@ -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; diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/ExecutionManager.java b/src/share/classes/com/sun/tools/example/debug/bdi/ExecutionManager.java index 35f2075daa921a825c97c11322103feffb56420c..4a79f4352b8515886a0376390dff8557acf65e68 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/ExecutionManager.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/ExecutionManager.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/FrameIndexOutOfBoundsException.java b/src/share/classes/com/sun/tools/example/debug/bdi/FrameIndexOutOfBoundsException.java index 5d70918cb3ba10184909152c91531457bacd75eb..4f1ebd2f7db6d28c99e21ef52a80cb945388e731 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/FrameIndexOutOfBoundsException.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/FrameIndexOutOfBoundsException.java @@ -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 { diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/InputListener.java b/src/share/classes/com/sun/tools/example/debug/bdi/InputListener.java index a06d39bc61671290dea9b8d8c6f59bd8b7f1e420..d32d1da31441c9122dea512030265824961e02a9 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/InputListener.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/InputListener.java @@ -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 { diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/JDIEventSource.java b/src/share/classes/com/sun/tools/example/debug/bdi/JDIEventSource.java index dedc2477e0c8a7cb99c4a2af25dffa29e4ed9fe6..bd34832e355a01c1f3f7a32d891455f32853af30 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/JDIEventSource.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/JDIEventSource.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/LineBreakpointSpec.java b/src/share/classes/com/sun/tools/example/debug/bdi/LineBreakpointSpec.java index 0a1e0b1cb3d28269adae410e9620c48117bcd8ea..838fe550d51124e1b4de54a490d4d58960761a82 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/LineBreakpointSpec.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/LineBreakpointSpec.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/LineNotFoundException.java b/src/share/classes/com/sun/tools/example/debug/bdi/LineNotFoundException.java index 6d906a8b65ca61db9367a234b30bf2a06a353e30..97f023ad1d183da771db7df74dbad656ce58a637 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/LineNotFoundException.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/LineNotFoundException.java @@ -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 diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/MalformedMemberNameException.java b/src/share/classes/com/sun/tools/example/debug/bdi/MalformedMemberNameException.java index c73e685f50365780af22857c539eff8fbe08086b..1dea517a425fb4154cad06c07b2964136b156407 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/MalformedMemberNameException.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/MalformedMemberNameException.java @@ -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 { diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/MethodBreakpointSpec.java b/src/share/classes/com/sun/tools/example/debug/bdi/MethodBreakpointSpec.java index 7a9748af102b17a2f7bfd10f1ad43b3c36801ba1..387f92fbae0d8b60aed58a5e5918bcaa9e072460 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/MethodBreakpointSpec.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/MethodBreakpointSpec.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/MethodNotFoundException.java b/src/share/classes/com/sun/tools/example/debug/bdi/MethodNotFoundException.java index 9fd3aa9efc74ee343fafb05fc499352068df8e7e..75331cc551b2450d316af4346f81fdf708e4f5d7 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/MethodNotFoundException.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/MethodNotFoundException.java @@ -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 diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/ModificationWatchpointSpec.java b/src/share/classes/com/sun/tools/example/debug/bdi/ModificationWatchpointSpec.java index 7043d666ec870d4b4aeb845a2479b2cd1bcf9006..7d30378e35a1cad2600d9f8989af0ceefba8e003 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/ModificationWatchpointSpec.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/ModificationWatchpointSpec.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/NoSessionException.java b/src/share/classes/com/sun/tools/example/debug/bdi/NoSessionException.java index 32988ab140b47af28f098cd7276caf8c8c7973c1..df1c82d39410352979f3833cdf3bd9fbccca1144 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/NoSessionException.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/NoSessionException.java @@ -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 { diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/NoThreadException.java b/src/share/classes/com/sun/tools/example/debug/bdi/NoThreadException.java index 460b1a4ba4cdae98d49f9b74e1b562e06d011353..48ed6badab85bd8f26b49126e30f2fb7a15817a3 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/NoThreadException.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/NoThreadException.java @@ -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 { diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/OutputListener.java b/src/share/classes/com/sun/tools/example/debug/bdi/OutputListener.java index 777926b6df0f0666b15a7e340b50f9cc9a28f384..2f5db08e20b218534fe6e4f7ccfc135212992696 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/OutputListener.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/OutputListener.java @@ -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 { diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/ParseException.java b/src/share/classes/com/sun/tools/example/debug/bdi/ParseException.java index c730c6ce1a5392705ce4e544ff0cf0067597b901..413e7aa224b9438af076cdc004de438c3efe7eaf 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/ParseException.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/ParseException.java @@ -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. diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/PatternReferenceTypeSpec.java b/src/share/classes/com/sun/tools/example/debug/bdi/PatternReferenceTypeSpec.java index 4f6d73e8e711ce1fde482416b771bf1c1a29a1c8..382b6da88a2cd2796b2e668a30e6b3fa64b9539a 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/PatternReferenceTypeSpec.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/PatternReferenceTypeSpec.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/ReferenceTypeSpec.java b/src/share/classes/com/sun/tools/example/debug/bdi/ReferenceTypeSpec.java index fc478060aaac540cde95c8b5d5c067230264ea45..199df818937fdf364f833735937891b18364b307 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/ReferenceTypeSpec.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/ReferenceTypeSpec.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/Session.java b/src/share/classes/com/sun/tools/example/debug/bdi/Session.java index 4599cb1ba10fbc1252b25d5a34b46d7112b416be..d2cd7ced18bf02139c3252fd10d8672c8c502033 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/Session.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/Session.java @@ -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; diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/SessionListener.java b/src/share/classes/com/sun/tools/example/debug/bdi/SessionListener.java index df109a5a18a00cdd0505d4cdbfe847a60282453c..1b22055aeacb012461001d8ee14792767087580b 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/SessionListener.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/SessionListener.java @@ -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; diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/SourceNameReferenceTypeSpec.java b/src/share/classes/com/sun/tools/example/debug/bdi/SourceNameReferenceTypeSpec.java index c788f5d0c53765371a94de62d71090b2e84a219f..ff954d293cc29e4d538a61fd098e918bd406bf29 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/SourceNameReferenceTypeSpec.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/SourceNameReferenceTypeSpec.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/SpecErrorEvent.java b/src/share/classes/com/sun/tools/example/debug/bdi/SpecErrorEvent.java index c6b9f4e78d3c4137b1be8e70b22110709c2c6de4..2ba571eddfbd34ca26a3e65bcd831b3057dfdeb6 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/SpecErrorEvent.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/SpecErrorEvent.java @@ -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 { diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/SpecEvent.java b/src/share/classes/com/sun/tools/example/debug/bdi/SpecEvent.java index 625a263fcefa1c0e6aaba2a7b58ac3bbb218cd3c..8492f4de23ee9d8b3ed36a67e000051a4b305516 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/SpecEvent.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/SpecEvent.java @@ -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; diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/SpecListener.java b/src/share/classes/com/sun/tools/example/debug/bdi/SpecListener.java index 9771e9f6418ed4050cdb88a02b5d3ac854e3e538..a5d6bc4bb7642afd0772d709ad2a0e4d4c2c555d 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/SpecListener.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/SpecListener.java @@ -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; diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/ThreadGroupIterator.java b/src/share/classes/com/sun/tools/example/debug/bdi/ThreadGroupIterator.java index c6ec121d8088be54c801d1bfbec1f8d694323f7e..736bf2e6339e58ac55d55790380b6734997faebd 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/ThreadGroupIterator.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/ThreadGroupIterator.java @@ -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; diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/ThreadInfo.java b/src/share/classes/com/sun/tools/example/debug/bdi/ThreadInfo.java index b9516c4313f3a52f699bbd628f961fe0cbbf5ece..9f36408c6437eda808ffe39ad788488e3573c4d9 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/ThreadInfo.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/ThreadInfo.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/ThreadIterator.java b/src/share/classes/com/sun/tools/example/debug/bdi/ThreadIterator.java index 6fafd71cd80212bd815e2b2ae4708cfc0dd8ccb1..ac61bbdd0cca4c04552282145a7df2b1effa5b63 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/ThreadIterator.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/ThreadIterator.java @@ -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; diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/Utils.java b/src/share/classes/com/sun/tools/example/debug/bdi/Utils.java index d3e0173dc9bdcd71322098dc87f1e2fad20cbbd3..3ccaad651404d50f2131969c1971d75648489334 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/Utils.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/Utils.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/VMLaunchFailureException.java b/src/share/classes/com/sun/tools/example/debug/bdi/VMLaunchFailureException.java index d0c482c50e0385ee7c220431521eb02a773e5cdf..4996184cae0f018e19697134fa1a58adf2f87e64 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/VMLaunchFailureException.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/VMLaunchFailureException.java @@ -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 { diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/VMNotInterruptedException.java b/src/share/classes/com/sun/tools/example/debug/bdi/VMNotInterruptedException.java index ef12d6d2446bc0f07f420c8ca8559f6ef2aeaf6c..f14a5f487d8a6e0d9806477ab54e4bc2715499db 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/VMNotInterruptedException.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/VMNotInterruptedException.java @@ -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 { diff --git a/src/share/classes/com/sun/tools/example/debug/bdi/WatchpointSpec.java b/src/share/classes/com/sun/tools/example/debug/bdi/WatchpointSpec.java index 469b4230a9a9e4268f6d7080fabf9f14cfcc2a4a..7b771738428f66373bc9a9a9ffe7c2f5e2221b5b 100644 --- a/src/share/classes/com/sun/tools/example/debug/bdi/WatchpointSpec.java +++ b/src/share/classes/com/sun/tools/example/debug/bdi/WatchpointSpec.java @@ -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 { diff --git a/src/share/classes/com/sun/tools/example/debug/event/AbstractEventSet.java b/src/share/classes/com/sun/tools/example/debug/event/AbstractEventSet.java index 80cbd9a0da83794a2587e527e00c91dbff3d8d2d..c239f0f9e3ca67cc382829af3a9da6f96cf81b1f 100644 --- a/src/share/classes/com/sun/tools/example/debug/event/AbstractEventSet.java +++ b/src/share/classes/com/sun/tools/example/debug/event/AbstractEventSet.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/event/AccessWatchpointEventSet.java b/src/share/classes/com/sun/tools/example/debug/event/AccessWatchpointEventSet.java index 37b73e5c4a279bda4675120644b7a46079408f50..e8b0f086d920dc7d88a17a1b06a8906d1fd5a95a 100644 --- a/src/share/classes/com/sun/tools/example/debug/event/AccessWatchpointEventSet.java +++ b/src/share/classes/com/sun/tools/example/debug/event/AccessWatchpointEventSet.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/event/ClassPrepareEventSet.java b/src/share/classes/com/sun/tools/example/debug/event/ClassPrepareEventSet.java index 69050d3f53a367560d5a01b6b9b4ec65048af4c1..09e83407fa1ff369689f0ed36e02d9677af18c74 100644 --- a/src/share/classes/com/sun/tools/example/debug/event/ClassPrepareEventSet.java +++ b/src/share/classes/com/sun/tools/example/debug/event/ClassPrepareEventSet.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/event/ClassUnloadEventSet.java b/src/share/classes/com/sun/tools/example/debug/event/ClassUnloadEventSet.java index c043b23b29ad34fbb45e8766b788406388fd45d2..b9e70d6f51f6aaca45487776a96af06b35484dca 100644 --- a/src/share/classes/com/sun/tools/example/debug/event/ClassUnloadEventSet.java +++ b/src/share/classes/com/sun/tools/example/debug/event/ClassUnloadEventSet.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/event/ExceptionEventSet.java b/src/share/classes/com/sun/tools/example/debug/event/ExceptionEventSet.java index c94fa284ae61319615f58368b4da915a262b1db8..7c48539116e83ab943ded41b0b9005f68932090f 100644 --- a/src/share/classes/com/sun/tools/example/debug/event/ExceptionEventSet.java +++ b/src/share/classes/com/sun/tools/example/debug/event/ExceptionEventSet.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/event/JDIAdapter.java b/src/share/classes/com/sun/tools/example/debug/event/JDIAdapter.java index fb3e7a859aa836376da6adcc5b1b303c1029d9e4..706e206850f87b01fd83d228630bfeb82d1329fb 100644 --- a/src/share/classes/com/sun/tools/example/debug/event/JDIAdapter.java +++ b/src/share/classes/com/sun/tools/example/debug/event/JDIAdapter.java @@ -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; /** diff --git a/src/share/classes/com/sun/tools/example/debug/event/JDIListener.java b/src/share/classes/com/sun/tools/example/debug/event/JDIListener.java index 16eef9644cfc2b15a6ca5fb35decbf0b5fccd2b6..a0637e3975037c4a0c8a70d0d99d0c53f397ebcf 100644 --- a/src/share/classes/com/sun/tools/example/debug/event/JDIListener.java +++ b/src/share/classes/com/sun/tools/example/debug/event/JDIListener.java @@ -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; diff --git a/src/share/classes/com/sun/tools/example/debug/event/LocatableEventSet.java b/src/share/classes/com/sun/tools/example/debug/event/LocatableEventSet.java index 303af121e4e65c5cfd6e53bd7189cf3e81e31e49..6cafff9113b6567b0043d406c903a901a5cb06c4 100644 --- a/src/share/classes/com/sun/tools/example/debug/event/LocatableEventSet.java +++ b/src/share/classes/com/sun/tools/example/debug/event/LocatableEventSet.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/event/LocationTriggerEventSet.java b/src/share/classes/com/sun/tools/example/debug/event/LocationTriggerEventSet.java index b30bea52bef7a1427c6c85ccf7f9920d2af950d4..ab52678f12dda06794deff958fbf864a04d57644 100644 --- a/src/share/classes/com/sun/tools/example/debug/event/LocationTriggerEventSet.java +++ b/src/share/classes/com/sun/tools/example/debug/event/LocationTriggerEventSet.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/event/ModificationWatchpointEventSet.java b/src/share/classes/com/sun/tools/example/debug/event/ModificationWatchpointEventSet.java index 382a8f31b7cd791c8915c123ad6c0fe1d9f68cef..591bcd5dbfbbe6bb40191d47c7c6bfa428371bff 100644 --- a/src/share/classes/com/sun/tools/example/debug/event/ModificationWatchpointEventSet.java +++ b/src/share/classes/com/sun/tools/example/debug/event/ModificationWatchpointEventSet.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/event/ThreadDeathEventSet.java b/src/share/classes/com/sun/tools/example/debug/event/ThreadDeathEventSet.java index ad432f77842652f5062ddf3c680ee924d4626b67..dd17a05bc60f76b83cb8f3ebe4f3288089bd4b13 100644 --- a/src/share/classes/com/sun/tools/example/debug/event/ThreadDeathEventSet.java +++ b/src/share/classes/com/sun/tools/example/debug/event/ThreadDeathEventSet.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/event/ThreadStartEventSet.java b/src/share/classes/com/sun/tools/example/debug/event/ThreadStartEventSet.java index 63b1fb42603b221fe214c9a243f93c4b575ee6a6..c96e298f3aa44d9554b047c8ae4a5d2c44ba06b1 100644 --- a/src/share/classes/com/sun/tools/example/debug/event/ThreadStartEventSet.java +++ b/src/share/classes/com/sun/tools/example/debug/event/ThreadStartEventSet.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/event/VMDeathEventSet.java b/src/share/classes/com/sun/tools/example/debug/event/VMDeathEventSet.java index 017f11ff5aedaeab9c5fc06625dfc5069a80fbcf..ee054110a7cacc27b214eefb60b9da0f257a8f10 100644 --- a/src/share/classes/com/sun/tools/example/debug/event/VMDeathEventSet.java +++ b/src/share/classes/com/sun/tools/example/debug/event/VMDeathEventSet.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/event/VMDisconnectEventSet.java b/src/share/classes/com/sun/tools/example/debug/event/VMDisconnectEventSet.java index 4edf4b872c9e54a3fa6c7d0559b19d96049386a3..0ac988c6cabbf18fe3d3c8f06f60aeac179b20a6 100644 --- a/src/share/classes/com/sun/tools/example/debug/event/VMDisconnectEventSet.java +++ b/src/share/classes/com/sun/tools/example/debug/event/VMDisconnectEventSet.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/event/VMStartEventSet.java b/src/share/classes/com/sun/tools/example/debug/event/VMStartEventSet.java index 896fa78c36921976c92694eec79b23aefd3a703c..0de4700551451c2fd28e66bd2f5afbe1b942ea5f 100644 --- a/src/share/classes/com/sun/tools/example/debug/event/VMStartEventSet.java +++ b/src/share/classes/com/sun/tools/example/debug/event/VMStartEventSet.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/event/WatchpointEventSet.java b/src/share/classes/com/sun/tools/example/debug/event/WatchpointEventSet.java index 628f21cb92db65d0052536f97102c7c6f73643d3..e662b1008e195aa8ea4d560a3872e9fdeed4c7cb 100644 --- a/src/share/classes/com/sun/tools/example/debug/event/WatchpointEventSet.java +++ b/src/share/classes/com/sun/tools/example/debug/event/WatchpointEventSet.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/expr/ASCII_UCodeESC_CharStream.java b/src/share/classes/com/sun/tools/example/debug/expr/ASCII_UCodeESC_CharStream.java index 1ec552e3172b4ecedbe6f279ec7f4453c66de590..69f2433e196eae8a1283c3a0d3f7ae7e10199fba 100644 --- a/src/share/classes/com/sun/tools/example/debug/expr/ASCII_UCodeESC_CharStream.java +++ b/src/share/classes/com/sun/tools/example/debug/expr/ASCII_UCodeESC_CharStream.java @@ -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; diff --git a/src/share/classes/com/sun/tools/example/debug/expr/ExpressionParser.java b/src/share/classes/com/sun/tools/example/debug/expr/ExpressionParser.java index c2c79010c6bc0385bd1774f41ce6ea7f9138b974..063c29d221550121f218052f13f3f8065985c826 100644 --- a/src/share/classes/com/sun/tools/example/debug/expr/ExpressionParser.java +++ b/src/share/classes/com/sun/tools/example/debug/expr/ExpressionParser.java @@ -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; diff --git a/src/share/classes/com/sun/tools/example/debug/expr/ExpressionParserConstants.java b/src/share/classes/com/sun/tools/example/debug/expr/ExpressionParserConstants.java index 9f1f725ac1aaf3cbc3b1d696b24153471ed862cc..390d238102fbe89d95750b2392f64221a7059957 100644 --- a/src/share/classes/com/sun/tools/example/debug/expr/ExpressionParserConstants.java +++ b/src/share/classes/com/sun/tools/example/debug/expr/ExpressionParserConstants.java @@ -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; diff --git a/src/share/classes/com/sun/tools/example/debug/expr/ExpressionParserTokenManager.java b/src/share/classes/com/sun/tools/example/debug/expr/ExpressionParserTokenManager.java index 9787d5de554dad69ed24ecd67d18373520ed7a90..67209972ea615fce83a315a423a10b9fe77c9100 100644 --- a/src/share/classes/com/sun/tools/example/debug/expr/ExpressionParserTokenManager.java +++ b/src/share/classes/com/sun/tools/example/debug/expr/ExpressionParserTokenManager.java @@ -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; diff --git a/src/share/classes/com/sun/tools/example/debug/expr/LValue.java b/src/share/classes/com/sun/tools/example/debug/expr/LValue.java index 42ef2963e0b2e8cbe371504a1da3a71806a65721..57e2950c63323cb4ff80a45d7a6a115eb4af723c 100644 --- a/src/share/classes/com/sun/tools/example/debug/expr/LValue.java +++ b/src/share/classes/com/sun/tools/example/debug/expr/LValue.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/expr/ParseException.java b/src/share/classes/com/sun/tools/example/debug/expr/ParseException.java index 8ee53728f028a1baf60b576250d53d1ce26988c0..1f5c30b2699e5b9b5871bc0bf0fd71a2c12511d5 100644 --- a/src/share/classes/com/sun/tools/example/debug/expr/ParseException.java +++ b/src/share/classes/com/sun/tools/example/debug/expr/ParseException.java @@ -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; diff --git a/src/share/classes/com/sun/tools/example/debug/expr/Token.java b/src/share/classes/com/sun/tools/example/debug/expr/Token.java index 534120014f30ff10097003cc56c1c94bda78fff7..1b6a63ddcf165606fc150e7f41939e4037842041 100644 --- a/src/share/classes/com/sun/tools/example/debug/expr/Token.java +++ b/src/share/classes/com/sun/tools/example/debug/expr/Token.java @@ -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; diff --git a/src/share/classes/com/sun/tools/example/debug/expr/TokenMgrError.java b/src/share/classes/com/sun/tools/example/debug/expr/TokenMgrError.java index 16a40df286e38c035a0c9b63ef3c5b357c3b0f17..fc84002f1b0230ae01bdb6324bf000103c4c42d7 100644 --- a/src/share/classes/com/sun/tools/example/debug/expr/TokenMgrError.java +++ b/src/share/classes/com/sun/tools/example/debug/expr/TokenMgrError.java @@ -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; diff --git a/src/share/classes/com/sun/tools/example/debug/gui/ApplicationTool.java b/src/share/classes/com/sun/tools/example/debug/gui/ApplicationTool.java index e9a4c0b7808ecf57063c00667dee7f6b898d0714..4157f9819ecc1510fa5c02183e7032164403fbc0 100644 --- a/src/share/classes/com/sun/tools/example/debug/gui/ApplicationTool.java +++ b/src/share/classes/com/sun/tools/example/debug/gui/ApplicationTool.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/gui/ClassManager.java b/src/share/classes/com/sun/tools/example/debug/gui/ClassManager.java index bdddc24c65129a62dc8844f30fff3d3aef4ac091..f5561d11e9db88e01ff69a4ac739d714117a80fe 100644 --- a/src/share/classes/com/sun/tools/example/debug/gui/ClassManager.java +++ b/src/share/classes/com/sun/tools/example/debug/gui/ClassManager.java @@ -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 { diff --git a/src/share/classes/com/sun/tools/example/debug/gui/ClassTreeTool.java b/src/share/classes/com/sun/tools/example/debug/gui/ClassTreeTool.java index 945243458bf5ec831de25aa1577334fb215c7093..bc4a766d0ef1af1006d3817bc0e00d2abd748d3f 100644 --- a/src/share/classes/com/sun/tools/example/debug/gui/ClassTreeTool.java +++ b/src/share/classes/com/sun/tools/example/debug/gui/ClassTreeTool.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/gui/CommandInterpreter.java b/src/share/classes/com/sun/tools/example/debug/gui/CommandInterpreter.java index 97ab320bf8be18a516447928778e63e8f8c35371..af1b9eb040c064c105a6492c9bfbed92169b1b52 100644 --- a/src/share/classes/com/sun/tools/example/debug/gui/CommandInterpreter.java +++ b/src/share/classes/com/sun/tools/example/debug/gui/CommandInterpreter.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/gui/CommandTool.java b/src/share/classes/com/sun/tools/example/debug/gui/CommandTool.java index 42157e4423edca9f0b7f69c078e5b6ba8377983a..1e0f78bde552fc6c03f821ad9164df9c66be245e 100644 --- a/src/share/classes/com/sun/tools/example/debug/gui/CommandTool.java +++ b/src/share/classes/com/sun/tools/example/debug/gui/CommandTool.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/gui/ContextListener.java b/src/share/classes/com/sun/tools/example/debug/gui/ContextListener.java index 4ac03a0b1694bb3186a0a760858572397a70c6fe..b4b63f0b45d19a3f38e7f5317c41321a7ee52aef 100644 --- a/src/share/classes/com/sun/tools/example/debug/gui/ContextListener.java +++ b/src/share/classes/com/sun/tools/example/debug/gui/ContextListener.java @@ -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 { diff --git a/src/share/classes/com/sun/tools/example/debug/gui/ContextManager.java b/src/share/classes/com/sun/tools/example/debug/gui/ContextManager.java index 2ce04907ab2979807377738279ae093f66521ff8..01f96d453443a0a634163dda34819245660aedcc 100644 --- a/src/share/classes/com/sun/tools/example/debug/gui/ContextManager.java +++ b/src/share/classes/com/sun/tools/example/debug/gui/ContextManager.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/gui/CurrentFrameChangedEvent.java b/src/share/classes/com/sun/tools/example/debug/gui/CurrentFrameChangedEvent.java index 00c827fd3c9f0f1b5a24604c9bef10e447ce5dfa..90f296718780014b2701111a350888402b9881c9 100644 --- a/src/share/classes/com/sun/tools/example/debug/gui/CurrentFrameChangedEvent.java +++ b/src/share/classes/com/sun/tools/example/debug/gui/CurrentFrameChangedEvent.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/gui/Environment.java b/src/share/classes/com/sun/tools/example/debug/gui/Environment.java index f9884c7d53d284d9439d3fbe392bbd457b770e42..6dc57a93496cfa05fe69548f9332208ce772a563 100644 --- a/src/share/classes/com/sun/tools/example/debug/gui/Environment.java +++ b/src/share/classes/com/sun/tools/example/debug/gui/Environment.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/gui/GUI.java b/src/share/classes/com/sun/tools/example/debug/gui/GUI.java index 1fa88bb28a907019180afdf7d3ae54cb84c64aa2..b9ae173b36804b2ed8a925ae8209e9fbbbcbd69a 100644 --- a/src/share/classes/com/sun/tools/example/debug/gui/GUI.java +++ b/src/share/classes/com/sun/tools/example/debug/gui/GUI.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/gui/Icons.java b/src/share/classes/com/sun/tools/example/debug/gui/Icons.java index bdbb700918b22dc33c8f6078ffff70d0f37903b6..87173d22b91996f56142ea061e686d7a1c1fafe1 100644 --- a/src/share/classes/com/sun/tools/example/debug/gui/Icons.java +++ b/src/share/classes/com/sun/tools/example/debug/gui/Icons.java @@ -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; diff --git a/src/share/classes/com/sun/tools/example/debug/gui/JDBFileFilter.java b/src/share/classes/com/sun/tools/example/debug/gui/JDBFileFilter.java index 3a6f107bbbc667639f2946295a3fd5c7a5641411..6d6bf77820286702e3bcc6a8aff3a5a3d75be050 100644 --- a/src/share/classes/com/sun/tools/example/debug/gui/JDBFileFilter.java +++ b/src/share/classes/com/sun/tools/example/debug/gui/JDBFileFilter.java @@ -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; diff --git a/src/share/classes/com/sun/tools/example/debug/gui/JDBMenuBar.java b/src/share/classes/com/sun/tools/example/debug/gui/JDBMenuBar.java index c224b57c4f8a842cce6688d857de97fa4c51667a..22329cf944e0717b069eefc04c380ecd6774aefb 100644 --- a/src/share/classes/com/sun/tools/example/debug/gui/JDBMenuBar.java +++ b/src/share/classes/com/sun/tools/example/debug/gui/JDBMenuBar.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/gui/JDBToolBar.java b/src/share/classes/com/sun/tools/example/debug/gui/JDBToolBar.java index 02982b9f70bec9122cd102a405242b48f8b50662..8031fab34cbefa04d53db377c25651f5f8f450e5 100644 --- a/src/share/classes/com/sun/tools/example/debug/gui/JDBToolBar.java +++ b/src/share/classes/com/sun/tools/example/debug/gui/JDBToolBar.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/gui/LaunchTool.java b/src/share/classes/com/sun/tools/example/debug/gui/LaunchTool.java index cb1d77b22feeb65d6d51db0a2a55518f73acaf67..febce6623248b12eb91fe7950c82dc19389035b6 100644 --- a/src/share/classes/com/sun/tools/example/debug/gui/LaunchTool.java +++ b/src/share/classes/com/sun/tools/example/debug/gui/LaunchTool.java @@ -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; diff --git a/src/share/classes/com/sun/tools/example/debug/gui/MonitorListModel.java b/src/share/classes/com/sun/tools/example/debug/gui/MonitorListModel.java index c46219f4720cc81c4cf75f1a42bf329330e74c9c..920320644839371be4116060e879d6ddde485839 100644 --- a/src/share/classes/com/sun/tools/example/debug/gui/MonitorListModel.java +++ b/src/share/classes/com/sun/tools/example/debug/gui/MonitorListModel.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/gui/MonitorTool.java b/src/share/classes/com/sun/tools/example/debug/gui/MonitorTool.java index cf7c10c51c2d7acf96ddba61ef31d9435939e7ee..ebdca5417ed3f2da8cfe475dad5375a52a279de3 100644 --- a/src/share/classes/com/sun/tools/example/debug/gui/MonitorTool.java +++ b/src/share/classes/com/sun/tools/example/debug/gui/MonitorTool.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/gui/OutputSink.java b/src/share/classes/com/sun/tools/example/debug/gui/OutputSink.java index 413878f692b2ef8d5a363bc5cf1c26e0f73ce21a..321e162e1fbae63e5931bde0dbf103be42138464 100644 --- a/src/share/classes/com/sun/tools/example/debug/gui/OutputSink.java +++ b/src/share/classes/com/sun/tools/example/debug/gui/OutputSink.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/gui/SearchPath.java b/src/share/classes/com/sun/tools/example/debug/gui/SearchPath.java index 30905696660817f7ecbfb5d515c1d8911e5bdb97..9e6da5899a54f8232324c294f0b766fdb6ee552c 100644 --- a/src/share/classes/com/sun/tools/example/debug/gui/SearchPath.java +++ b/src/share/classes/com/sun/tools/example/debug/gui/SearchPath.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/gui/SingleLeafTreeSelectionModel.java b/src/share/classes/com/sun/tools/example/debug/gui/SingleLeafTreeSelectionModel.java index 47df28d1168c893d23e26ad9c26ddbb8e55be909..0de002a600f773b20e89c74a67fbc6a4a106be6a 100644 --- a/src/share/classes/com/sun/tools/example/debug/gui/SingleLeafTreeSelectionModel.java +++ b/src/share/classes/com/sun/tools/example/debug/gui/SingleLeafTreeSelectionModel.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/gui/SourceListener.java b/src/share/classes/com/sun/tools/example/debug/gui/SourceListener.java index 94c1dbcaa16d1f7788b967aabeaf166756bb035a..d98251a6ba14d285c1c2d989e02038e5ae82ee6f 100644 --- a/src/share/classes/com/sun/tools/example/debug/gui/SourceListener.java +++ b/src/share/classes/com/sun/tools/example/debug/gui/SourceListener.java @@ -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 { diff --git a/src/share/classes/com/sun/tools/example/debug/gui/SourceManager.java b/src/share/classes/com/sun/tools/example/debug/gui/SourceManager.java index eda83460e83424ebbdc1af45ab91955f17724e5e..7465bfb8cb0d33579df216b9e276cd2768935a98 100644 --- a/src/share/classes/com/sun/tools/example/debug/gui/SourceManager.java +++ b/src/share/classes/com/sun/tools/example/debug/gui/SourceManager.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/gui/SourceModel.java b/src/share/classes/com/sun/tools/example/debug/gui/SourceModel.java index b65be0b5a2ddbec68a56331bac767ba62bbfcb6e..95102185a75a167b5c671d002b090e51887f8eef 100644 --- a/src/share/classes/com/sun/tools/example/debug/gui/SourceModel.java +++ b/src/share/classes/com/sun/tools/example/debug/gui/SourceModel.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/gui/SourceTool.java b/src/share/classes/com/sun/tools/example/debug/gui/SourceTool.java index cecbeaf2479dd006728603cf732cb78b6496c4d6..a358c71efe883a2a5862a0fb9d8b1c01be4a9b0f 100644 --- a/src/share/classes/com/sun/tools/example/debug/gui/SourceTool.java +++ b/src/share/classes/com/sun/tools/example/debug/gui/SourceTool.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/gui/SourceTreeTool.java b/src/share/classes/com/sun/tools/example/debug/gui/SourceTreeTool.java index 5f572c70896055c20ac161c755db2986333ff51f..e21b027efbc9a969ad1f4b6cf5d7b0572e0a017e 100644 --- a/src/share/classes/com/sun/tools/example/debug/gui/SourceTreeTool.java +++ b/src/share/classes/com/sun/tools/example/debug/gui/SourceTreeTool.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/gui/SourcepathChangedEvent.java b/src/share/classes/com/sun/tools/example/debug/gui/SourcepathChangedEvent.java index 975571b0dad95dc0db81736eea885055408e43cb..88a26f9bdd1fa39e7b39b6abf3e5b04732078c21 100644 --- a/src/share/classes/com/sun/tools/example/debug/gui/SourcepathChangedEvent.java +++ b/src/share/classes/com/sun/tools/example/debug/gui/SourcepathChangedEvent.java @@ -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; diff --git a/src/share/classes/com/sun/tools/example/debug/gui/StackTraceTool.java b/src/share/classes/com/sun/tools/example/debug/gui/StackTraceTool.java index 1e3b68eabc684870c02954c01a1d1578e80efb49..405c7ec556e05fbe99cb96fb5c074930be1c1af1 100644 --- a/src/share/classes/com/sun/tools/example/debug/gui/StackTraceTool.java +++ b/src/share/classes/com/sun/tools/example/debug/gui/StackTraceTool.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/gui/ThreadTreeTool.java b/src/share/classes/com/sun/tools/example/debug/gui/ThreadTreeTool.java index 02cf374f0276ebbd1f882d99efe59e52afc311fc..05e183656c036254e59eb21acfe16b080c8c40a4 100644 --- a/src/share/classes/com/sun/tools/example/debug/gui/ThreadTreeTool.java +++ b/src/share/classes/com/sun/tools/example/debug/gui/ThreadTreeTool.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/gui/TypeScript.java b/src/share/classes/com/sun/tools/example/debug/gui/TypeScript.java index c99a4cd9e27c93ecb112b5c756a8b1b6046777b6..254e9fa976104b5701e7be46ed0bf3eeb45fde70 100644 --- a/src/share/classes/com/sun/tools/example/debug/gui/TypeScript.java +++ b/src/share/classes/com/sun/tools/example/debug/gui/TypeScript.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/gui/TypeScriptOutputListener.java b/src/share/classes/com/sun/tools/example/debug/gui/TypeScriptOutputListener.java index bb3cda6921db52508d4436b3c2544033472ea56c..e284e77ca0932dcdb54f124f7741d7db7b52e21c 100644 --- a/src/share/classes/com/sun/tools/example/debug/gui/TypeScriptOutputListener.java +++ b/src/share/classes/com/sun/tools/example/debug/gui/TypeScriptOutputListener.java @@ -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; diff --git a/src/share/classes/com/sun/tools/example/debug/gui/TypeScriptWriter.java b/src/share/classes/com/sun/tools/example/debug/gui/TypeScriptWriter.java index 64b5ec2b4439fddcefa2a4e9068e411b08ea0b1d..462d4a53207fb8a4e730546993e3eee7fb705410 100644 --- a/src/share/classes/com/sun/tools/example/debug/gui/TypeScriptWriter.java +++ b/src/share/classes/com/sun/tools/example/debug/gui/TypeScriptWriter.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/tty/AccessWatchpointSpec.java b/src/share/classes/com/sun/tools/example/debug/tty/AccessWatchpointSpec.java index 1b83363d171a221b6f6a7e572cd5a893be115694..0f72fb437653a15d5902e35e869f0b3960c71dde 100644 --- a/src/share/classes/com/sun/tools/example/debug/tty/AccessWatchpointSpec.java +++ b/src/share/classes/com/sun/tools/example/debug/tty/AccessWatchpointSpec.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/tty/AmbiguousMethodException.java b/src/share/classes/com/sun/tools/example/debug/tty/AmbiguousMethodException.java index eb210dd4588ef61e867b6e16baa9d3ba59808c5c..35329bcc4a2c22bffe90c6927878dd9efb44d8c3 100644 --- a/src/share/classes/com/sun/tools/example/debug/tty/AmbiguousMethodException.java +++ b/src/share/classes/com/sun/tools/example/debug/tty/AmbiguousMethodException.java @@ -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 diff --git a/src/share/classes/com/sun/tools/example/debug/tty/BreakpointSpec.java b/src/share/classes/com/sun/tools/example/debug/tty/BreakpointSpec.java index ed6c2a10fc57d13c91ed2ad7b35e55c9540def7a..87a9a30e7d540664efe1924fa66472b9afd0f961 100644 --- a/src/share/classes/com/sun/tools/example/debug/tty/BreakpointSpec.java +++ b/src/share/classes/com/sun/tools/example/debug/tty/BreakpointSpec.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/tty/Commands.java b/src/share/classes/com/sun/tools/example/debug/tty/Commands.java index 14a88267fe6eda8a44451a5f27c6631e8594d440..d6fa909492888933595a9a3c78332c2c1fb8bbf6 100644 --- a/src/share/classes/com/sun/tools/example/debug/tty/Commands.java +++ b/src/share/classes/com/sun/tools/example/debug/tty/Commands.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/tty/Env.java b/src/share/classes/com/sun/tools/example/debug/tty/Env.java index e39732692ccd6c189d5de723853901aec1025ac3..060f8a3a00d0801904081db0c9b9bd523bec40c9 100644 --- a/src/share/classes/com/sun/tools/example/debug/tty/Env.java +++ b/src/share/classes/com/sun/tools/example/debug/tty/Env.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/tty/EventHandler.java b/src/share/classes/com/sun/tools/example/debug/tty/EventHandler.java index 31e5035fe8e3588b87d0cfca7957ae2a17397918..55bf2bf66844715029f012dd297f20f50aaf3d81 100644 --- a/src/share/classes/com/sun/tools/example/debug/tty/EventHandler.java +++ b/src/share/classes/com/sun/tools/example/debug/tty/EventHandler.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/tty/EventNotifier.java b/src/share/classes/com/sun/tools/example/debug/tty/EventNotifier.java index f03e97d50141068117c2378328bb041e3b6119d8..97dabf90c998246576028e0058603545aa3af3c1 100644 --- a/src/share/classes/com/sun/tools/example/debug/tty/EventNotifier.java +++ b/src/share/classes/com/sun/tools/example/debug/tty/EventNotifier.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/tty/EventRequestSpec.java b/src/share/classes/com/sun/tools/example/debug/tty/EventRequestSpec.java index 5c0177b45485717ad2446fd9058933b00292c2ac..ba668d2ec8e69f1e6e5f4abccde26edf2627eac1 100644 --- a/src/share/classes/com/sun/tools/example/debug/tty/EventRequestSpec.java +++ b/src/share/classes/com/sun/tools/example/debug/tty/EventRequestSpec.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/tty/EventRequestSpecList.java b/src/share/classes/com/sun/tools/example/debug/tty/EventRequestSpecList.java index 58dc664f0ed5c03a95be86cc503ae511b70122e2..8ad6528da1581ed6f614280eda70a9b28db0f7aa 100644 --- a/src/share/classes/com/sun/tools/example/debug/tty/EventRequestSpecList.java +++ b/src/share/classes/com/sun/tools/example/debug/tty/EventRequestSpecList.java @@ -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; diff --git a/src/share/classes/com/sun/tools/example/debug/tty/ExceptionSpec.java b/src/share/classes/com/sun/tools/example/debug/tty/ExceptionSpec.java index f1a3c27272478b5b75f914f004b0207ba1c49407..8c1e652b4bcffee1c5da9a03264646679d0b4ab7 100644 --- a/src/share/classes/com/sun/tools/example/debug/tty/ExceptionSpec.java +++ b/src/share/classes/com/sun/tools/example/debug/tty/ExceptionSpec.java @@ -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; diff --git a/src/share/classes/com/sun/tools/example/debug/tty/LineNotFoundException.java b/src/share/classes/com/sun/tools/example/debug/tty/LineNotFoundException.java index 442b798aaae224d57f31ba42dd1c59b18cd7339d..8e188aabb7fc71e5af461c1ca6e58f1073b187a8 100644 --- a/src/share/classes/com/sun/tools/example/debug/tty/LineNotFoundException.java +++ b/src/share/classes/com/sun/tools/example/debug/tty/LineNotFoundException.java @@ -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 diff --git a/src/share/classes/com/sun/tools/example/debug/tty/MalformedMemberNameException.java b/src/share/classes/com/sun/tools/example/debug/tty/MalformedMemberNameException.java index 3f2bf46c627b5f36174adeddebd868450b5f93a4..3e6492708d77a5bc3e625dd829190709591b3835 100644 --- a/src/share/classes/com/sun/tools/example/debug/tty/MalformedMemberNameException.java +++ b/src/share/classes/com/sun/tools/example/debug/tty/MalformedMemberNameException.java @@ -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 { diff --git a/src/share/classes/com/sun/tools/example/debug/tty/MessageOutput.java b/src/share/classes/com/sun/tools/example/debug/tty/MessageOutput.java index 54e3b3726bb96055bdfaa74205bb268930c53ae7..b86d89f2bdfd9bba3915453496d127feddf49b2b 100644 --- a/src/share/classes/com/sun/tools/example/debug/tty/MessageOutput.java +++ b/src/share/classes/com/sun/tools/example/debug/tty/MessageOutput.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/tty/ModificationWatchpointSpec.java b/src/share/classes/com/sun/tools/example/debug/tty/ModificationWatchpointSpec.java index ee3a63e969487c63e098a08743c742b57e9d06b5..846f74b21d8c98cb4db7e69dc396deaa95a4f792 100644 --- a/src/share/classes/com/sun/tools/example/debug/tty/ModificationWatchpointSpec.java +++ b/src/share/classes/com/sun/tools/example/debug/tty/ModificationWatchpointSpec.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/tty/PatternReferenceTypeSpec.java b/src/share/classes/com/sun/tools/example/debug/tty/PatternReferenceTypeSpec.java index cc4473cefd86958728fc0f14c57130e1f1b2ca25..e71922207aa86d725c790757a4eb9043a93d4c1d 100644 --- a/src/share/classes/com/sun/tools/example/debug/tty/PatternReferenceTypeSpec.java +++ b/src/share/classes/com/sun/tools/example/debug/tty/PatternReferenceTypeSpec.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/tty/ReferenceTypeSpec.java b/src/share/classes/com/sun/tools/example/debug/tty/ReferenceTypeSpec.java index 0e76be0cb4c5914ca9811c0eac649ff28fa01801..12f1fc6dcf7de6be2b7ac3b4dcc65c055111941d 100644 --- a/src/share/classes/com/sun/tools/example/debug/tty/ReferenceTypeSpec.java +++ b/src/share/classes/com/sun/tools/example/debug/tty/ReferenceTypeSpec.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/tty/SourceMapper.java b/src/share/classes/com/sun/tools/example/debug/tty/SourceMapper.java index 941f6c24722d447ddd97111b2184b0364f099d1e..e7f67f06a8109cdaf5b2a7bb62f51187a3b340d6 100644 --- a/src/share/classes/com/sun/tools/example/debug/tty/SourceMapper.java +++ b/src/share/classes/com/sun/tools/example/debug/tty/SourceMapper.java @@ -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; diff --git a/src/share/classes/com/sun/tools/example/debug/tty/TTY.java b/src/share/classes/com/sun/tools/example/debug/tty/TTY.java index 6514592d67d71f5317a2d957c7d4fab24a67a57f..f86f1774f4cc06e3a906454185166d2e02ccc3c3 100644 --- a/src/share/classes/com/sun/tools/example/debug/tty/TTY.java +++ b/src/share/classes/com/sun/tools/example/debug/tty/TTY.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/tty/TTYResources.java b/src/share/classes/com/sun/tools/example/debug/tty/TTYResources.java index f6ba9d74ca71596014a09f18a954b67d3ddc9982..2c844c2d9a6303559c0b896c085af1c3654c394b 100644 --- a/src/share/classes/com/sun/tools/example/debug/tty/TTYResources.java +++ b/src/share/classes/com/sun/tools/example/debug/tty/TTYResources.java @@ -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; /** diff --git a/src/share/classes/com/sun/tools/example/debug/tty/TTYResources_ja.java b/src/share/classes/com/sun/tools/example/debug/tty/TTYResources_ja.java index 2dcace1c486d05a050729560aa0513d903289785..1a82e3b7291cee0710926424fc9288d6699fa90f 100644 --- a/src/share/classes/com/sun/tools/example/debug/tty/TTYResources_ja.java +++ b/src/share/classes/com/sun/tools/example/debug/tty/TTYResources_ja.java @@ -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; /** diff --git a/src/share/classes/com/sun/tools/example/debug/tty/TTYResources_zh_CN.java b/src/share/classes/com/sun/tools/example/debug/tty/TTYResources_zh_CN.java index dc84bdf4f9cbec6693b3ba78d028a96946b46c02..1bad495b9c679e3b92f662891c44aa8bbf43a0f2 100644 --- a/src/share/classes/com/sun/tools/example/debug/tty/TTYResources_zh_CN.java +++ b/src/share/classes/com/sun/tools/example/debug/tty/TTYResources_zh_CN.java @@ -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; /** diff --git a/src/share/classes/com/sun/tools/example/debug/tty/ThreadGroupIterator.java b/src/share/classes/com/sun/tools/example/debug/tty/ThreadGroupIterator.java index dd3ad08106cf6d3b6cf8caf30072078c56ba32c7..c361a833c14d6cd902bb3222bf3e28c7b762e2c8 100644 --- a/src/share/classes/com/sun/tools/example/debug/tty/ThreadGroupIterator.java +++ b/src/share/classes/com/sun/tools/example/debug/tty/ThreadGroupIterator.java @@ -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; diff --git a/src/share/classes/com/sun/tools/example/debug/tty/ThreadInfo.java b/src/share/classes/com/sun/tools/example/debug/tty/ThreadInfo.java index 8ac294fbcaf6bc6928d2342b09d007d76f7244c3..b1654ac851301e9e8bd9e200b8100690001560ab 100644 --- a/src/share/classes/com/sun/tools/example/debug/tty/ThreadInfo.java +++ b/src/share/classes/com/sun/tools/example/debug/tty/ThreadInfo.java @@ -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; diff --git a/src/share/classes/com/sun/tools/example/debug/tty/ThreadIterator.java b/src/share/classes/com/sun/tools/example/debug/tty/ThreadIterator.java index 6acb2ea9d099e0aba3250356e677d7dd14a44228..31b996b744414403c9d99a7cb10ef714feae8f03 100644 --- a/src/share/classes/com/sun/tools/example/debug/tty/ThreadIterator.java +++ b/src/share/classes/com/sun/tools/example/debug/tty/ThreadIterator.java @@ -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; diff --git a/src/share/classes/com/sun/tools/example/debug/tty/VMConnection.java b/src/share/classes/com/sun/tools/example/debug/tty/VMConnection.java index 0b77f9824a2f3735820498d5102ba2b645f77505..73a075b172bf460773002353a2a71a5657a45879 100644 --- a/src/share/classes/com/sun/tools/example/debug/tty/VMConnection.java +++ b/src/share/classes/com/sun/tools/example/debug/tty/VMConnection.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/debug/tty/VMNotConnectedException.java b/src/share/classes/com/sun/tools/example/debug/tty/VMNotConnectedException.java index 780301ca60799c3e85318c5d47ded4c77c29c940..bde3c1220794ff9987e7b5fc4eda06463b277de1 100644 --- a/src/share/classes/com/sun/tools/example/debug/tty/VMNotConnectedException.java +++ b/src/share/classes/com/sun/tools/example/debug/tty/VMNotConnectedException.java @@ -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 { diff --git a/src/share/classes/com/sun/tools/example/debug/tty/WatchpointSpec.java b/src/share/classes/com/sun/tools/example/debug/tty/WatchpointSpec.java index 6c7da78f48500deadf73d28d6e3822963ee00969..c9b3c4e0963a9e57da68e69f893ce2eb2bd9d0df 100644 --- a/src/share/classes/com/sun/tools/example/debug/tty/WatchpointSpec.java +++ b/src/share/classes/com/sun/tools/example/debug/tty/WatchpointSpec.java @@ -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 { diff --git a/src/share/classes/com/sun/tools/example/trace/EventThread.java b/src/share/classes/com/sun/tools/example/trace/EventThread.java index 229a41689890ac67611a4511d0055709a8ede6c0..22a3fdc31a4f34317d67c11b4bfb6610df577a4e 100644 --- a/src/share/classes/com/sun/tools/example/trace/EventThread.java +++ b/src/share/classes/com/sun/tools/example/trace/EventThread.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/trace/StreamRedirectThread.java b/src/share/classes/com/sun/tools/example/trace/StreamRedirectThread.java index b6e6e59c9174b83cc8249f9ac7368b842af23e05..be5b028186c1d94f8b347b6b714bfe4a17c2ca7c 100644 --- a/src/share/classes/com/sun/tools/example/trace/StreamRedirectThread.java +++ b/src/share/classes/com/sun/tools/example/trace/StreamRedirectThread.java @@ -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.*; diff --git a/src/share/classes/com/sun/tools/example/trace/Trace.java b/src/share/classes/com/sun/tools/example/trace/Trace.java index 2e1b961dde6de1728eda3b83e680d274787b8dc6..04fc09615b8e55e39c31de0342e92c4a874e4cc9 100644 --- a/src/share/classes/com/sun/tools/example/trace/Trace.java +++ b/src/share/classes/com/sun/tools/example/trace/Trace.java @@ -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; diff --git a/src/share/classes/java/util/CurrencyData.properties b/src/share/classes/java/util/CurrencyData.properties index 20425d0931ba762c1c11f03d369458b1877a4583..5cfc1397e6ed09ab13ca337f32a8fac071b05906 100644 --- a/src/share/classes/java/util/CurrencyData.properties +++ b/src/share/classes/java/util/CurrencyData.properties @@ -29,7 +29,7 @@ formatVersion=1 # 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 @@ dataVersion=140 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 @@ all=ADP020-AED784-AFA004-AFN971-ALL008-AMD051-ANG532-AOA973-ARS032-ATS040-AUD036 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 @@ BZ=BZD BJ=XOF # BERMUDA BM=BMD +# Bonaire, Sint Eustatius and Saba +BQ=USD # BHUTAN BT=BTN # BOLIVIA @@ -186,6 +188,8 @@ CI=XOF HR=HRK # CUBA CU=CUP +# Cura\u00e7ao +CW=ANG # CYPRUS CY=EUR # CZECH REPUBLIC @@ -210,7 +214,7 @@ GQ=XAF # ERITREA ER=ERN # ESTONIA -EE=EEK +EE=EUR # ETHIOPIA ET=ETB # FALKLAND ISLANDS (MALVINAS) @@ -476,7 +480,7 @@ SL=SLL # SINGAPORE SG=SGD # SLOVAKIA -SK=SKK +SK=EUR # SLOVENIA SI=EUR # SOLOMON ISLANDS @@ -497,6 +501,8 @@ SD=SDG SR=SRD # SVALBARD AND JAN MAYEN SJ=NOK +# Sint Maarten (Dutch part) +SX=ANG # SWAZILAND SZ=SZL # SWEDEN @@ -528,7 +534,7 @@ TN=TND # 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 @@ YE=YER # 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 @@ minor3=\ 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 diff --git a/src/share/classes/java/util/LocaleISOData.java b/src/share/classes/java/util/LocaleISOData.java index 5fe3fb56eff6c7980f4c1036f53ba4f4dde2dbfd..6330c34048b696ebb74e03e07cfa19b91a705f7f 100644 --- a/src/share/classes/java/util/LocaleISOData.java +++ b/src/share/classes/java/util/LocaleISOData.java @@ -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 @@ class LocaleISOData { + "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 @@ class LocaleISOData { // + "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 @@ class LocaleISOData { + "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 diff --git a/src/share/classes/javax/swing/SwingUtilities.java b/src/share/classes/javax/swing/SwingUtilities.java index 06d59c68d7f5a2943837cf88bfaf922e632c71d4..1602eff01019e79c9f6c9720a46716698bb8648b 100644 --- a/src/share/classes/javax/swing/SwingUtilities.java +++ b/src/share/classes/javax/swing/SwingUtilities.java @@ -1274,8 +1274,7 @@ public class SwingUtilities implements SwingConstants *

* Additional documentation and examples for this method can be * found in - * How to Use Threads, - * in The Java Tutorial. + * Concurrency in Swing. *

* As of 1.3 this method is just a cover for java.awt.EventQueue.invokeLater(). *

@@ -1326,8 +1325,7 @@ public class SwingUtilities implements SwingConstants *

* Additional documentation and examples for this method can be * found in - * How to Use Threads, - * in The Java Tutorial. + * Concurrency in Swing. *

* As of 1.3 this method is just a cover for * java.awt.EventQueue.invokeAndWait(). diff --git a/src/share/classes/javax/swing/SwingWorker.java b/src/share/classes/javax/swing/SwingWorker.java index 8bad4c988a93567137047b29f701eea22843b012..294808188cd60740371f2586d3264da893f1bb43 100644 --- a/src/share/classes/javax/swing/SwingWorker.java +++ b/src/share/classes/javax/swing/SwingWorker.java @@ -50,8 +50,8 @@ import sun.swing.AccumulativeRunnable; * When writing a multi-threaded application using Swing, there are * two constraints to keep in mind: * (refer to - * - * How to Use Threads + * + * Concurrency in Swing * for more details): *