src/JavaFreshlyInitializedResource.st
author hlopkmar
Wed, 12 Oct 2011 14:50:22 +0000
branchjk_new_structure
changeset 1019 1d993bcebed4
child 1020 16b7733beeaf
permissions -rw-r--r--
added few very simple tests for class loading
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1019
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
     1
"
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
     2
 COPYRIGHT (c) 1996-2011 by Claus Gittinger
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
     3
 COPYRIGHT (c) 2010-2011 by Jan Vrany, Jan Kurs and Marcel Hlopko
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
     4
                            SWING Research Group, Czech Technical University in Prague
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
     5
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
     6
 Parts of the code written by Claus Gittinger are under following
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
     7
 license:
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
     8
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
     9
 This software is furnished under a license and may be used
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    10
 only in accordance with the terms of that license and with the
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    11
 inclusion of the above copyright notice.   This software may not
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    12
 be provided or otherwise made available to, or used by, any
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    13
 other person.  No title to or ownership of the software is
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    14
 hereby transferred.
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    15
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    16
 Parts of the code written at SWING Reasearch Group [1] are MIT licensed:
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    17
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    18
 Permission is hereby granted, free of charge, to any person
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    19
 obtaining a copy of this software and associated documentation
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    20
 files (the 'Software'), to deal in the Software without
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    21
 restriction, including without limitation the rights to use,
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    22
 copy, modify, merge, publish, distribute, sublicense, and/or sell
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    23
 copies of the Software, and to permit persons to whom the
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    24
 Software is furnished to do so, subject to the following
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    25
 conditions:
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    26
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    27
 The above copyright notice and this permission notice shall be
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    28
 included in all copies or substantial portions of the Software.
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    29
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    30
 THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    31
 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    32
 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    33
 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    34
 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    35
 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    36
 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    37
 OTHER DEALINGS IN THE SOFTWARE.
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    38
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    39
 [1] Code written at SWING Research Group contain a signature
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    40
     of one of the above copright owners.
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    41
"
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    42
"{ Package: 'stx:libjava' }"
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    43
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    44
JavaAntProjectResource subclass:#JavaFreshlyInitializedResource
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    45
	instanceVariableNames:''
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    46
	classVariableNames:''
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    47
	poolDictionaries:''
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    48
	category:'Languages-Java-Tests'
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    49
!
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    50
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    51
!JavaFreshlyInitializedResource class methodsFor:'documentation'!
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    52
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    53
copyright
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    54
"
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    55
 COPYRIGHT (c) 1996-2011 by Claus Gittinger
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    56
 COPYRIGHT (c) 2010-2011 by Jan Vrany, Jan Kurs and Marcel Hlopko
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    57
                            SWING Research Group, Czech Technical University in Prague
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    58
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    59
 Parts of the code written by Claus Gittinger are under following
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    60
 license:
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    61
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    62
 This software is furnished under a license and may be used
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    63
 only in accordance with the terms of that license and with the
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    64
 inclusion of the above copyright notice.   This software may not
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    65
 be provided or otherwise made available to, or used by, any
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    66
 other person.  No title to or ownership of the software is
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    67
 hereby transferred.
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    68
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    69
 Parts of the code written at SWING Reasearch Group [1] are MIT licensed:
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    70
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    71
 Permission is hereby granted, free of charge, to any person
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    72
 obtaining a copy of this software and associated documentation
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    73
 files (the 'Software'), to deal in the Software without
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    74
 restriction, including without limitation the rights to use,
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    75
 copy, modify, merge, publish, distribute, sublicense, and/or sell
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    76
 copies of the Software, and to permit persons to whom the
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    77
 Software is furnished to do so, subject to the following
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    78
 conditions:
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    79
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    80
 The above copyright notice and this permission notice shall be
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    81
 included in all copies or substantial portions of the Software.
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    82
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    83
 THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    84
 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    85
 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    86
 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    87
 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    88
 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    89
 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    90
 OTHER DEALINGS IN THE SOFTWARE.
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    91
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    92
 [1] Code written at SWING Research Group contain a signature
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    93
     of one of the above copright owners.
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    94
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    95
"
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    96
! !
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    97
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    98
!JavaFreshlyInitializedResource methodsFor:'running'!
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
    99
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
   100
setUp
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
   101
    Java flushAllJavaResources.
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
   102
    Java initialize.
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
   103
    JavaVM initializeVM.
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
   104
    super setUp.
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
   105
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
   106
    "Created: / 12-10-2011 / 15:27:35 / Marcel Hlopko <hlopik@gmail.com>"
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
   107
! !
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
   108
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
   109
!JavaFreshlyInitializedResource class methodsFor:'documentation'!
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
   110
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
   111
version_SVN
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
   112
    ^ '$Id$'
1d993bcebed4 added few very simple tests for class loading
hlopkmar
parents:
diff changeset
   113
! !