#Test Results (version 2)
#Wed Jun 17 15:26:19 PDT 2015
#checksum:51ca563e32b64cc5
#-----testdescription-----
$file=C\:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS\\ProhibitedPackage.java
$root=C\:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test
library=/testlibrary
modules=java.base/sun.misc java.management jdk.jartool/sun.tools.jar
requires=(vm.opt.UseCompressedOops \=\= null) | (vm.opt.UseCompressedOops \=\= true)
run=USER_SPECIFIED build TestCommon JarBuilder\r\nUSER_SPECIFIED compile test-classes/ProhibitedPackage.java\r\nUSER_SPECIFIED main ProhibitedPackage\r\n
source=ProhibitedPackage.java
title=AppCDS handling of prohibited package.

#-----environment-----

#-----testresult-----
description=file\:/C\:/tmp/sharedArchive-Win-8098815/test/hotspot/test/closed/runtime/AppCDS/ProhibitedPackage.java
elapsed=7638 0\:00\:07.638
end=Wed Jun 17 15\:26\:19 PDT 2015
environment=regtest
execStatus=Passed. Execution successful
hostname=MSELEDTS-T430.oradev.oraclecorp.com
javatestOS=Windows 7 6.1 (amd64)
javatestVersion=4.4
jtregVersion=jtreg 4.1 fcs b11
script=com.sun.javatest.regtest.RegressionScript 
sections=script_messages build compile build compile main
start=Wed Jun 17 15\:26\:11 PDT 2015
test=closed/runtime/AppCDS/ProhibitedPackage.java
user.name=mseledts
work=C\:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\closed\\runtime\\AppCDS

#section:script_messages
----------messages:(5/303)*----------
JDK under test: (C:\\tmp\\sharedArchive-Win-8098815\\jdk)
java version "1.9.0-internal-fastdebug"
Java(TM) SE Runtime Environment (build 1.9.0-internal-fastdebug-20150617172159.trbenson.hs-rt-b00)
Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-internal-20150617172159.trbenson.hs-rt-b00, mixed mode)


#section:build
----------messages:(3/132)----------
command: build TestCommon JarBuilder
reason: User specified action: run build TestCommon JarBuilder 
elapsed time (seconds): 0.0
result: Passed. All files up to date

#section:compile
----------messages:(3/248)*----------
command: compile C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS\\test-classes\\ProhibitedPackage.java
reason: User specified action: run compile test-classes/ProhibitedPackage.java 
elapsed time (seconds): 2.96
----------rerun:(25/2748)*----------
PATH='C:\\ProgramData\\Oracle\\Java\\javapath;C:\\windows\\system32;C:\\windows;C:\\windows\\System32\\Wbem;C:\\windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\TortoiseHg\\;C:\\Program Files (x86)\\Windows Kits\\8.0\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files\\Microsoft Windows Performance Toolkit\\;C:\\Program Files (x86)\\Skype\\Phone\\' \\
SystemDrive=C: \\
SystemRoot='C:\\windows' \\
TEMP='C:\\Users\\mseledts\\AppData\\Local\\Temp' \\
TMP='C:\\Users\\mseledts\\AppData\\Local\\Temp' \\
windir='C:\\windows' \\
    'C:\\tmp\\sharedArchive-Win-8098815\\jdk\\bin\\javac' \\
        -J-server \\
        -J-Xmixed \\
        -J-XX:MaxRAMFraction=8 \\
        -J-XX:+CreateCoredumpOnCrash \\
        -J-XX:+UseG1GC \\
        -J-XX:MaxRAMFraction=8 \\
        -J-Dtest.src='C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS' \\
        -J-Dtest.src.path='C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary' \\
        -J-Dtest.classes='C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS' \\
        -J-Dtest.class.path='C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\testlibrary' \\
        -J-Dtest.vm.opts='-server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -XX:+UseG1GC -XX:MaxRAMFraction=8' \\
        -J-Dtest.tool.vm.opts='-J-server -J-Xmixed -J-XX:MaxRAMFraction=8 -J-XX:+CreateCoredumpOnCrash -J-XX:+UseG1GC -J-XX:MaxRAMFraction=8' \\
        -J-Dtest.compiler.opts= \\
        -J-Dtest.java.opts= \\
        -J-Dtest.jdk='C:\\tmp\\sharedArchive-Win-8098815\\jdk' \\
        -J-Dcompile.jdk='C:\\tmp\\sharedArchive-Win-8098815\\jdk' \\
        -J-Dtest.timeout.factor=1.0 \\
        -d 'C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS' -classpath 'C:\\tools\\jtreg\\latest\\lib\\javatest.jar;C:\\tools\\jtreg\\latest\\lib\\jtreg.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\testlibrary' -sourcepath 'C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary' 'C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS\\test-classes\\ProhibitedPackage.java'
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful

#section:build
----------messages:(3/105)----------
command: build ProhibitedPackage
reason: Named class compiled on demand
elapsed time (seconds): 3.412
result: Passed. Build successful

#section:compile
----------messages:(3/232)*----------
command: compile -XDignore.symbol.file=true C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS\\ProhibitedPackage.java
reason: .class file out of date or does not exist
elapsed time (seconds): 3.412
----------rerun:(25/2761)*----------
PATH='C:\\ProgramData\\Oracle\\Java\\javapath;C:\\windows\\system32;C:\\windows;C:\\windows\\System32\\Wbem;C:\\windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\TortoiseHg\\;C:\\Program Files (x86)\\Windows Kits\\8.0\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files\\Microsoft Windows Performance Toolkit\\;C:\\Program Files (x86)\\Skype\\Phone\\' \\
SystemDrive=C: \\
SystemRoot='C:\\windows' \\
TEMP='C:\\Users\\mseledts\\AppData\\Local\\Temp' \\
TMP='C:\\Users\\mseledts\\AppData\\Local\\Temp' \\
windir='C:\\windows' \\
    'C:\\tmp\\sharedArchive-Win-8098815\\jdk\\bin\\javac' \\
        -J-server \\
        -J-Xmixed \\
        -J-XX:MaxRAMFraction=8 \\
        -J-XX:+CreateCoredumpOnCrash \\
        -J-XX:+UseG1GC \\
        -J-XX:MaxRAMFraction=8 \\
        -J-Dtest.src='C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS' \\
        -J-Dtest.src.path='C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary' \\
        -J-Dtest.classes='C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS' \\
        -J-Dtest.class.path='C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\testlibrary' \\
        -J-Dtest.vm.opts='-server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -XX:+UseG1GC -XX:MaxRAMFraction=8' \\
        -J-Dtest.tool.vm.opts='-J-server -J-Xmixed -J-XX:MaxRAMFraction=8 -J-XX:+CreateCoredumpOnCrash -J-XX:+UseG1GC -J-XX:MaxRAMFraction=8' \\
        -J-Dtest.compiler.opts= \\
        -J-Dtest.java.opts= \\
        -J-Dtest.jdk='C:\\tmp\\sharedArchive-Win-8098815\\jdk' \\
        -J-Dcompile.jdk='C:\\tmp\\sharedArchive-Win-8098815\\jdk' \\
        -J-Dtest.timeout.factor=1.0 \\
        -d 'C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS' -classpath 'C:\\tools\\jtreg\\latest\\lib\\javatest.jar;C:\\tools\\jtreg\\latest\\lib\\jtreg.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\testlibrary' -sourcepath 'C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary' -XDignore.symbol.file=true 'C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS\\ProhibitedPackage.java'
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful

#section:main
----------messages:(3/124)----------
command: main ProhibitedPackage
reason: User specified action: run main ProhibitedPackage 
elapsed time (seconds): 1.261
----------System.out:(33/2765)*----------
Command line: [C:\\tmp\\sharedArchive-Win-8098815\\jdk\\bin\\java.exe -cp C:\\tools\\jtreg\\latest\\lib\\javatest.jar;C:\\tools\\jtreg\\latest\\lib\\jtreg.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\testlibrary -server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -XX:+UseG1GC -XX:MaxRAMFraction=8 -showversion -XX:+UnlockCommercialFeatures -XX:SharedArchiveFile=./appcds.jsa -XX:+UseAppCDS -Xshare:dump -XX:+PrintSharedSpaces -cp C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\prohibited_pkg.jar -XX:ExtraSharedClassListFile=C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\ProhibitedPackage-test.classlist ]
[ELAPSED: 764 ms]
[STDOUT]
Allocated shared space: 37879808 bytes at 0x0000000800000000
Loading classes to share ...
Preload Warning: Cannot find java/awt/GraphicsEnvironment$1
Preload Warning: Cannot find java/lang/Compiler$1
Preload Warning: Cannot find java/net/InetAddress$Cache
Preload Warning: Cannot find java/net/InetAddress$Cache$Type
Preload Warning: Cannot find java/net/InetAddress$CacheEntry
Preload Warning: Cannot find java/security/ProtectionDomain$3
Preload Warning: Cannot find javax/swing/JComponent$2
Preload Warning: Cannot find javax/swing/RepaintManager$1$1
Preload Warning: Cannot find javax/swing/TimerQueue$1
Preload Warning: Cannot find javax/swing/plaf/metal/MetalLookAndFeel$MetalLazyValue
Preload Warning: Cannot find javax/swing/plaf/metal/MetalLookAndFeel$MetalLazyValue$1
Preload Warning: Cannot find javax/swing/text/AbstractDocument$InsertStringResult
Preload Warning: Cannot find sun/awt/EventQueueDelegate
Preload Warning: Cannot find sun/awt/WindowClosingListener
Preload Warning: Cannot find sun/awt/WindowClosingSupport
Preload Warning: Cannot find sun/awt/windows/WToolkit$3$1
Preload Warning: Cannot find sun/java2d/Disposer$2
Preload Warning: Cannot find sun/java2d/d3d/D3DScreenUpdateManager$1
Preload Warning: Cannot find sun/java2d/d3d/D3DScreenUpdateManager$1$1
Preload Warning: Cannot find sun/java2d/pipe/RenderingEngine$1
Preload Warning: Cannot find sun/misc/ExtensionDependency
Preload Warning: Cannot find sun/swing/SwingLazyValue
Preload Warning: Cannot find sun/swing/SwingLazyValue$1
Preload Warning: Cannot find sun/swing/SwingUtilities2$2
Prohibited package for non-bootstrap classes: java/lang/ProhibitedPackage.class from C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\prohibited_pkg.jar

[STDERR]

----------System.err:(32/1858)*----------
 stdout: [Allocated shared space: 37879808 bytes at 0x0000000800000000
Loading classes to share ...
Preload Warning: Cannot find java/awt/GraphicsEnvironment$1
Preload Warning: Cannot find java/lang/Compiler$1
Preload Warning: Cannot find java/net/InetAddress$Cache
Preload Warning: Cannot find java/net/InetAddress$Cache$Type
Preload Warning: Cannot find java/net/InetAddress$CacheEntry
Preload Warning: Cannot find java/security/ProtectionDomain$3
Preload Warning: Cannot find javax/swing/JComponent$2
Preload Warning: Cannot find javax/swing/RepaintManager$1$1
Preload Warning: Cannot find javax/swing/TimerQueue$1
Preload Warning: Cannot find javax/swing/plaf/metal/MetalLookAndFeel$MetalLazyValue
Preload Warning: Cannot find javax/swing/plaf/metal/MetalLookAndFeel$MetalLazyValue$1
Preload Warning: Cannot find javax/swing/text/AbstractDocument$InsertStringResult
Preload Warning: Cannot find sun/awt/EventQueueDelegate
Preload Warning: Cannot find sun/awt/WindowClosingListener
Preload Warning: Cannot find sun/awt/WindowClosingSupport
Preload Warning: Cannot find sun/awt/windows/WToolkit$3$1
Preload Warning: Cannot find sun/java2d/Disposer$2
Preload Warning: Cannot find sun/java2d/d3d/D3DScreenUpdateManager$1
Preload Warning: Cannot find sun/java2d/d3d/D3DScreenUpdateManager$1$1
Preload Warning: Cannot find sun/java2d/pipe/RenderingEngine$1
Preload Warning: Cannot find sun/misc/ExtensionDependency
Preload Warning: Cannot find sun/swing/SwingLazyValue
Preload Warning: Cannot find sun/swing/SwingLazyValue$1
Preload Warning: Cannot find sun/swing/SwingUtilities2$2
Prohibited package for non-bootstrap classes: java/lang/ProhibitedPackage.class from C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\prohibited_pkg.jar
];
 stderr: []
 exitValue = 0

STATUS:Passed.
----------rerun:(21/2434)*----------
PATH='C:\\ProgramData\\Oracle\\Java\\javapath;C:\\windows\\system32;C:\\windows;C:\\windows\\System32\\Wbem;C:\\windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\TortoiseHg\\;C:\\Program Files (x86)\\Windows Kits\\8.0\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files\\Microsoft Windows Performance Toolkit\\;C:\\Program Files (x86)\\Skype\\Phone\\' \\
SystemDrive=C: \\
SystemRoot='C:\\windows' \\
TEMP='C:\\Users\\mseledts\\AppData\\Local\\Temp' \\
TMP='C:\\Users\\mseledts\\AppData\\Local\\Temp' \\
windir='C:\\windows' \\
CLASSPATH='C:\\tools\\jtreg\\latest\\lib\\javatest.jar;C:\\tools\\jtreg\\latest\\lib\\jtreg.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\testlibrary' \\
    'C:\\tmp\\sharedArchive-Win-8098815\\jdk\\bin\\java' \\
        -Dtest.src='C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS' \\
        -Dtest.src.path='C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary' \\
        -Dtest.classes='C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS' \\
        -Dtest.class.path='C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\testlibrary' \\
        -Dtest.vm.opts='-server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -XX:+UseG1GC -XX:MaxRAMFraction=8' \\
        -Dtest.tool.vm.opts='-J-server -J-Xmixed -J-XX:MaxRAMFraction=8 -J-XX:+CreateCoredumpOnCrash -J-XX:+UseG1GC -J-XX:MaxRAMFraction=8' \\
        -Dtest.compiler.opts= \\
        -Dtest.java.opts= \\
        -Dtest.jdk='C:\\tmp\\sharedArchive-Win-8098815\\jdk' \\
        -Dcompile.jdk='C:\\tmp\\sharedArchive-Win-8098815\\jdk' \\
        -Dtest.timeout.factor=1.0 \\
        -server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -XX:+UseG1GC -XX:MaxRAMFraction=8 \\
        com.sun.javatest.regtest.agent.MainWrapper 'C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\ProhibitedPackage.jta'
result: Passed. Execution successful


test result: Passed. Execution successful
