提交 a008710b 编写于 作者: N nloodin

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

Summary: Added comment block after copyright block stating that code is unfit for production.
Reviewed-by: ohair
上级 6c87c8cd
...@@ -300,6 +300,9 @@ JRE_IMAGE_DIR = $(ABS_OUTPUTDIR)/j2re-image ...@@ -300,6 +300,9 @@ JRE_IMAGE_DIR = $(ABS_OUTPUTDIR)/j2re-image
#where the demo source can be found #where the demo source can be found
DEMOSRCDIR = $(SHARE_SRC)/demo 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 # An attempt is made to generate unique enough directories for the
# generated files to not have name collisisons. Most build units # generated files to not have name collisisons. Most build units
# defines PRODUCT (except Release.gmk), but then they may or may # defines PRODUCT (except Release.gmk), but then they may or may
......
...@@ -39,9 +39,14 @@ SUBDIRS_tools = jpda jvmti ...@@ -39,9 +39,14 @@ SUBDIRS_tools = jpda jvmti
include $(BUILDDIR)/common/Subdirs.gmk include $(BUILDDIR)/common/Subdirs.gmk
TOPLEVEL_FILES = \
$(DEMODIR)/README
all build:: nbproject all build:: nbproject
$(SUBDIRS-loop) $(SUBDIRS-loop)
all build:: $(TOPLEVEL_FILES)
nbproject: nbproject:
$(RM) -r $(DEMODIR)/nbproject $(RM) -r $(DEMODIR)/nbproject
$(MKDIR) -p $(DEMODIR) $(MKDIR) -p $(DEMODIR)
...@@ -54,8 +59,10 @@ ifndef OPENJDK ...@@ -54,8 +59,10 @@ ifndef OPENJDK
( $(CD) $(DEMODIR) && $(TAR) -xf - ) ( $(CD) $(DEMODIR) && $(TAR) -xf - )
endif endif
$(DEMODIR)/%: $(DEMOSRCDIR)/%
$(install-file)
clean clobber:: clean clobber::
$(SUBDIRS-loop) $(SUBDIRS-loop)
$(RM) -r $(DEMODIR) $(RM) -r $(DEMODIR)
$(RM) -r $(DEMOCLASSDIR) $(RM) -r $(DEMOCLASSDIR)
...@@ -49,8 +49,16 @@ endif ...@@ -49,8 +49,16 @@ endif
include $(BUILDDIR)/common/Subdirs.gmk include $(BUILDDIR)/common/Subdirs.gmk
TOPLEVEL_FILES = \
$(SAMPLEDIR)/README
all build clean clobber:: all build clean clobber::
$(SUBDIRS-loop) $(SUBDIRS-loop)
all build:: $(TOPLEVEL_FILES)
$(SAMPLEDIR)/%: $(SAMPLESRCDIR)/%
$(install-file)
clobber clean :: clobber clean ::
$(RM) -r $(SAMPLEDIR) $(RM) -r $(SAMPLEDIR)
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
public class AmbiguousMethodException extends Exception public class AmbiguousMethodException extends Exception
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
public abstract class BreakpointSpec extends EventRequestSpec { public abstract class BreakpointSpec extends EventRequestSpec {
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
public class EvaluationException extends Exception { public class EvaluationException extends Exception {
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
import com.sun.jdi.ReferenceType; import com.sun.jdi.ReferenceType;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
public class FrameIndexOutOfBoundsException extends IndexOutOfBoundsException { public class FrameIndexOutOfBoundsException extends IndexOutOfBoundsException {
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
public interface InputListener { public interface InputListener {
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
public class LineNotFoundException extends Exception public class LineNotFoundException extends Exception
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
class MalformedMemberNameException extends Exception { class MalformedMemberNameException extends Exception {
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
public class MethodNotFoundException extends Exception public class MethodNotFoundException extends Exception
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
public class NoSessionException extends Exception { public class NoSessionException extends Exception {
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
public class NoThreadException extends Exception { public class NoThreadException extends Exception {
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
public interface OutputListener { public interface OutputListener {
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
// dummy placeholder for javaCC-generated code. // dummy placeholder for javaCC-generated code.
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
import com.sun.jdi.VirtualMachine; import com.sun.jdi.VirtualMachine;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
import java.util.EventObject; import java.util.EventObject;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
public class SpecErrorEvent extends SpecEvent { public class SpecErrorEvent extends SpecEvent {
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
import java.util.EventObject; import java.util.EventObject;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
import java.util.EventListener; import java.util.EventListener;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
import com.sun.jdi.ThreadGroupReference; import com.sun.jdi.ThreadGroupReference;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
import com.sun.jdi.ThreadGroupReference; import com.sun.jdi.ThreadGroupReference;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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? package com.sun.tools.example.debug.bdi; //### does it belong here?
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
public class VMLaunchFailureException extends Exception { public class VMLaunchFailureException extends Exception {
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
public class VMNotInterruptedException extends Exception { public class VMNotInterruptedException extends Exception {
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.bdi;
public abstract class WatchpointSpec extends EventRequestSpec { public abstract class WatchpointSpec extends EventRequestSpec {
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.event;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.event;
import com.sun.jdi.event.*; import com.sun.jdi.event.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.event;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.event;
import com.sun.jdi.event.*; import com.sun.jdi.event.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.event;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.event;
/** /**
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.event;
import java.util.EventListener; import java.util.EventListener;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.event;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.event;
import com.sun.jdi.event.*; import com.sun.jdi.event.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.event;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.event;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.event;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.event;
import com.sun.jdi.event.*; import com.sun.jdi.event.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.event;
import com.sun.jdi.event.*; import com.sun.jdi.event.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.event;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.event;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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 */ /* Generated By:JavaCC: Do not edit this line. ASCII_UCodeESC_CharStream.java Version 0.7pre6 */
package com.sun.tools.example.debug.expr; package com.sun.tools.example.debug.expr;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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 */ /* Generated By:JavaCC: Do not edit this line. ExpressionParser.java */
package com.sun.tools.example.debug.expr; package com.sun.tools.example.debug.expr;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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 */ /* Generated By:JavaCC: Do not edit this line. ExpressionParserConstants.java */
package com.sun.tools.example.debug.expr; package com.sun.tools.example.debug.expr;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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 */ /* Generated By:JavaCC: Do not edit this line. ExpressionParserTokenManager.java */
package com.sun.tools.example.debug.expr; package com.sun.tools.example.debug.expr;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.expr;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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 */ /* Generated By:JavaCC: Do not edit this line. ParseException.java Version 0.7pre6 */
package com.sun.tools.example.debug.expr; package com.sun.tools.example.debug.expr;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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 */ /* Generated By:JavaCC: Do not edit this line. Token.java Version 0.7pre3 */
package com.sun.tools.example.debug.expr; package com.sun.tools.example.debug.expr;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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 */ /* Generated By:JavaCC: Do not edit this line. TokenMgrError.java Version 0.7pre2 */
package com.sun.tools.example.debug.expr; package com.sun.tools.example.debug.expr;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.gui;
import javax.swing.*; import javax.swing.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.gui;
public class ClassManager { public class ClassManager {
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.gui;
import java.util.*; import java.util.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.gui;
import java.io.*; import java.io.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.gui;
import java.io.*; import java.io.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.gui;
public interface ContextListener { public interface ContextListener {
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.gui;
import java.io.*; import java.io.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.gui;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.gui;
import java.io.*; import java.io.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.gui;
import java.io.*; import java.io.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.gui;
import javax.swing.Icon; import javax.swing.Icon;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.gui;
import java.io.File; import java.io.File;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.gui;
import javax.swing.*; import javax.swing.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.gui;
import javax.swing.*; import javax.swing.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.gui;
import java.util.List; import java.util.List;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.gui;
import java.util.*; import java.util.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.gui;
import javax.swing.*; import javax.swing.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.gui;
import java.io.*; import java.io.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.gui;
import java.io.*; import java.io.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.gui;
import javax.swing.tree.*; import javax.swing.tree.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.gui;
public interface SourceListener { public interface SourceListener {
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.gui;
import java.io.*; import java.io.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.gui;
import java.io.*; import java.io.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.gui;
import java.io.*; import java.io.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.gui;
import java.io.*; import java.io.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.gui;
import java.util.EventObject; import java.util.EventObject;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.gui;
import javax.swing.*; import javax.swing.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.gui;
import java.util.*; import java.util.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.gui;
import java.awt.*; import java.awt.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.gui;
import com.sun.tools.example.debug.bdi.OutputListener; import com.sun.tools.example.debug.bdi.OutputListener;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.gui;
import java.io.*; import java.io.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.tty;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.tty;
public class AmbiguousMethodException extends Exception public class AmbiguousMethodException extends Exception
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.tty;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.tty;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * 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; package com.sun.tools.example.debug.tty;
import com.sun.jdi.*; import com.sun.jdi.*;
......
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册