Compare commits

...

962 Commits

Author SHA1 Message Date
J. Duke
b2faf14a66 Merge 2017-07-05 20:54:58 +02:00
J. Duke
a1b9f00701 Merge 2017-07-05 20:54:54 +02:00
J. Duke
38d4b5a150 Merge 2017-07-05 20:54:48 +02:00
J. Duke
a3c3e4f8b1 Merge 2017-07-05 20:54:42 +02:00
J. Duke
bec4059aa6 Merge 2017-07-05 20:54:36 +02:00
J. Duke
d6f1d0c0f5 Merge 2017-07-05 20:54:31 +02:00
J. Duke
208cdff495 Merge 2017-07-05 20:54:28 +02:00
J. Duke
be5480de84 Merge 2017-07-05 20:54:18 +02:00
J. Duke
bcd18226cc Added tag jdk9-b87 for changeset 1a52a30674cd 2017-07-05 20:54:03 +02:00
J. Duke
aa8e6904dc Merge 2017-07-05 20:54:03 +02:00
J. Duke
13d92bc1b9 Merge 2017-07-05 20:54:00 +02:00
J. Duke
0e9e74f6bf Merge 2017-07-05 20:53:56 +02:00
J. Duke
229f0675f8 Merge 2017-07-05 20:53:50 +02:00
J. Duke
ba754c6022 Merge 2017-07-05 20:53:45 +02:00
J. Duke
eba9f448b9 Merge 2017-07-05 20:53:42 +02:00
J. Duke
146e6ce1fe Merge 2017-07-05 20:53:37 +02:00
J. Duke
c2fe334b51 Merge 2017-07-05 20:53:34 +02:00
J. Duke
7caafbaaea Added tag jdk9-b86 for changeset 7db0663a5e96 2017-07-05 20:53:25 +02:00
J. Duke
119988f54a Merge 2017-07-05 20:53:25 +02:00
J. Duke
edcabd139a Merge 2017-07-05 20:53:21 +02:00
J. Duke
3d8f6ec51c Merge 2017-07-05 20:53:13 +02:00
J. Duke
35f4015892 Merge 2017-07-05 20:53:09 +02:00
J. Duke
83aa18de63 Merge 2017-07-05 20:53:03 +02:00
J. Duke
7ccf976bfc Merge 2017-07-05 20:52:58 +02:00
J. Duke
2cf2e624b3 Merge 2017-07-05 20:52:55 +02:00
J. Duke
a283407168 Merge 2017-07-05 20:52:51 +02:00
J. Duke
567dc786f5 Added tag jdk9-b85 for changeset 8392405ab038 2017-07-05 20:52:38 +02:00
J. Duke
d12b5c154b Merge 2017-07-05 20:52:37 +02:00
J. Duke
cfc78a2148 Merge 2017-07-05 20:52:32 +02:00
J. Duke
999b5e771a Merge 2017-07-05 20:52:26 +02:00
J. Duke
886b76d972 Merge 2017-07-05 20:52:22 +02:00
J. Duke
59cbcbd557 Merge 2017-07-05 20:52:15 +02:00
J. Duke
78d80ec624 Merge 2017-07-05 20:52:10 +02:00
J. Duke
5f386bb914 Merge 2017-07-05 20:52:05 +02:00
J. Duke
f963620000 Merge 2017-07-05 20:51:53 +02:00
J. Duke
e28ca6877c Added tag jdk9-b84 for changeset 51b2db2fa04c 2017-07-05 20:51:37 +02:00
J. Duke
96f1486b0a Merge 2017-07-05 20:51:37 +02:00
J. Duke
d0723cb05b Merge 2017-07-05 20:51:33 +02:00
J. Duke
1027d6c2a3 Merge 2017-07-05 20:51:27 +02:00
J. Duke
c0f77fa3e2 Merge 2017-07-05 20:51:24 +02:00
J. Duke
936c8bf937 Merge 2017-07-05 20:51:18 +02:00
J. Duke
e945efdcd1 Merge 2017-07-05 20:51:10 +02:00
J. Duke
3907fee7c4 Merge 2017-07-05 20:51:07 +02:00
J. Duke
4dedb3fe35 Merge 2017-07-05 20:51:00 +02:00
J. Duke
cb15121379 Added tag jdk9-b83 for changeset f61a63b7d1e5 2017-07-05 20:50:42 +02:00
J. Duke
2a12715485 Merge 2017-07-05 20:50:41 +02:00
J. Duke
f7724ae00e Merge 2017-07-05 20:50:38 +02:00
J. Duke
db6ac2bb5b Merge 2017-07-05 20:50:32 +02:00
J. Duke
10600e7e6d Merge 2017-07-05 20:50:27 +02:00
J. Duke
c5accf724d Merge 2017-07-05 20:50:21 +02:00
J. Duke
aa27e550fa Merge 2017-07-05 20:50:16 +02:00
J. Duke
786e60d23f Merge 2017-07-05 20:50:10 +02:00
J. Duke
b6ea1f4a0f Merge 2017-07-05 20:49:54 +02:00
J. Duke
9ab5208f88 Added tag jdk9-b82 for changeset 6521875cb63e 2017-07-05 20:49:25 +02:00
J. Duke
9969836a33 Merge 2017-07-05 20:49:25 +02:00
J. Duke
2844994490 Merge 2017-07-05 20:49:21 +02:00
J. Duke
c465c01d75 Merge 2017-07-05 20:49:14 +02:00
J. Duke
6328de29f5 Merge 2017-07-05 20:49:11 +02:00
J. Duke
555cf04ee5 Merge 2017-07-05 20:49:07 +02:00
J. Duke
3ecbc3be60 Merge 2017-07-05 20:49:01 +02:00
J. Duke
1b0eefb24d Merge 2017-07-05 20:48:56 +02:00
J. Duke
f1ff183534 Merge 2017-07-05 20:48:44 +02:00
J. Duke
d34b183731 Added tag jdk9-b81 for changeset 2050b3a0aadc 2017-07-05 20:48:33 +02:00
J. Duke
33994176ee Merge 2017-07-05 20:48:33 +02:00
J. Duke
24e52411ad Merge 2017-07-05 20:48:29 +02:00
J. Duke
b7a357e008 Merge 2017-07-05 20:48:23 +02:00
J. Duke
6729d7335a Merge 2017-07-05 20:48:20 +02:00
J. Duke
7c35230144 Merge 2017-07-05 20:48:15 +02:00
J. Duke
b5f7bfd11f Merge 2017-07-05 20:48:10 +02:00
J. Duke
f089fa8eba Merge 2017-07-05 20:48:05 +02:00
J. Duke
9e97643f09 Merge 2017-07-05 20:47:56 +02:00
J. Duke
516e2ea58d Added tag jdk9-b80 for changeset 3c9f5bd909ae 2017-07-05 20:47:30 +02:00
J. Duke
44c8b13d11 Merge 2017-07-05 20:47:29 +02:00
J. Duke
85af8bd0ec Merge 2017-07-05 20:47:26 +02:00
J. Duke
21ae9718b3 Merge 2017-07-05 20:47:18 +02:00
J. Duke
cb4d6d2d10 Merge 2017-07-05 20:47:15 +02:00
J. Duke
72412aa14b Merge 2017-07-05 20:47:11 +02:00
J. Duke
4c8c732db5 Merge 2017-07-05 20:47:07 +02:00
J. Duke
2d06f0fc0e Merge 2017-07-05 20:47:02 +02:00
J. Duke
48b6122e4e Merge 2017-07-05 20:46:50 +02:00
J. Duke
c87c41e5ef Added tag jdk9-b79 for changeset 3966bd3b8167 2017-07-05 20:46:39 +02:00
J. Duke
11dee9e7fe Merge 2017-07-05 20:46:39 +02:00
J. Duke
3618e068ff Merge 2017-07-05 20:46:35 +02:00
J. Duke
abc1a27117 Merge 2017-07-05 20:46:31 +02:00
J. Duke
5b8cee9766 Merge 2017-07-05 20:46:28 +02:00
J. Duke
6adfa342cf Merge 2017-07-05 20:46:25 +02:00
J. Duke
68384e0890 Merge 2017-07-05 20:46:21 +02:00
J. Duke
3fd92b07c8 Merge 2017-07-05 20:46:18 +02:00
J. Duke
a7bfed3056 Merge 2017-07-05 20:46:10 +02:00
J. Duke
f1684cd835 Added tag jdk9-b78 for changeset c8753d0be177 2017-07-05 20:45:52 +02:00
J. Duke
d9b43a9e2c Merge 2017-07-05 20:45:52 +02:00
J. Duke
9bf2ffd162 Merge 2017-07-05 20:45:49 +02:00
J. Duke
1b5af609f5 Merge 2017-07-05 20:45:44 +02:00
J. Duke
d54587e380 Merge 2017-07-05 20:45:41 +02:00
J. Duke
5d72d63c68 Merge 2017-07-05 20:45:35 +02:00
J. Duke
73d4205d35 Merge 2017-07-05 20:45:32 +02:00
J. Duke
9f478f11c4 Merge 2017-07-05 20:45:28 +02:00
J. Duke
b1f413d285 Merge 2017-07-05 20:45:16 +02:00
J. Duke
2c4538edd5 Added tag jdk9-b77 for changeset c25e882cee96 2017-07-05 20:45:01 +02:00
Lana Steuck
6008f348df Merge 2015-10-21 15:16:00 -07:00
Lana Steuck
318515fb59 Merge 2015-10-21 15:15:36 -07:00
Lana Steuck
15638abdb3 Merge 2015-10-21 15:15:33 -07:00
Lana Steuck
625b7537cf Merge 2015-10-21 15:15:26 -07:00
Lana Steuck
b22076c34e Merge 2015-10-21 15:15:16 -07:00
Lana Steuck
2b351e3bf6 Added tag jdk9-b87 for changeset 9f7dd20687ba 2015-10-19 00:25:16 -07:00
Lana Steuck
0d27dc89af Added tag jdk9-b87 for changeset 610c74da519c 2015-10-19 00:25:14 -07:00
Lana Steuck
0ae924bbfb Added tag jdk9-b87 for changeset eac9db06fb85 2015-10-19 00:25:06 -07:00
Lana Steuck
6ac26337c1 Added tag jdk9-b87 for changeset 611cd2f9832d 2015-10-19 00:25:03 -07:00
Lana Steuck
4acef67928 Added tag jdk9-b87 for changeset 659a7814aa2e 2015-10-19 00:25:01 -07:00
Lana Steuck
cd71f22bec Added tag jdk9-b87 for changeset b53b8a1f9285 2015-10-19 00:24:58 -07:00
Lana Steuck
1e5995281e Added tag jdk9-b87 for changeset 6f6a93f70f07 2015-10-19 00:24:56 -07:00
Lana Steuck
8022e1379b Added tag jdk9-b87 for changeset 829190878fbc 2015-10-19 00:24:54 -07:00
Aleksei Efimov
67468ad3ea 8073519: schemagen does not report errors while generating xsd files
Reviewed-by: dfuchs
2015-10-16 19:07:08 +03:00
Aleksei Efimov
ef3d646119 8073519: schemagen does not report errors while generating xsd files
Reviewed-by: dfuchs
2015-10-16 19:05:49 +03:00
Lana Steuck
7291744cbf Merge 2015-10-15 16:51:00 -07:00
Lana Steuck
ae27285952 Merge 2015-10-15 16:50:08 -07:00
Lana Steuck
c69e8167ed Merge 2015-10-15 16:50:02 -07:00
Lana Steuck
7dc74d949c Merge 2015-10-15 16:49:49 -07:00
Lana Steuck
a1a90a7368 Added tag jdk9-b86 for changeset e5955eb2b3e0 2015-10-15 15:15:29 -07:00
Lana Steuck
934e861da3 Added tag jdk9-b86 for changeset 9a64fdcb72be 2015-10-15 15:15:28 -07:00
Lana Steuck
bb90ac26e5 Added tag jdk9-b86 for changeset 5e859a1240f6 2015-10-15 15:15:23 -07:00
Lana Steuck
492f44fa63 Added tag jdk9-b86 for changeset ade7c78fff18 2015-10-15 15:15:21 -07:00
Lana Steuck
4a276aec42 Added tag jdk9-b86 for changeset 22c83bd0488c 2015-10-15 15:15:20 -07:00
Lana Steuck
9ccbf5e52a Added tag jdk9-b86 for changeset 7e41230dec76 2015-10-15 15:15:17 -07:00
Lana Steuck
007d81d726 Added tag jdk9-b86 for changeset 11b5866fc8c9 2015-10-15 15:15:16 -07:00
Lana Steuck
a637edab2e Added tag jdk9-b86 for changeset 7dadf0082808 2015-10-15 15:15:14 -07:00
Sean Coffey
780e19cb1e 8038502: Deflater.needsInput() should use synchronization
Reviewed-by: chegar
2015-10-15 14:41:37 +01:00
Ivan Gerasimov
08216fc198 8138938: Clarify javadoc for java.util.Collections.copy()
Reviewed-by: smarks
2015-10-15 13:56:39 +03:00
Sean Coffey
7af86aa369 6907252: ZipFileInputStream Not Thread-Safe
Reviewed-by: sherman
2015-10-15 09:33:03 +01:00
Joe Darcy
655a976e65 8136799: Port fdlibm cbrt to Java
Reviewed-by: bpb
2015-10-14 16:17:08 -07:00
Doug Lea
c38b0eaba5 8134853: Bulk integration of java.util.concurrent classes
8080939: ForkJoinPool and Phaser deadlock
8044616: Clients of Unsafe.compareAndSwapLong need to beware of using direct stores to the same field
8071638: [JAVADOC] Buggy example in javadoc for afterExecute to access a submitted job's Throwable
8043743: Data missed in java.util.concurrent.LinkedTransferQueue
8054446: Repeated offer and remove on ConcurrentLinkedQueue lead to an OutOfMemoryError
8031374: TEST_BUG: java/util/concurrent/ConcurrentQueues/OfferRemoveLoops.java fails Intermittently
8034208: Cleanup to test/java/util/concurrent/BlockingQueue/Interrupt.java
8035661: Test fix java/util/concurrent/ConcurrentQueues/OfferRemoveLoops.java from jsr166 CVS
8062841: ConcurrentHashMap.computeIfAbsent stuck in an endless loop
8073208: javadoc typo in java.util.concurrent.Executor
8073704: FutureTask.isDone returns true when task has not yet completed
8037093: java/util/concurrent/locks/Lock/TimedAcquireLeak.java fails intermittently
8022642: ScheduledThreadPoolExecutor with zero corePoolSize create endlessly threads
8065320: Busy loop in ThreadPoolExecutor.getTask for ScheduledThreadPoolExecutor
8129861: High processor load for ScheduledThreadPoolExecutor with 0 core threads
8051859: ScheduledExecutorService.scheduleWithFixedDelay fails with max delay
7146994: example afterExecute for ScheduledThreadPoolExecutor hangs

Reviewed-by: martin, psandoz, chegar
2015-10-13 16:45:35 -07:00
Doug Lea
0f49a089d6 8134855: Bulk integration of java.util.concurrent.locks classes
8051848: ReentrantReadWriteLock.ReadLock fails on unlock by different thread
8049843: Lack of save / restore interrupt mechanism undermines the StampedLock

Reviewed-by: martin, psandoz, chegar
2015-10-13 16:35:22 -07:00
Doug Lea
e82602a13a 8134850: Integrate the Flow API
Reviewed-by: martin, psandoz, chegar
2015-10-13 16:25:10 -07:00
Doug Lea
2d8e9b323c 8134852: Integrate fork/join with API enhancements
Reviewed-by: martin, psandoz, chegar
2015-10-13 16:15:06 -07:00
Doug Lea
cf43156eed 8134851: Integrate CompletableFuture with API enhancements
8039378: CompletableFuture: Avoid StackOverflowError for long linear chains

Reviewed-by: martin, psandoz, chegar
2015-10-13 16:04:56 -07:00
Peter Levart
2beb7a2fd8 8136893: Improve early java.lang.invoke infrastructure initialization
Reviewed-by: mhaupt, psandoz, redestad, vlivanov
2015-10-14 00:08:42 +02:00
Chris Hegarty
8a27a7469b 8139371: Three langtools test failures after the removal of sun.misc.Lock
Reviewed-by: jjg, mchung
2015-10-13 09:02:30 +01:00
Dmitry Chuyko
cb20fc2079 8000316: Huge performance bottleneck in com.sun.tools.javac.comp.Check.localClassName
Speed up Check.localClassName by avoiding generating names known to be in use already

Reviewed-by: mcimadamore, jlahoda, sadayapalam
2015-10-13 09:48:03 +05:30
Chris Hegarty
dc881c5368 8139297: java.lang.NoClassDefFoundError: Could not initialize class jdk.internal.jimage.ImageNativeSubstrate
Reviewed-by: alanb, jlaskey
2015-10-12 19:14:59 +01:00
Daniel Fuchs
bd69fa0635 8033661: readConfiguration does not cleanly reinitialize the logging system
Two new updateConfiguration methods have been added to LogManager: call updateConfiguration to update a configuration *after* the LogManager is initialized.

Reviewed-by: mchung
2015-10-12 20:13:22 +02:00
Srikanth Adayapalam
ac4f8dfdd2 8139245: compiler crashes with exception on int:new method reference and generic method inference
Reviewed-by: mcimadamore
2015-10-12 19:43:44 +05:30
Attila Szegedi
d546e9e360 8139282: Remove @author and @id tags from Dynalink JavaDoc; some minor edits
Reviewed-by: mhaupt, sundar
2015-10-12 14:52:47 +02:00
Attila Szegedi
89fa209a47 8139270: Drastically reduce memory footprint of ChainedCallSite
Reviewed-by: hannesw, sundar
2015-10-12 13:44:38 +02:00
Michael Haupt
53051d4e34 8139266: add JSAdapter example with fallthrough
Reviewed-by: attila, hannesw
2015-10-12 13:36:41 +02:00
Maurizio Cimadamore
4d32c48daf 8138840: NPE when compiling bitwise operations with illegal operand types
8139243: compiler crashes with exception on sum operation of String var and void method call result
8139249: Compiler crashes on unary bitwise complement with non-integral operand

Certain binary operator checks are accepting more operands than required.

Reviewed-by: jlahoda
2015-10-12 12:24:33 +01:00
Magnus Ihse Bursie
2cb9e233b7 8139413: Use --with-x to set X11 root directory
Reviewed-by: erikj
2015-10-12 11:49:29 +02:00
Amy Lu
b14bbfc3da 8139407: Mark java/rmi/registry/readTest/readTest.sh as intermittently failing
Reviewed-by: chegar
2015-10-12 17:07:40 +08:00
Attila Szegedi
5dd8a5bcfe 8139274: Use JDK 8 default method for LinkerServices.asTypeLosslessReturn
Reviewed-by: lagergren, sundar
2015-10-12 10:28:27 +02:00
Attila Szegedi
26f00c8261 8139273: Small improvements to DynamicLinker and DynamicLinkerFactory
Reviewed-by: lagergren, sundar
2015-10-12 10:27:32 +02:00
Chris Hegarty
a086d7e431 8139179: URLStreamHandler* should link to URL ctor that specifies how factories/providers are located
Reviewed-by: alanb
2015-10-10 17:30:04 +01:00
Chris Hegarty
37935fc4a0 8139307: Remove sun.misc.ConditionLock and Lock
Reviewed-by: alanb, lancea, martin, mchung, shade, smarks
2015-10-10 17:27:10 +01:00
Aleksei Efimov
2e0d7b61ee 8139107: DateTimeFormatter with Locale.UK throw a NullPointerException when parsing zone
Reviewed-by: naoto
2015-10-10 12:52:09 +03:00
Lana Steuck
c4ea932612 Merge 2015-10-09 10:23:45 -07:00
Lana Steuck
7fc4449de1 Merge 2015-10-09 10:22:53 -07:00
Lana Steuck
f03621f7a6 Merge 2015-10-09 10:22:27 -07:00
Lana Steuck
81c8c10d73 Merge 2015-10-09 10:22:19 -07:00
Lana Steuck
64384a91c8 Merge 2015-10-09 10:22:04 -07:00
Attila Szegedi
ea36ed2bc8 8139269: Do not expose prune method handles from ChainedCallSite
Reviewed-by: hannesw, lagergren
2015-10-09 18:01:09 +02:00
Chris Hegarty
1a83e59745 8138978: Examine usages of sun.misc.IOUtils
Reviewed-by: alanb, mullan, psandoz, rriggs, weijun
2015-10-09 14:21:33 +01:00
Chris Hegarty
f17770b428 8138978: Examine usages of sun.misc.IOUtils
Reviewed-by: alanb, mullan, psandoz, rriggs, weijun
2015-10-09 14:21:02 +01:00
Lana Steuck
6524be4aac Added tag jdk9-b85 for changeset beda7a94a5ef 2015-10-08 22:30:47 -07:00
Lana Steuck
cca72c1fde Added tag jdk9-b85 for changeset eb290482d42f 2015-10-08 22:30:46 -07:00
Lana Steuck
1903fdee67 Added tag jdk9-b85 for changeset 1f610b093f5e 2015-10-08 22:30:42 -07:00
Lana Steuck
f801c5fd45 Added tag jdk9-b85 for changeset 80d007ca651f 2015-10-08 22:30:41 -07:00
Lana Steuck
ee8b789d84 Added tag jdk9-b85 for changeset 42af6bc4d36a 2015-10-08 22:30:40 -07:00
Lana Steuck
e7f00972c0 Added tag jdk9-b85 for changeset 9a72f98c3066 2015-10-08 22:30:35 -07:00
Lana Steuck
4354c245d7 Added tag jdk9-b85 for changeset 55a3cf13d376 2015-10-08 22:30:34 -07:00
Lana Steuck
751c60b7bd Added tag jdk9-b85 for changeset e4a745eb7a7c 2015-10-08 22:30:33 -07:00
Weijun Wang
4768e44b34 8085904: Test timeout on Mac
Reviewed-by: wetmore
2015-10-09 09:33:54 +08:00
Valerie Peng
fcb924e751 8130648: JCK test api/java_security/AuthProvider/ProviderTests_login starts failing after JDK-7191662
Make uninitialized SunPKCS11 provider throw IllegalStateException for AuthProvider calls.

Reviewed-by: mullan
2015-10-08 20:51:08 +00:00
Rachna Goel
3848cce42f 8075315: API doc of Currency.getInstance(Locale) method is incorrect
Updated API doc of Currency.getInstance(Locale)method.

Reviewed-by: peytoia, naoto
2015-10-08 17:03:07 +05:30
Srikanth Adayapalam
9c310602ec 8075799: Extraneous access checks implemented by javac
Allow anonymous class constructors to refer to inaccessible types.

Reviewed-by: mcimadamore
2015-10-07 19:35:43 +05:30
Magnus Ihse Bursie
203f76fbda 8138761: Improved handling of libffi, and cleanup of libraries.m4
Reviewed-by: erikj
2015-10-07 15:26:48 +02:00
Paul Sandoz
25c1cff728 8135248: Add utility methods to check indexes and ranges
Reviewed-by: forax, chegar, scolebourne, jrose, darcy
2015-10-07 15:22:43 +02:00
Michael Haupt
f932f4f869 8139047: add test for JSAdapter __getIds__
Reviewed-by: hannesw, sundar
2015-10-07 15:02:15 +02:00
Michael Haupt
0b4df44eb8 8139038: cleanup and documentation around JSAdapter
Reviewed-by: attila, hannesw
2015-10-07 14:00:45 +02:00
Srikanth Adayapalam
855243b12f 8065219: Deprecated warning in method reference are missing in some cases
Reviewed-by: mcimadamore
2015-10-07 16:02:57 +05:30
Srikanth Adayapalam
1a5c52e6c3 8130506: javac AssertionError when invoking MethodHandle.invoke with lambda paramter
Reviewed-by: mcimadamore
2015-10-07 15:53:38 +05:30
Magnus Ihse Bursie
9f31d88faf 8138864: Build with nice to lower UI impact
Reviewed-by: erikj
2015-10-07 11:58:03 +02:00
Joe Darcy
f674b491a6 8138823: Correct bug in port of fdlibm hypot to Java
Reviewed-by: bpb
2015-10-06 18:39:26 -07:00
Vicente Romero
38c2534531 8138914: javac, method visitTypeVar() at visitor Types.hashCode generates the same hash code for different type variables
Reviewed-by: mcimadamore
2015-10-06 13:59:16 -07:00
Mandy Chung
bdd7bb4533 8132297: JDK9 build.tools.module.ImageBuilder does not filter out .bc files
Reviewed-by: alanb, chegar
2015-10-06 13:20:21 -07:00
Joe Wang
6b8fd86fa1 8138721: ElementTraversal: javadoc warning; also, hasFeature shall return true
Reviewed-by: lancea, dfuchs
2015-10-06 10:59:52 -07:00
James Laskey
d424f85c55 8138960: Module version is checked incorrectly in libjimage
Reviewed-by: alanb, mchung, iris
2015-10-06 13:49:41 -03:00
Lana Steuck
a113b52db0 Merge 2015-10-06 08:43:24 -07:00
Lana Steuck
8648702db4 Merge 2015-10-06 08:43:02 -07:00
Lana Steuck
5973e18697 Merge 2015-10-06 08:42:20 -07:00
Lana Steuck
9fa684a2f4 Merge 2015-10-06 08:42:02 -07:00
Lana Steuck
188c32e53c Merge 2015-10-06 08:41:31 -07:00
Lana Steuck
a0df5a8e1f Merge 2015-10-06 08:41:23 -07:00
Lana Steuck
1b9353eef1 Merge 2015-10-06 08:41:18 -07:00
David Dehaven
a5e4068797 Merge 2015-10-06 07:35:16 -07:00
Hannes Wallnöfer
4b93e3631d 8138758: U+180E not recognized as whitespace by Joni
Reviewed-by: attila, sundar
2015-10-06 15:10:24 +02:00
Athijegannathan Sundararajan
3a39ddb5fd 8138910: Ctrl-D causes jjs to crash with NPE
Reviewed-by: attila, hannesw
2015-10-06 14:31:38 +05:30
Ivan Gerasimov
cc953fc59a 8138819: (se) File descriptor leak when Selector.open fails
Reviewed-by: rriggs, alanb
2015-10-06 12:00:38 +03:00
Jean-Francois Denise
26d5d5d625 8136365: Provider "jrt" is not available after bootmodules.jimage recreation
META-INF content was lost during recreate.

Reviewed-by: jlaskey, sundar
2015-10-06 09:12:00 +02:00
Lana Steuck
77701f53b3 Added tag jdk9-b84 for changeset c55cf68474be 2015-10-05 20:25:09 -07:00
Lana Steuck
1e4da93986 Added tag jdk9-b84 for changeset e69dd1decf7b 2015-10-05 20:25:08 -07:00
Lana Steuck
e94a51b429 Added tag jdk9-b84 for changeset a0ed816fbf97 2015-10-05 20:25:04 -07:00
Lana Steuck
983882cb3a Added tag jdk9-b84 for changeset 7117f1bfa7a4 2015-10-05 20:25:03 -07:00
Lana Steuck
df9e1bc8f7 Added tag jdk9-b84 for changeset 5625643929aa 2015-10-05 20:25:02 -07:00
Lana Steuck
2da00b4c36 Added tag jdk9-b84 for changeset 43c458023730 2015-10-05 20:24:59 -07:00
Lana Steuck
979e78feef Added tag jdk9-b84 for changeset 7ddb38dfc7ff 2015-10-05 20:24:58 -07:00
Lana Steuck
c0c00e1422 Added tag jdk9-b84 for changeset 47d1c2c75fb6 2015-10-05 20:24:57 -07:00
David Dehaven
1d92a8874c Merge 2015-10-05 13:45:50 -07:00
David Dehaven
0d0c0afeb2 Merge 2015-10-05 13:45:47 -07:00
Hannes Wallnöfer
26fc600426 8138882: Performance regression due to anonymous classloading
Reviewed-by: attila, sundar
2015-10-05 18:58:21 +02:00
Jan Lahoda
c4a3a35b97 8075274: Compilation still depends on the order of imports
8133235: Compilation depends on order of source files

When analyzing type hierarchy, HierarchyPhase should process supertypes before subtypes.

Reviewed-by: mcimadamore
2015-10-05 18:31:38 +02:00
Naoto Sato
f8dca18a53 8138613: Remove SPI locale provider adapter from the default provider list
Reviewed-by: okutsu
2015-10-05 08:16:11 -07:00
Aleksei Efimov
673882edf9 8138716: (tz) Support tzdata2015g
Reviewed-by: peytoia
2015-10-05 17:38:04 +03:00
Erik Joelsson
eb0e012f6c 8138694: Devkit build on Macosx still requires Xcode to be installed
Reviewed-by: ihse, tbell
2015-10-05 13:44:40 +02:00
Srikanth Adayapalam
ea13770069 8133135: Compiler internall error (NPE) on anonymous class defined by qualified instance creation expression with diamond
Reviewed-by: mcimadamore
2015-10-05 15:41:29 +05:30
Jamil Nimeh
3ef293dbc1 8138704: CertStatusReqItemV2 should not implement StatusRequest interface
Sets class to have proper inheritance and reduces visibility of length and send methods.

Reviewed-by: mullan
2015-10-02 11:14:31 -07:00
Hannes Wallnöfer
c1fa6e31e8 8137281: OutOfMemoryError with large numeric keys in JSON.parse
Reviewed-by: attila, mhaupt
2015-10-02 15:50:49 +02:00
Miroslav Kos
956ba82585 8061466: RELAX NG API visible but not accessible
Reviewed-by: alanb
2015-10-02 14:36:40 +02:00
Maurizio Cimadamore
63a4f10b60 8137269: Add better support for local caching in ArgumentAttr
ArgumentAttr should support local caches when results of speculative attribution might be thrown away

Reviewed-by: jlahoda
2015-10-02 13:27:57 +01:00
Masayoshi Okutsu
ff7c1c3bca 8138663: Missing @build in test/java/text/Format/DecimalFormat/RoundingAndPropertyTest.java
Reviewed-by: naoto
2015-10-02 13:21:46 +09:00
Athijegannathan Sundararajan
a7d931c5e1 8138616: invokeFunction fails if function calls a function defined in GLOBAL_SCOPE
Reviewed-by: hannesw, mhaupt
2015-10-01 21:27:30 +05:30
Srikanth Adayapalam
0ea96ddfe4 8132535: Compiler fails with diamond anonymous class creation with intersection bound of enclosing class
Reviewed-by: mcimadamore
2015-10-01 19:47:06 +05:30
Hannes Wallnöfer
8b9c730750 8138632: Sparse array does not handle growth of underlying dense array
Reviewed-by: attila, sundar
2015-10-01 10:37:25 +02:00
Athijegannathan Sundararajan
2b4de2f271 8138643: nashorn ant build.xml javadoc, javadocapi targets are broken and netbeans makefile does not include shell sources
Reviewed-by: attila, hannesw
2015-09-30 20:20:11 +05:30
Alejandro Murillo
796dab06c1 Merge 2015-09-30 07:41:36 -07:00
Magnus Ihse Bursie
1cfadcd465 8138627: Better help message in configure for reduced builds (target-bits=32)
Reviewed-by: erikj
2015-09-30 11:38:01 +02:00
Attila Szegedi
f3ff9a5c9a 8137333: Boundless soft caching of property map histories causes high memory pressure
Reviewed-by: hannesw, sundar
2015-09-30 10:09:44 +02:00
Nelson Dcosta
5c4dc85619 8133454: Update Java Compiler Error Message
Updating the error message that is used when javac crashes.

Reviewed-by: jjg
2015-09-29 21:22:35 +02:00
Alexander Scherbatiy
53ab9a2026 8134917: [macosx] JOptionPane doesn't receive mouse events when opened from a drop event
Reviewed-by: serb
2015-09-29 15:19:52 +04:00
David Dehaven
38d9815e20 Merge 2015-09-28 13:10:03 -07:00
David Dehaven
5636c168b4 Merge 2015-09-28 08:14:42 -07:00
Erik Joelsson
8f85a8ae8d 8135060: Stop building Xcode projects in install build
Reviewed-by: ihse, pbhat, dmalav
2015-09-28 15:51:29 +02:00
Amy Lu
25a239c820 8137232: Mark 3 more core-libs tests as intermittently failing
Reviewed-by: chegar
2015-09-28 16:39:12 +03:00
Athijegannathan Sundararajan
be533e6f12 8137258: JSObjectLinker and BrowserJSObjectLinker should not expose internal JS objects
Reviewed-by: attila, hannesw
2015-09-28 18:58:52 +05:30
Chris Hegarty
5ec08b1bfe 8137056: Move SharedSecrets and interface friends out of sun.misc
Reviewed-by: alanb, mchung, psandoz, rriggs
2015-09-28 13:40:25 +01:00
Chris Hegarty
0cc24c29ca 8137056: Move SharedSecrets and interface friends out of sun.misc
Reviewed-by: alanb, mchung, psandoz, rriggs
2015-09-28 13:39:27 +01:00
Chris Hegarty
c69db2f940 8137056: Move SharedSecrets and interface friends out of sun.misc
Reviewed-by: alanb, mchung, psandoz, rriggs
2015-09-28 13:39:10 +01:00
Andrei Eremeev
b403bd3715 8081472: Add a mode to the tests for class-file attributes which dumps in-memory sources to disk
Reviewed-by: ksrini
2015-09-28 13:23:35 +03:00
Erik Joelsson
748e8913b9 8136385: Various build speed improvements for windows
Reviewed-by: ihse
2015-09-28 11:39:13 +02:00
Erik Joelsson
8b5e47f2c8 8136385: Various build speed improvements for windows
Reviewed-by: ihse
2015-09-28 11:39:13 +02:00
Erik Joelsson
707898754d 8137088: Drop building of interim_java.corba
Reviewed-by: alanb, ihse
2015-09-28 09:52:20 +02:00
Erik Joelsson
71051d1b92 8137088: Drop building of interim_java.corba
Reviewed-by: alanb, ihse
2015-09-28 09:52:19 +02:00
Erik Joelsson
c28cba0346 8137088: Drop building of interim_java.corba
Reviewed-by: alanb, ihse
2015-09-28 09:52:19 +02:00
Attila Szegedi
b6c3667ca0 8134502: introduce abstraction for basic NodeVisitor usage
Reviewed-by: lagergren, sundar
2015-09-28 08:40:39 +02:00
Sergey Bylokhov
da9e27a018 8135160: Endless Loop in RiffReader
Reviewed-by: prr, amenkov
2015-09-27 00:51:27 +03:00
Sergey Bylokhov
ebf2ca56f0 8079965: Stop ignoring warnings for libawt_lwawt
Reviewed-by: prr, ihse
2015-09-26 22:38:36 +03:00
Sergey Bylokhov
3019b8d259 6646604: Typos in documentation
Reviewed-by: azvegint, amenkov
2015-09-26 20:54:52 +03:00
Lana Steuck
3d26475704 Merge 2015-09-26 09:22:33 -07:00
Lana Steuck
b822fbc494 Merge 2015-09-26 09:22:24 -07:00
Lana Steuck
158b238b20 Merge 2015-09-26 09:22:18 -07:00
Lana Steuck
dc0a64b361 Merge 2015-09-26 09:22:07 -07:00
Lana Steuck
02eb542660 Merge 2015-09-26 09:21:45 -07:00
Lana Steuck
efe976c19f Merge 2015-09-26 09:21:16 -07:00
Lana Steuck
7dc3161e81 Merge 2015-09-26 09:21:07 -07:00
Amanda Jiang
8fb17dea79 8050402: Tests to check for use of policy files
Reviewed-by: mullan
2015-09-26 12:08:55 +03:00
Lana Steuck
498d835505 Added tag jdk9-b83 for changeset 4bd8ea2059a1 2015-09-25 22:59:35 -07:00
Lana Steuck
869652cc3a Added tag jdk9-b83 for changeset a5249bcec60f 2015-09-25 22:59:34 -07:00
Lana Steuck
9ebb978812 Added tag jdk9-b83 for changeset 05623c1ebc99 2015-09-25 22:59:29 -07:00
Lana Steuck
a2dcbc2114 Added tag jdk9-b83 for changeset 6bb586652ad8 2015-09-25 22:59:28 -07:00
Lana Steuck
e7a46491a8 Added tag jdk9-b83 for changeset 0e5cdcb49f0e 2015-09-25 22:59:26 -07:00
Lana Steuck
2540f193ce Added tag jdk9-b83 for changeset 52b527d01e88 2015-09-25 22:59:24 -07:00
Lana Steuck
20e11da413 Added tag jdk9-b83 for changeset ede6e8912b79 2015-09-25 22:59:23 -07:00
Lana Steuck
910bf3bb82 Added tag jdk9-b83 for changeset ea59f7a74aa4 2015-09-25 22:59:22 -07:00
Joe Wang
019303a96b 8135283: DOM API update: Element Traversal Specification
Reviewed-by: mchung, lancea
2015-09-25 16:42:19 -07:00
Ivan Gerasimov
1613e728cc 8137121: (fc) Infinite loop FileChannel.truncate
Reviewed-by: alanb
2015-09-26 00:23:15 +03:00
Attila Szegedi
54f2d18d65 8134488: var statement in if(false) block incorrectly evacuated into enclosing function
Reviewed-by: hannesw, sundar
2015-09-25 17:53:06 +02:00
Attila Szegedi
5115da4b82 8136700: Make sure Context.anonymousHostClasses doesn't grow unbounded
Reviewed-by: hannesw, sundar
2015-09-25 15:57:57 +02:00
Attila Szegedi
f231e5ab06 8134490: Dead var statement evacuation incorrectly descends into nested functions
Reviewed-by: hannesw, mhaupt
2015-09-25 12:46:53 +02:00
Athijegannathan Sundararajan
1a8570ad75 8137134: invokespecial on indirect super interface is generated by Java adapter generator
Reviewed-by: attila, hannesw
2015-09-25 16:01:54 +05:30
Magnus Ihse Bursie
f81eafeacb 8137014: Various improvements in build infrastructure
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Reviewed-by: erikj
2015-09-25 08:58:49 +02:00
Magnus Ihse Bursie
b7de3f0805 8137013: ar (static linker) broken since JDK-8065912
Reviewed-by: erikj
2015-09-25 08:43:21 +02:00
Sergey Bylokhov
8a0268e190 8135122: The SwingUtilities2.COMPONENT_UI_PROPERTY_KEY can be removed
Reviewed-by: azvegint, alexsch
2015-09-25 00:15:58 +03:00
Alejandro Murillo
777227bd66 Merge 2015-09-24 11:38:26 -07:00
Sha Jiang
451024f8df 8075286: Additional tests for signature algorithm OIDs and transformation string
SQE test co-location effort

Reviewed-by: valeriep
2015-09-24 18:16:56 +00:00
Phil Race
d0069e6016 8137059: Run blessed-modifier-order script on client demos and misc. sources
Reviewed-by: jgodinez, serb
2015-09-24 10:11:46 -07:00
Naoto Sato
a463c1a271 8136518: java/util/TimeZone/CLDRDisplayNamesTest.java fails for de
Reviewed-by: okutsu
2015-09-24 09:05:24 -07:00
Rob McKenna
f2143bacd3 8135124: com/sun/jndi/ldap/LdapTimeoutTest.java failed intermittently
Reviewed-by: rriggs
2015-09-24 17:01:33 +01:00
Alexander Stepanov
291002bb8e 8133651: replace some <tt> tags (obsolete in html5) in core-libs docs
Reviewed-by: martin
2015-09-24 18:26:42 +03:00
Roger Riggs
38173b5458 8129744: Documentation in Month refers to quarters
8129556: TemporalAdjusters dayOfWeekInMonth wrongly says "in the same month"

Reviewed-by: chegar, scolebourne
2015-09-24 11:01:01 -04:00
Alexander Stepanov
6c618e48b9 8133651: replace some <tt> tags (obsolete in html5) in core-libs docs
Reviewed-by: martin
2015-09-24 17:07:44 +03:00
Amanda Jiang
1e3b7fe1c2 8050427: LoginContext tests to cover JDK-4703361
Reviewed-by: weijun
2015-09-24 10:23:01 +08:00
Valerie Peng
500cb7ea83 8137068: Tests added in JDK-8048604 fail to compile
Fixed the 2 tests with correct jprt tags

Reviewed-by: xuelei
2015-09-24 01:45:44 +00:00
Tristan Yan
6b149df3f8 8048604: Tests for strong crypto ciphers
SQE test co-location effort

Reviewed-by: valeriep
2015-09-23 21:28:14 +00:00
Joe Darcy
47814c8df0 7130085: Port fdlibm hypot to Java
Reviewed-by: bpb
2015-09-23 14:14:14 -07:00
Phil Race
30aa3bf02f 8133309: Some unicode characters do not display any more after upgrading to Windows 10
Reviewed-by: serb, jgodinez
2015-09-23 14:09:36 -07:00
Roger Riggs
f6878d40ef 8132883: The spec of allChildren/children of j.l.Process/ProcessHandle need to be relaxed
8131763: j.l.Process.allChildren spec clarification

Reviewed-by: chegar
2015-09-23 15:02:46 -04:00
Roger Riggs
4e7617c040 8132541: (process) ProcessBuilder support for redirection to discard output
Add redirect to NUL or /dev/null depending on the OS

Reviewed-by: chegar, martin
2015-09-23 11:18:34 -04:00
Magnus Ihse Bursie
041790cbca 8136813: Log compare.sh output automatically to file
Reviewed-by: erikj
2015-09-23 10:17:38 +02:00
Michael Haupt
f1f609ddaa 8136931: more fine-grained condition checking for BMH species creation
Reviewed-by: psandoz, sundar
2015-09-23 08:43:51 +02:00
Jan Lahoda
1c64d72bb6 8135307: CompletionFailure thrown when calling FieldDoc.type, if the field's type is missing
Handling CompletionFailures inside the Javadoc API implementation.

Reviewed-by: mcimadamore, ksrini, jjg
2015-09-23 08:29:33 +02:00
Kumar Srinivasan
c7b42305e9 8073187: Unexpected side effect in Pack200
Reviewed-by: jrose, sherman
2015-09-22 11:50:40 -07:00
Lance Andersen
07f5079718 8134426: Add serialVersionUID field to relevant javax.transaction classes
Reviewed-by: joehw, alanb
2015-10-01 09:59:16 -04:00
Erik Joelsson
143bf054c0 8138636: bootcycle-images build fails
Reviewed-by: alanb
2015-10-01 09:45:47 +02:00
Naveen Kumar
aef9a19da8 8081794: ParsePosition getErrorIndex returns 0 for TimeZone parsing problem
Reviewed-by: peytoia, okutsu
2015-10-01 15:16:35 +09:00
Rob McKenna
7127fab647 8133249: Occasional SIGSEGV: non thread-safe use of strerr in getLastErrorString
Reviewed-by: igerasim, rriggs, christos
2015-10-01 00:13:09 +01:00
Rob McKenna
ddf365ac99 8135305: InetAddress.isReachable reports true when loopback interface is specified
Reviewed-by: michaelm
2015-10-01 00:09:51 +01:00
Joe Darcy
112eb7283e 8136874: Bug in port of fdlibm pow to Java
Reviewed-by: bpb
2015-09-30 15:25:29 -07:00
Roger Riggs
eda52119fb 8137313: TreeTest.java intermittently fails with a timeout
Enhance debugging information

Reviewed-by: chegar, darcy
2015-09-30 12:33:08 -04:00
Artem Smotrakov
fb9ae3bb10 8137174: NTLM impl should use doPrivileged when it reads system properties
Reviewed-by: chegar
2015-09-30 15:30:50 +03:00
Daniel Fuchs
95b5f4d550 8137289: java/util/logging/DrainFindDeadlockTest.java hangs
Removed timeout=10 from @run command line. added new debug traces.

Reviewed-by: chegar, mchung
2015-09-30 11:17:32 +02:00
Athijegannathan Sundararajan
c192a9a960 8137320: jjs should support @argfile to pass command line arguments from a file
Reviewed-by: attila, hannesw, henryjen
2015-09-30 12:48:32 +05:30
Vyom Tewari
bed7702d83 8038075: JNI warnings in jdk/src/share/native/sun/misc/VMSupport.c
Reviewed-by: rriggs
2015-09-29 19:50:56 +02:00
Doug Lea
df66629e12 8134854: Bulk integration of java.util.concurrent.atomic classes
Reviewed-by: martin, psandoz, chegar
2015-09-29 16:44:29 +01:00
Artem Smotrakov
b47b3ceb6e 8136600: KinitConfPlusProps.java test intermittently fails because PortUnreachableException is missing
Reviewed-by: weijun
2015-09-29 18:01:33 +03:00
Ivan Gerasimov
f3e4326747 8137230: TEST_BUG: java/nio/channels/FileChannel/LoopingTruncate.java timed out
Reviewed-by: rriggs
2015-09-29 17:26:14 +03:00
Alejandro Murillo
79396c340c Merge 2015-09-22 11:01:54 -07:00
Alejandro Murillo
c3f349c444 Merge 2015-09-22 11:01:53 -07:00
James Laskey
8aa6d9f160 8135197: libjimage code needs translation from hotspot-ish to jdk-ish
Reviewed-by: rriggs, chegar
2015-09-22 12:47:40 -03:00
Alexander Scherbatiy
2c3b2dd68e 8133453: Deprecate AWTKeyStroke.registerSubclass(Class) method
Reviewed-by: serb, azvegint
2015-09-22 14:05:37 +04:00
Renjith Alexander
69e41447a6 8132380: Do not create LaF instance in javax/swing/plaf/windows/6921687/bug6921687.java
Reviewed-by: yan, ssadetsky
2015-09-22 12:26:50 +03:00
Athijegannathan Sundararajan
ef8d5d8323 8136894: test/script/currently-failing/gettersetter.js passes, move it out of currently-failing tests
Reviewed-by: hannesw, mhaupt
2015-09-22 14:00:54 +05:30
Athijegannathan Sundararajan
e8aef5c7c8 8136832: property_delete.js tests be moved out from currently-failing
Reviewed-by: attila, lagergren, hannesw
2015-09-22 12:57:15 +05:30
Amanda Jiang
39ca61ab1d 8050461: Tests for syntax checking of JAAS configuration file
Reviewed-by: weijun
2015-09-22 09:34:01 +08:00
Jesper Wilhelmsson
7f7b300f89 Merge 2015-09-21 17:49:57 +02:00
Harold Seigel
d01e8e3c74 8135265: VM fails on 'empty' interface public <init>()V method with VerifyError
Don't check for calls to super() or this() fro <init>()V methods if they are in interfaces.  Because, they are not ctors.

Reviewed-by: acorn, gtriantafill
2015-09-22 14:24:31 -04:00
Harold Seigel
1890d7a430 8135208: VM permits illegal <clinit> access_flags, versions 51-52
Check access flags for <clinit> methods that are not class init methods.

Reviewed-by: kamg, gtriantafill
2015-09-22 09:48:19 -04:00
Andreas Lundblad
6238d40db4 8135131: Enable thin server mode in Sjavac
State tracknig and incremental compilation disabled unless --state-dir is provided.

Reviewed-by: jlahoda
2015-09-21 11:19:10 +02:00
Andreas Lundblad
f36bb2dcf9 8135131: Enable thin server mode in Sjavac
Added --state-dir to sjavac command

Reviewed-by: erikj
2015-09-21 11:01:19 +02:00
Magnus Ihse Bursie
e6b91586aa 8136764: ORIGINAL_PATH is broken if PATH contains directory with "#" in it's name
Reviewed-by: erikj, tbell
2015-09-21 09:40:37 +02:00
Magnus Ihse Bursie
19b025dd98 8136695: Automatic build comparison with COMPARE_BUILD
Reviewed-by: erikj
2015-09-21 09:32:07 +02:00
Phil Race
4560ea4305 8136783: Run blessed-modifier-order script on java.desktop
Reviewed-by: martin, serb
2015-09-19 15:45:59 -07:00
Hannes Wallnöfer
008b5c0ad9 8135190: Method code too large in Babel browser.js script
Reviewed-by: attila, sundar
2015-09-19 16:04:28 +02:00
Tagir Valeev
94ba18f8b4 8136686: Collectors.counting can use Collectors.summingLong to reduce boxing
Reviewed-by: psandoz
2015-09-19 15:26:34 +02:00
Lana Steuck
0add33def0 Merge 2015-09-18 14:21:46 -07:00
Lana Steuck
3cea33feaf Merge 2015-09-18 14:21:34 -07:00
Lana Steuck
23f35b163b Merge 2015-09-18 14:21:22 -07:00
Lana Steuck
cb2378ab3e Merge 2015-09-18 14:21:17 -07:00
Lana Steuck
9739c41401 Merge 2015-09-18 14:20:39 -07:00
Lana Steuck
ff9a79a1fb Merge 2015-09-18 14:20:00 -07:00
Lana Steuck
d3a909e8b7 Merge 2015-09-18 14:19:53 -07:00
Phil Race
68a1bc4701 Merge 2015-09-18 11:31:15 -07:00
Phil Race
c79e901452 Merge 2015-09-18 11:24:54 -07:00
Lana Steuck
7ccace98c4 Added tag jdk9-b82 for changeset a86fb74acc8d 2015-09-18 10:46:55 -07:00
Lana Steuck
b0efd22743 Added tag jdk9-b82 for changeset 618ea3c86a0d 2015-09-18 10:46:52 -07:00
Lana Steuck
b2e566d600 Added tag jdk9-b82 for changeset 52b8dc62da42 2015-09-18 10:46:43 -07:00
Lana Steuck
dbbb1420d8 Added tag jdk9-b82 for changeset b68be96f610f 2015-09-18 10:46:41 -07:00
Lana Steuck
ac000082aa Added tag jdk9-b82 for changeset acf15a2d7492 2015-09-18 10:46:40 -07:00
Lana Steuck
195d26d824 Added tag jdk9-b82 for changeset f4a20c54ec40 2015-09-18 10:46:35 -07:00
Lana Steuck
7859a78067 Added tag jdk9-b82 for changeset cb0d57f09cdd 2015-09-18 10:46:34 -07:00
Lana Steuck
a0872dbcfe Added tag jdk9-b82 for changeset 57f442b702f2 2015-09-18 10:46:33 -07:00
Sean Coffey
4becd274ed 8077874: [TESTBUG] com/sun/corba/cachedSocket/7056731.sh should not be run on JRE
Reviewed-by: chegar
2015-09-18 18:19:44 +01:00
Vinnie Ryan
5d5ef39f51 8136534: Loading JKS keystore using non-null InputStream results in closed stream
Reviewed-by: mullan, wetmore
2015-09-18 17:54:28 +01:00
Phil Race
209f1b7d18 Merge 2015-09-18 09:21:07 -07:00
Phil Race
ec5f966a54 Merge 2015-09-18 09:18:17 -07:00
Miroslav Kos
08633d3fe9 8131667: JAX-WS Plugability Layer: using java.util.ServiceLoader
Reviewed-by: alanb
2015-09-18 13:46:58 +02:00
Roger Riggs
9d5cbc5fbc 8132735: java/lang/ProcessHandle/TreeTest failed with java.lang.AssertionError: Start with zero children
Revise test to only operate on processes it spawns

Reviewed-by: chegar
2015-09-17 22:46:04 -04:00
Roger Riggs
0d17c738d7 Merge 2015-09-17 22:46:02 -04:00
Rob McKenna
64d414469c 8129957: Deadlock in JNDI LDAP implementation when closing the LDAP context
Reviewed-by: vinnie
2015-09-17 22:59:48 +01:00
Joe Darcy
67603e6d54 8134795: Port fdlibm pow to Java
Reviewed-by: bpb
2015-09-17 13:43:06 -07:00
Roger Riggs
6eb869c3d6 Merge 2015-09-17 13:33:33 -04:00
Alejandro Murillo
9261774b5b Merge 2015-09-17 09:19:40 -07:00
Alejandro Murillo
5ef8af7bec Merge 2015-09-17 09:19:39 -07:00
Volker Simonis
d33fffce04 8136690: AIX: libjimage should be linked with the C++ compiler
Reviewed-by: ihse
2015-09-17 18:04:53 +02:00
Martin Buchholz
dd82c77c58 8136656: Check in blessed-modifier-order.sh
Reviewed-by: ihse, chegar
2015-09-17 08:55:39 -07:00
Athijegannathan Sundararajan
c2898271c9 8136694: Megemorphic scope access does not throw ReferenceError when property is missing
Reviewed-by: attila, hannesw
2015-09-17 18:23:53 +05:30
Martin Buchholz
623caa1da9 8136570: Stop changing user environment variables related to /usr/dt
4953367: MAWT: Java should be more careful manipulating NLSPATH, XFILESEARCHPATH env variables

Stop changing user environment variables: NLSPATH XFILESEARCHPATH

Reviewed-by: prr
2015-09-16 10:49:11 -07:00
Vyom Tewari
681e6b478b 8073542: File Leak in jdk/src/java/base/unix/native/libnet/PlainDatagramSocketImpl.c
Ensure that file descriptor is properly closed if setsockopt fails.

Reviewed-by: chegar, igerasim
2015-09-17 17:33:00 +02:00
Weijun Wang
d9f30b845c 8136436: jarsigner tests include both a warnings.sh and a warnings subdir
Reviewed-by: xuelei
2015-09-17 10:37:39 +08:00
Stuart Marks
343e882e7f 8072722: add stream support to Scanner
Reviewed-by: psandoz, chegar, sherman
2015-09-16 16:24:35 -07:00
Attila Szegedi
f74c628ffe 8136647: Syntactic error accidentally left in JDK-8135251 changeset
Reviewed-by: sundar
2015-09-16 18:44:47 +02:00
Attila Szegedi
7d849fd622 8135251: Use Unsafe.defineAnonymousClass for loading Nashorn script code
Reviewed-by: hannesw, lagergren, sundar
2015-09-16 18:34:10 +02:00
Daniil Titov
0b454ad041 8134808: Remove support for serialized applets from java.desktop
Reviewed-by: serb, azvegint
2015-09-16 18:34:38 +03:00
Attila Szegedi
fd8fa9290c 8135251: Use Unsafe.defineAnonymousClass for loading Nashorn script code
Reviewed-by: alanb, lagergren, sundar
2015-09-16 16:54:22 +02:00
Hannes Wallnöfer
f4e6cd073f 8134609: Allow constructors with same prototoype map to share the allocator map
Reviewed-by: attila, sundar
2015-09-16 14:42:32 +02:00
Athijegannathan Sundararajan
1b10b826d8 8136544: Call site switching to megamorphic causes incorrect property read
Reviewed-by: attila, mhaupt
2015-09-16 16:26:30 +05:30
Magnus Ihse Bursie
7bb1b6ad7c 8136378: Build test libs using properly integrated makefile
Use 'make build-test-lib' in top repo instead

Reviewed-by: erikj
2015-09-16 09:49:36 +02:00
Semyon Sadetsky
450cdf7f65 8131670: [TEST_BUG]Test java/awt/EventQueue/6980209/bug6980209.java fails on Linux
Reviewed-by: alexsch, serb
2015-09-16 10:32:46 +03:00
Semyon Sadetsky
ffb466574f 8014725: closed/java/awt/Clipboard/HTMLTransferTest/HTMLTransferTest.html failed intermittently
Reviewed-by: alexsch, azvegint
2015-09-16 10:22:42 +03:00
Semyon Sadetsky
265ab8bd4c 8130471: [Regression] Test java/awt/Mouse/MouseModifiersUnitTest/MouseModifiersUnitTest_Extra.java fails
Reviewed-by: alexsch, serb
2015-09-16 10:16:16 +03:00
Semyon Sadetsky
31f16f421e 8133108: [PIT] Container size is wrong in JEditorPane
Reviewed-by: alexsch, azvegint
2015-09-16 10:11:14 +03:00
Semyon Sadetsky
968c43c3fa 8133803: Swing JFileChooserBug2 test fais with MotifLookAndFeel
Reviewed-by: alexsch, serb
2015-09-16 10:05:34 +03:00
Semyon Sadetsky
5cdd8bd3c6 8129838: [macosx] Regression: NPE in java.awt.Choice
Reviewed-by: alexsch, azvegint
2015-09-16 10:01:24 +03:00
Martin Buchholz
a2f0fe3c94 8136583: Core libraries should use blessed modifier order
Run blessed-modifier-order script (see bug)

Reviewed-by: psandoz, chegar, alanb, plevart
2015-09-15 21:56:04 -07:00
Sean Mullan
b09c2b1601 Merge 2015-09-16 08:24:40 -04:00
Sean Mullan
d323a04105 8015388: Required algorithms for JDK 9
Reviewed-by: jnimeh, wetmore, xuelei
2015-09-16 08:23:37 -04:00
Sean Coffey
6eb997e90c 8133535: Better exception messaging in Ucrypto code
Reviewed-by: igerasim
2015-09-16 12:23:25 +01:00
Roger Riggs
1b8b6a4655 8133528: java/lang/ProcessHandle/OnExitTest.java fails intermittently
Remove checks for processes not spawned by the test

Reviewed-by: joehw
2015-09-15 22:11:00 -04:00
Joe Darcy
a48c66ffbf 8136506: Include sun.arch.data.model as a property that can be queried by jtreg
Reviewed-by: alanb
2015-09-15 15:10:49 -07:00
Alejandro Murillo
be00b5356a Merge 2015-09-15 11:47:50 -07:00
Erik Joelsson
8feb75af0b 8136383: Improve make utilities containing and not-containing
Reviewed-by: ihse
2015-09-15 18:00:21 +02:00
Alejandro Murillo
6ee248ddf1 Merge 2015-09-15 07:47:44 -07:00
Alejandro Murillo
dd319ca29f Merge 2015-09-15 07:47:44 -07:00
Alejandro Murillo
a88d71e701 Merge 2015-09-15 07:47:44 -07:00
Athijegannathan Sundararajan
9698127af3 8080501: javaarrayconversion.js test is flawed
Reviewed-by: attila, hannesw
2015-09-15 19:31:24 +05:30
Jesper Wilhelmsson
b1050ba777 Merge 2015-09-15 15:49:33 +02:00
Jesper Wilhelmsson
7a5ab8f877 Merge 2015-09-15 15:49:30 +02:00
Maurizio Cimadamore
981c6dc298 8078093: Severe compiler performance regression Java 7 to 8 for nested method invocations
Add infrastructure to avoid combinatorial explosion of method argument attributions

Reviewed-by: jlahoda, vromero, dlsmith
2015-09-15 13:43:44 +01:00
Alexander Scherbatiy
e643aeb178 8029339: Custom MultiResolution image support on HiDPI displays
Reviewed-by: flar, serb
2015-09-15 15:31:34 +04:00
Frank Yuan
371edc6684 8074931: Additional tests for CertPath API
Reviewed-by: mullan
2015-09-15 12:43:12 +03:00
Jiangli Zhou
ea76ede582 8135097: Unmap failure for executable memory on windows
Use 'pd_release_memory' for executable memory in os::pd_unmap_memory().

Reviewed-by: iklam, coleenp
2015-09-14 14:55:01 -04:00
Phil Race
9baa352891 8136397: Build should recognise .cc file extension
Reviewed-by: ihse
2015-09-14 10:56:55 -07:00
Artem Smotrakov
b8e4ae8476 8048622: Enhance tests for PKCS11 keystores with NSS
Reviewed-by: vinnie
2015-09-14 19:54:58 +03:00
Artem Smotrakov
f1f48ab0d3 8134232: KeyStore.load() throws an IOException with a wrong cause in case of wrong password
Reviewed-by: vinnie
2015-09-14 19:49:28 +03:00
Phil Race
e1ca4d3a94 Merge 2015-09-14 09:40:24 -07:00
Phil Race
071469987b Merge 2015-09-14 09:33:37 -07:00
Ambarish Rapte
b6f5a1c457 8039467: [TEST_BUG] Test java/awt/Choice/UnfocusableToplevel/UnfocusableToplevel.java lefts keystrokes in a keyboard buffer on Windows
Reviewed-by: serb, alexsch
2015-09-14 18:54:04 +04:00
Alexander Kulyakhtin
fb955a7eff 8134641: CodelistTest.java fails with sun.misc.Unsafe.getUnsafe
Excluding lines containing sun.misc.Unsafe.getUnsafe from the test input as getUnsafe is hidden from reflection

Reviewed-by: sla
2015-09-14 14:26:29 +03:00
Athijegannathan Sundararajan
cf428a3931 8055917: jdk.nashorn.internal.codegen.CompilationPhase$N should be renamed to proper classes
Reviewed-by: attila, hannesw
2015-09-14 16:13:10 +05:30
Maurizio Cimadamore
379f2540aa 8077306: Recursive implementation of List.map leads to stack overflow
Recusrive implementation of List.map uses too much stack; switch to iterative version.

Reviewed-by: jlahoda
2015-09-14 11:26:14 +01:00
Alexander Stepanov
8638372992 8133650: replace some <tt> tags (obsolete in html5) in CORBA docs
Reviewed-by: lancea
2015-09-13 23:31:47 +03:00
Weijun Wang
20b057fc29 8136425: KeystoreImpl.m using wrong type for cert format
Reviewed-by: vinnie
2015-09-13 10:55:58 +08:00
Lana Steuck
b95f5342cf Merge 2015-09-11 13:01:23 -07:00
Lana Steuck
7c2b74e8c0 Merge 2015-09-11 13:00:54 -07:00
Lana Steuck
888faab944 Merge 2015-09-11 13:00:20 -07:00
Lana Steuck
fef5b70b3f Merge 2015-09-11 12:59:54 -07:00
Lana Steuck
9384d63e9b Merge 2015-09-11 12:59:45 -07:00
Derek White
23813ce92e 8066821: Enhance command line processing to manage deprecating and obsoleting -XX command line arguments
Add support for alias options and automatically expiring deprecated options

Reviewed-by: dholmes, kbarrett, acorn
2015-09-11 15:31:03 -04:00
Volker Simonis
26254f4645 8135179: Fix conversion warning after 8067341
Add required casts.

Reviewed-by: tschatzl, goetz
2015-09-21 10:45:41 +02:00
Ioi Lam
e5b80181d8 8065155: Refactor Hotspot mapfiles
Moved common exported functions to make/share/makefiles/mapfile-vers

Reviewed-by: ihse, bdelsart
2015-09-18 09:48:49 -07:00
Aleksey Shipilev
bbc043a7f2 8135085: Change Method::_intrinsic_id from u1 to u2
Convert Method::_intrinsic_id from u1 to u2 to expand id range over 255.

Reviewed-by: coleenp, iklam, jiangli
2015-09-18 13:41:11 -07:00
Harold Seigel
e7ed6bff90 8132904: Type checking verifier fails to reject assignment from array to an interface
Only allow assignment if interface is Cloneable or Serializable.

Reviewed-by: kamg, gtriantafill, jiangli
2015-09-18 07:01:23 -04:00
Mikael Gerdin
34a6b43988 8136701: Remove YOUNG_LIST_VERBOSE code from G1CollectedHeap
Reviewed-by: stefank, jwilhelm
2015-09-17 16:07:06 +02:00
Kim Barrett
b78e96713b 8136627: Backout JDK-8133818 Additional number of processed references printed with -XX:+PrintReferenceGC after JDK-8047125
Reviewed-by: brutisso
2015-09-16 16:25:02 +02:00
Jesper Wilhelmsson
b0b89c5b41 Merge 2015-09-15 15:49:33 +02:00
Lana Steuck
92865eb607 Added tag jdk9-b81 for changeset a62e4c149f6f 2015-09-11 10:26:42 -07:00
Lana Steuck
ee7b252af5 Added tag jdk9-b81 for changeset 98687c25039e 2015-09-11 10:26:41 -07:00
Lana Steuck
dcb60cb825 Added tag jdk9-b81 for changeset 4d6ea5ca32e7 2015-09-11 10:26:37 -07:00
Lana Steuck
d615a155bc Added tag jdk9-b81 for changeset f036508e86e7 2015-09-11 10:26:35 -07:00
Lana Steuck
469ab7204e Added tag jdk9-b81 for changeset 46bc210b1240 2015-09-11 10:26:35 -07:00
Lana Steuck
b46b70bba7 Added tag jdk9-b81 for changeset 6675700073c1 2015-09-11 10:26:29 -07:00
Lana Steuck
942e28100b Added tag jdk9-b81 for changeset 4a3398484f87 2015-09-11 10:26:28 -07:00
Lana Steuck
e0be3e5ec1 Added tag jdk9-b81 for changeset 13c2ca2ea10a 2015-09-11 10:26:27 -07:00
Maurizio Cimadamore
9f6a7922f7 8135246: CheckAttributedTree silently generates spurious compiler error
Cyclic inheritance errors should cause shared combo context to be thrown away

Reviewed-by: jlahoda
2015-09-11 16:27:20 +01:00
Pooja Chopra
da688f57c3 8136354: [TEST_BUG] Test java/awt/image/RescaleOp/RescaleAlphaTest.java with Bad action for script
Reviewed-by: azvegint, serb
2015-09-11 17:58:31 +03:00
Roger Riggs
ed3d59c71a 8133552: java/lang/ProcessHandle/InfoTest.java fails intermittently - incorrect user
8133809: Remove java/lang/ProcessHandle/InfoTest.java from the Problem List

Reviewed-by: darcy, chegar, simonis
2015-09-11 09:25:15 -04:00
Rajeev Chamyal
9c7443b15a 8025082: The behaviour of the highlight will be lost after clicking the set button
Reviewed-by: serb, alexsch
2015-09-11 17:12:16 +04:00
Sergey Bylokhov
cedeb84725 7131835: [TEST_BUG] Test does not consider that the rounded edges of the window in Mac OS 10.7
Reviewed-by: azvegint, yan
2015-09-11 15:03:53 +03:00
Artem Smotrakov
4a6c0df004 8075299: Additional tests for 6857795
Reviewed-by: weijun
2015-09-11 13:44:30 +03:00
Ahmed Ashour
8be3c2c042 8136349: Typos patch for nashorn sources submitted on Sep 10, 2015
Reviewed-by: hannesw, mhaupt, lagergren, attila
2015-09-11 15:43:36 +05:30
Magnus Ihse Bursie
605dac90e2 8064808: Disable use of broken objcopy on Solaris, remove adhoc helper tools
Reviewed-by: erikj
2015-09-11 10:06:10 +02:00
Magnus Ihse Bursie
d50c38edf7 8064808: Disable use of broken objcopy on Solaris, remove adhoc helper tools
Reviewed-by: erikj
2015-09-11 10:05:49 +02:00
Naoto Sato
ed2b735ba0 8134915: Improve performance of CLDRLocaleProviderAdapter.getCandidateLocales
Reviewed-by: okutsu
2015-09-10 16:50:39 -07:00
Alejandro Murillo
556157743b Merge 2015-09-10 14:55:20 -07:00
Alejandro Murillo
9374360851 Merge 2015-09-10 14:55:19 -07:00
Alejandro Murillo
10b4e2586d Merge 2015-09-10 14:55:18 -07:00
Jan Lahoda
25d64eb4bc 8132885: langtools/test/tools/javac/sym/ElementStructureTest.java is also searching default classpath
Explicitly setting classpath when inspecting the platform classes; using the java.util.ServiceLoader instead of the javac's copy

Reviewed-by: jjg
2015-09-10 21:10:20 +02:00
Christoph Langer
981fa17133 8134505: Cleanup of "TimeZone_md.c"
Reviewed-by: rriggs, dsamersoff, simonis
2015-09-10 17:56:24 +02:00
Vyom Tewari
7c9b107d1f 8080402: File Leak in jdk/src/java.base/share/classes/sun/net/sdp/SdpSupport.java
Reviewed-by: alanb, chegar, igerasim, msheppar
2015-09-10 17:14:59 +02:00
Athijegannathan Sundararajan
65dd9df8c9 8135332: ScriptFunction constructor should use is bound and is strict check rather than checking for 'arguments' and 'caller'
Reviewed-by: attila, hannesw
2015-09-10 19:09:23 +05:30
Attila Szegedi
4206843153 8135337: NativeDebug.dumpCounters with incorrect scope count
Reviewed-by: hannesw, sundar
2015-09-10 15:28:05 +02:00
Attila Szegedi
0ec14b759a 8135336: Fix broken build after JDK-8135262
Reviewed-by: hannesw, sundar
2015-09-10 15:24:39 +02:00
Rajeev Chamyal
08da3be647 8032568: Test javax/swing/JInternalFrame/8020708/bug8020708.java fails on Windows virtual hosts
Reviewed-by: serb, alexsch
2015-09-10 17:02:30 +04:00
Attila Szegedi
b43c9b8cda 8135262: Sanitize CodeInstaller API
Reviewed-by: hannesw, sundar
2015-09-10 14:00:27 +02:00
Hannes Wallnöfer
14a6271417 8134569: Add tests for prototype callsites
Reviewed-by: attila, sundar
2015-09-10 13:50:04 +02:00
Hannes Wallnöfer
bc7be8c881 8135000: Number.prototype.toFixed returns wrong string for 0.5 and -0.5
Reviewed-by: attila, sundar
2015-09-10 13:46:45 +02:00
Volker Simonis
7beac309c0 8135271: Add missing "-client IGNORE" to jvm.cfg file for ppc64
Reviewed-by: rriggs
2015-09-10 11:44:14 +02:00
Naoto Sato
d908516aaf 8134384: Continuation of JDK-8130845 : A date string created by Date#toString() is not parseable neither with ENGLISH, US nor ROOT locale
Reviewed-by: okutsu
2015-09-09 18:17:44 -07:00
Tristan Yan
be7be7ae93 8044199: Tests for RSA keys and key specifications
Added various tests for SunRsaSign provider

Reviewed-by: valeriep
2015-09-09 21:57:38 +00:00
Roger Riggs
aeb4acfb60 8135094: (process) java/lang/ProcessHandle/InfoTest fails testing commandLine()
Reviewed-by: chegar, simonis
2015-09-09 16:12:55 -04:00
Anton Nashatyrev
cb34d07ae1 8081485: EDT auto shutdown is broken in case of new event queue usage
Reviewed-by: serb, alexp
2015-09-09 19:10:38 +03:00
Alejandro Murillo
6a3d511525 Merge 2015-09-09 08:33:14 -07:00
Ivan Gerasimov
50aa8839d5 8072466: Deadlock when initializing MulticastSocket and DatagramSocket
Reviewed-by: chegar
2015-09-09 16:33:19 +03:00
Athijegannathan Sundararajan
01de8c1714 8027137: Merge ScriptFunction and ScriptFunctionImpl
Reviewed-by: attila, hannesw, mhaupt
2015-09-09 17:19:46 +05:30
Artem Smotrakov
b259dd24ea 8134708: Certpath validation fails to load certs and CRLs if AIA and CRLDP extensions point to LDAP resources
Reviewed-by: mullan, coffeys
2015-09-09 12:39:45 +03:00
David Holmes
f032aa1311 8133611: Remove java/util/concurrent/locks/ReentrantLock/TimeoutLockLoops.java from problem list
Reviewed-by: darcy
2015-09-09 04:02:59 -04:00
Magnus Ihse Bursie
4ce6bdb54e 8135180: Print configure arguments using make print-configuration
Reviewed-by: erikj
2015-09-09 09:44:57 +02:00
Magnus Ihse Bursie
16142c17e4 8065912: Better handling of classpath in build-infra
Reviewed-by: erikj
2015-09-09 09:36:48 +02:00
Magnus Ihse Bursie
08ef9ddd4e 8065912: Better handling of classpath in build-infra
Reviewed-by: erikj
2015-09-09 09:36:46 +02:00
Magnus Ihse Bursie
54b0810371 8065912: Better handling of classpath in build-infra
Reviewed-by: erikj
2015-09-09 09:36:39 +02:00
Shilpi Rastogi
5ecb0a7e9e 8005914: [TEST_BUG] The last column header does not contain "..."
Reviewed-by: alexsch, serb
2015-09-09 10:31:59 +03:00
Alejandro Murillo
09ff302704 Merge 2015-09-08 15:39:53 -07:00
Alejandro Murillo
da29ed2a94 Merge 2015-09-08 15:39:51 -07:00
Phil Race
b60c555aae Merge 2015-09-08 15:19:19 -07:00
Valerie Peng
bdf6ed0fd2 8135099: 9-dev solaris builds failed on 2015-09-04
Fixed the compilation warning which broken the build.

Reviewed-by: vinnie
2015-09-08 22:14:25 +00:00
Phil Race
f39c6aeb63 Merge 2015-09-08 14:40:44 -07:00
Phil Race
c878c1a59f Merge 2015-09-08 14:40:19 -07:00
Vicente Romero
2169a5eefd 8073594: javac, before calling rawInstantiate from selectBest the warner should be cleared out
Reviewed-by: jlahoda
2015-09-08 11:59:25 -07:00
Vicente Romero
0c3e27483f 8135203: javac, patch intended for an issue was pushed with wrong id and message
Reviewed-by: jjg
2015-09-08 11:53:17 -07:00
Phil Race
d69a0641fd Merge 2015-09-08 11:47:07 -07:00
Vicente Romero
772ca1b431 8132806: javac does a naive implementation of some incorporation steps
Reviewed-by: jlahoda
2015-09-08 10:36:44 -07:00
Roland Westrelin
404fc5caa8 8134974: 8130847 broken with loop predicates
Pinned eliminated arraycopy loads in uncommon trap path for loop predicates may need to be moved

Reviewed-by: kvn
2015-09-08 19:19:08 +02:00
Roland Westrelin
8dd169a71f 8135069: C2 replaces range checks by unsigned comparison with -1
I < 0 || i > -1 wrongly folded as i >u -1

Reviewed-by: kvn
2015-09-11 16:56:56 +02:00
Tobias Hartmann
a6ab162873 Merge 2015-09-14 09:11:03 +00:00
Tobias Hartmann
6479241f4a 8135252: IdealLoopTree::dump_head() prints negative trip count
IdealLoopTree::dump_head() should not cast float to int.

Reviewed-by: kvn
2015-09-14 10:00:26 +02:00
Tobias Hartmann
662e39edbb Merge 2015-09-14 07:03:04 +00:00
Tobias Hartmann
3780022a87 8080999: MemoryPoolMXBean.getUsageThresholdCount() returns incorrect value
Fixed race condition in the JMX code for the LowMemoryDetector.

Reviewed-by: kvn
2015-09-14 07:02:50 +02:00
Michael Berg
d67924dc8e 8132160: support for AVX 512 call frames and stack management
Simplify save/restore frame on x86 systems which support EVEX.

Reviewed-by: kvn, iveresov
2015-09-11 17:02:44 -07:00
Kirill Zhaldybin
9f9739c156 8132980: Improve stability of whitebox methods getCodeBlob and freeCodeBlob
Added checks for negative and null size and address values (where applicable) for getCodeBlob, allocateCodeBlob and freeCodeBlob, added regression test

Reviewed-by: iignatyev
2015-09-11 16:11:07 +03:00
Jesper Wilhelmsson
1736e104a1 Merge 2015-09-08 16:10:37 +02:00
Jesper Wilhelmsson
b395bb9193 Merge 2015-09-08 16:10:36 +02:00
Jesper Wilhelmsson
a97c863c3d Merge 2015-09-08 16:10:36 +02:00
Jesper Wilhelmsson
727c75aa2b Merge 2015-09-08 16:10:09 +02:00
Andrew Haley
518c5cacbc 8135157: DMB elimination in AArch64 C2 synchronization implementation
Reduce memory barrier usage in C2 fast lock and unlock.

Co-authored-by: Wei Tang <wei.tang@linaro.org>
Reviewed-by: kvn
2015-09-08 14:08:58 +01:00
Igor Veresov
e88940fae6 Merge 2015-09-10 17:56:43 -07:00
Michael Berg
e75f5a5cde 8135028: support for vectorizing double precision sqrt
Reviewed-by: kvn, twisti
2015-09-09 10:34:17 -07:00
Shilpi Rastogi
61cfd94c6c 8135176: Moving test from javax/swing/plaf/basic/BasicHTML/4960629 to test/javax/swing/plaf/basic/BasicHTML/4960629
Reviewed-by: azvegint, alexsch
2015-09-08 16:01:29 +04:00
Renjith Alexander
4130b71ce6 8133027: [Jigsaw] Test java/awt/PrintJob/Text/stringwidth.sh fails during compilation
Reviewed-by: yan, serb
2015-09-08 11:28:16 +03:00
Sergey Bylokhov
36dd709439 8134947: [macosx] Various memory leaks in Aqua look and feel
Reviewed-by: azvegint, alexsch
2015-09-07 23:57:21 +03:00
Sergey Bylokhov
6fe3341869 8060027: Tests java/beans/XMLEncoder/Test4903007.java and java/beans/XMLEncoder/java_awt_GridBagLayout.java
Reviewed-by: alexsch
2015-09-07 23:29:56 +03:00
Igor Veresov
f48eceb393 Merge 2015-09-07 13:28:41 -07:00
Igor Ignatyev
be3feab2ef Merge 2015-09-07 20:03:56 +02:00
Athijegannathan Sundararajan
43250a33e1 8135151: jjs should work in cygwin environment
Reviewed-by: attila, hannesw
2015-09-07 20:07:03 +05:30
Shilpi Rastogi
8ccf075f78 7124238: [macosx] Font in BasicHTML document is bigger than it should be
Reviewed-by: azvegint, alexsch
2015-09-07 17:07:06 +03:00
Renjith Alexander
dc25f76093 8133539: [TEST_BUG] Split java/awt/image/MultiResolutionImageTest.java in two to allow restricted access
Reviewed-by: alexsch, serb
2015-09-07 13:48:24 +03:00
Attila Szegedi
bb5c8037e7 8135075: Reorder short-circuit tests in ApplySpecialization to run cheapest first
Reviewed-by: hannesw, mhaupt, sundar
2015-09-07 11:11:41 +02:00
Vyom Tewari
d9d52a27f0 8080486: JNI exception pending in jdk/src/java.base/windows/native/libnet/DualStackPlainSocketImpl.c
Reviewed-by: alanb, chegar, igerasim
2015-09-07 10:37:00 +02:00
Brian Burkhalter
005143e035 8135091: (fs) java/nio/file/Files/StreamLinesTest.java should test empty files
In lines() add zero length case and rearrange first loop to avoid duplicate cases.

Reviewed-by: rriggs
2015-09-04 14:16:34 -07:00
Valerie Peng
2f2b4c27ee 8130875: Ucrypto library leaks memory when null output buffer is specified
Avoid null output buffer to work around Solaris memory leak bug in Ucrypto library

Reviewed-by: ascarpino
2015-09-04 19:55:40 +00:00
Jim Laskey
953b4a3225 8087181: Move native jimage code to its own library (maybe libjimage)
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Reviewed-by: alanb, lfoltan, hseigel, acorn
2015-09-04 10:11:43 -03:00
Athijegannathan Sundararajan
cb025d0a9a 8135054: Add more samples to nashorn samples directory
Reviewed-by: mhaupt, hannesw
2015-09-04 17:11:06 +05:30
Andreas Lundblad
ab159bb1f7 8129114: Sjavac should stream back compiler output to the client as soon as it becomes available
Protocol revised, javac output sent back to client slightly earlier.

Reviewed-by: jlahoda
2015-09-04 13:24:15 +02:00
Nils Eliasson
559bf7ef6e 8135067: Preparatory refactorings for compiler control
Extract CompileTask and clean up

Reviewed-by: roland
2015-09-04 12:47:57 +02:00
Jaroslav Bachorik
d9e40f6803 8134420: sun/tools/jps/TestJpsClass fails with java.lang.RuntimeException: The line 'line 2' does not match pattern '^\\d+\\s+.*': expected true, was false
Reviewed-by: sla, dsamersoff
2015-09-04 12:18:03 +02:00
Jamil Nimeh
60cdefbf44 8134364: Add defensive copies to get/set methods for OCSPNonceExtension
Make OCSPNonceExtension immutable, add defensive copies

Reviewed-by: xuelei, mullan
2015-09-04 09:31:47 -07:00
Valerie Peng
a8cbc27bce 8132082: Let OracleUcrypto accept RSAPrivateKey
Reviewed-by: xuelei, valeriep, coffeys
2015-09-04 15:28:01 +03:00
Prasanta Sadhukhan
227dff5f02 8134476: Broken Hyperlink in JDK 8 java.awt.Font javadocs
Reviewed-by: prr, serb
2015-09-04 12:51:39 +03:00
Martin Buchholz
1ca92688c1 8135048: XSLT.java test fails after changes for JDK-8134984
Hg revert -r 'c22b7e41adf3^' test/javax/xml/jaxp/parsers/8032909

Reviewed-by: darcy
2015-09-03 18:36:42 -07:00
Lana Steuck
21ad3ccd0d Merge 2015-09-03 16:14:47 -07:00
Lana Steuck
cbb7abea24 Merge 2015-09-03 16:14:02 -07:00
Lana Steuck
e405645f6f Merge 2015-09-03 16:13:49 -07:00
Lana Steuck
c7660cb9fe Merge 2015-09-03 16:12:42 -07:00
Lana Steuck
8fd9a9e99e Merge 2015-09-03 16:11:51 -07:00
Alejandro Murillo
49078fbb09 Merge 2015-09-03 15:48:24 -07:00
Ahmed Khawaja
7d308d2023 8132081: C2 support for Adler32 on SPARC
Add C2 instrinsic support for Adler32 checksum on SPARC.

Reviewed-by: kvn
2015-09-03 15:04:05 -07:00
Ahmed Khawaja
d7b8032741 8132081: C2 support for Adler32 on SPARC
Add C2 instrinsic support for Adler32 checksum on SPARC.

Reviewed-by: kvn
2015-09-03 15:03:12 -07:00
Igor Veresov
20b11ddd88 8135035: Reverse changes from 8075093
8075093 turn on FPU spilling that need to be stabilized first

Reviewed-by: kvn
2015-09-03 14:29:08 -07:00
David Katleman
32b3bd0b28 Added tag jdk9-b80 for changeset 68c59ce3ed28 2015-09-03 14:24:47 -07:00
David Katleman
0e15d220c7 Added tag jdk9-b80 for changeset 2bc845318e4b 2015-09-03 14:24:46 -07:00
David Katleman
3d3eb37300 Added tag jdk9-b80 for changeset d6e71f67a221 2015-09-03 14:24:44 -07:00
David Katleman
7e0c2bfb34 Added tag jdk9-b80 for changeset 56a580f0c008 2015-09-03 14:24:43 -07:00
David Katleman
853f5f52d3 Added tag jdk9-b80 for changeset f194dcc2556d 2015-09-03 14:24:43 -07:00
David Katleman
22738ee63d Added tag jdk9-b80 for changeset 6d09f17e30a9 2015-09-03 14:24:41 -07:00
David Katleman
da35f16dac Added tag jdk9-b80 for changeset 20f5e1575704 2015-09-03 14:24:41 -07:00
David Katleman
8b980c4286 Added tag jdk9-b80 for changeset 183cef6aab95 2015-09-03 14:24:40 -07:00
Michael Haupt
0aac86c3bb Merge 2015-09-03 19:54:06 +02:00
Sergey Bylokhov
1efc947d2a 8080948: [TEST_BUG] Few test cases are failing due to use of getPeer()
Reviewed-by: prr, yan, alexsch
2015-09-03 19:19:15 +03:00
Athijegannathan Sundararajan
70993527ee 8087292: nashorn should have a "fail-fast" option for scripting, analog to bash "set -e"
Reviewed-by: hannesw, jlaskey, mhaupt
2015-09-03 21:47:48 +05:30
Magnus Ihse Bursie
9098325d7a 8135014: logger.sh needs to handle commands with variable assignment prefixes
Reviewed-by: erikj
2015-09-03 15:01:57 +02:00
Magnus Ihse Bursie
6047d89d1b 8062618: Create a build failure summary at end of build log
Reviewed-by: erikj
2015-09-03 11:05:49 +02:00
Martin Buchholz
24742f7b1d 8134984: Text files should end in exactly one newline
Automated fixup of newlines at end-of-file via the usual perl one-liner

Reviewed-by: chegar, sherman
2015-09-02 14:11:50 -07:00
Joe Darcy
564b2c9337 8134982: Problem list TCKJapaneseChronology.java
Reviewed-by: lancea
2015-09-02 12:56:06 -07:00
Peter Brunet
d163e318ff 8134682: Remove com.sun.java.accessibility from jdk/src/closed/java.base/share/conf/security/restricted.pkgs
Remove since renamed accessibility package from closed restricted.pks and update two regression tests

Reviewed-by: mullan, mchung
2015-09-02 13:24:14 -05:00
Athijegannathan Sundararajan
a81574746d 8134973: Control flow exceptions should avoid filling stack trace
Reviewed-by: attila, jlaskey, hannesw
2015-09-02 22:28:31 +05:30
Attila Szegedi
dcc5af1d2d 8134939: Improve toString method of Dynalink DynamicMethod objects
Reviewed-by: hannesw, sundar
2015-09-02 16:35:14 +02:00
Sergey Bylokhov
16bdae5274 8133677: Specification of AudioFileReader should be clarifed
Reviewed-by: prr, amenkov
2015-09-02 16:13:14 +03:00
Athijegannathan Sundararajan
e68e98e9e0 8134931: jdk.nashorn.internal.codegen.TypeMap should not use Map
Reviewed-by: attila, mhaupt
2015-09-02 17:16:57 +05:30
Weijun Wang
a4b5e30688 8129789: implies() of ServicePermission and DelegationPermission underspecified
Reviewed-by: mullan
2015-09-02 19:20:46 +08:00
Attila Szegedi
106a9bf4b9 8134930: Defer stack trace walking of NashornException for extracting line number and file name
Reviewed-by: hannesw, sundar
2015-09-02 12:26:57 +02:00
Valerie Peng
38b84c3cbd 8133801: sun/security/pkcs11/Provider/ConfigShortPath.java failed in jigsaw nightly at Windows
Update tests to not using private SunPKCS11(String) constructor.

Reviewed-by: mullan
2015-09-02 03:02:14 +00:00
Rajan Halade
ac523a4082 8049237: Need new tests for X509V3 certificates
Reviewed-by: mullan, xuelei
2015-09-01 16:27:28 -07:00
Michail Chernov
6814a6121a 8081317: [NEWTEST] documented GC ratio tuning and new size options should be covered by regression tests
Reviewed-by: iignatyev, dfazunen
2015-09-01 21:38:07 +03:00
Dmitry Fazunenko
187c7c2b58 8132709: [TESTBUG] gc/g1/TestHumongousShrinkHeap.java might fail on embedded
Reviewed-by: tschatzl, jwilhelm
2015-09-07 21:30:45 +04:00
David Buck
c166f75b22 8135002: Fix or remove broken links in objectMonitor.cpp comments
Updated comments to refer to relevant patents.

Reviewed-by: dcubed
2015-09-04 17:33:56 -07:00
Ron Durbin
be89d7204f 8061999: Enhance VM option parsing to allow options to be specified in a file
Add support for the "-XX:VMOptionsFile=<path>" option.

Reviewed-by: dcubed, gthornbr, gziemski, ddmitriev, dholmes, coleenp
2015-09-04 14:49:20 -07:00
Jim Laskey
5231fd3c51 Merge 2015-09-04 20:29:48 +00:00
Jim Laskey
f763183615 8087181: Move native jimage code to its own library (maybe libjimage)
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Reviewed-by: alanb, lfoltan, hseigel, acorn
2015-09-04 10:12:08 -03:00
Jesper Wilhelmsson
1d4ed72ab1 8130823: VerifyRememberedSets is an expensive nop in product builds
Reviewed-by: jmasa, tschatzl
2015-09-04 13:23:10 +02:00
Mikael Gerdin
cf47fb3a23 8135012: Don't use G1RootProcessor when scanning remembered sets
Reviewed-by: jmasa, ecaspole
2015-09-04 09:47:35 +02:00
Thomas Schatzl
83e4800c47 8134857: Inconsistency in maximum TLAB/PLAB size and humongous object size
Align TLAB/PLAB size with exact humongous object size threshold, not that value -1.

Reviewed-by: jmasa, dfazunen
2015-09-04 08:36:13 +02:00
Mikhailo Seledtsov
1078a41a0f 8133180: [TESTBUG] runtime/SharedArchiveFile/SharedStrings.java failed with WhiteBox.class : no such file or directory
Removed ambiguity on where JarBuilder looks for classes

Reviewed-by: jiangli, ctornqvi, gtriantafill
2015-09-03 08:57:16 -07:00
Daniel D. Daugherty
9b12926ed8 8049304: race between VM_Exit and _sync_FutileWakeups->inc()
Add PerfDataManager.has_PerfData() to indicate when PerfData objects should be safe to query. Update Java monitor PerfData usage to check the new flag. PerfDataManager::destroy() should only be called at a safepoint and when the StatSampler is not active.

Reviewed-by: kbarrett, dholmes, tbenson, bdelsart
2015-09-03 10:22:39 -07:00
Sangheon Kim
c091c7348a 8134972: [BACKOUT] GC: implement ranges (optionally constraints) for those flags that have them missing
Reviewed-by: jwilhelm
2015-09-02 17:49:46 -07:00
Kim Barrett
8ebc8387ba 8134806: Clean up write_ref_field_work
Remove unnecessary pure virtual decl and default argument values.

Reviewed-by: jwilhelm, tbenson, jmasa
2015-09-02 11:41:42 -04:00
Thomas Schatzl
f55b656f2d Merge 2015-09-02 16:16:58 +02:00
Thomas Schatzl
d0bb38889d 8134856: Incorrect use of PLAB::min_size() in MaxPLABSizeBounds
Reviewed-by: jwilhelm, tbenson
2015-09-02 14:00:46 +02:00
Y. Srinivas Ramakrishna
62ccb0305a 8133818: Additional number of processed references printed with -XX:+PrintReferenceGC after JDK-8047125
Test contributed by brutisso

Reviewed-by: tonyp, tschatzl
2015-09-02 11:56:10 +02:00
Thomas Schatzl
fbfed13ec2 8134858: Remove G1 specific checking of Young/OldPLABSize in G1CollectorPolicy constructor
Remove obsolete and wrong code.

Reviewed-by: mgerdin, brutisso
2015-09-02 09:57:03 +02:00
Staffan Friberg
96823ab211 8066443: Add G1 support for promotion event
Reviewed-by: tschatzl
2015-09-02 09:51:05 +02:00
Stefan Johansson
dada9bc32c 8129417: Oop iteration clean-up to remove oop_ms_follow_contents
Reviewed-by: pliden, ehelin
2015-09-02 09:14:04 +02:00
Gerald Thornbrugh
72c1fe89b2 8134161: JVM is creating too many GC helper threads on T7/M7 linux/sparc platform
Recognize the T7/M7 platform.

Reviewed-by: dcubed, kvn, jmasa
2015-09-01 14:01:18 -07:00
Michail Chernov
092ecab11f 8081317: [NEWTEST] documented GC ratio tuning and new size options should be covered by regression tests
Reviewed-by: iignatyev, dfazunen
2015-09-01 21:12:52 +03:00
Jim Laskey
9e1818b72e 8087181: Move native jimage code to its own library (maybe libjimage)
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Reviewed-by: alanb, lfoltan, hseigel, acorn
2015-09-04 10:11:20 -03:00
Athijegannathan Sundararajan
b803598d6a 8134887: nashorn ant test configuration should disable assertion for LamdaFormEditor class
Reviewed-by: attila, jlaskey
2015-09-01 23:08:33 +05:30
Andreas Woess
5176e1dbd7 8134865: Need to restore for container block from lexical context in finally
Reviewed-by: attila, mhaupt
2015-09-01 18:19:29 +02:00
Andreas Woess
2af0ac7441 8134873: Implement support for ES6 numeric literals
Reviewed-by: attila, sundar
2015-09-01 16:11:09 +02:00
Vyom Tewari
b4782037f6 8064470: JNI exception pending in jdk/src/java/base/unix/native/libjava/FileDescriptor_md.c
Reviewed-by: alanb, chegar, dfuchs
2015-09-01 15:34:58 +02:00
Athijegannathan Sundararajan
5c04be3588 8068901: Surprising behavior with more than one functional interface on a class
8068903: Can't invoke vararg @FunctionalInterface methods

Reviewed-by: attila, hannesw
2015-09-01 18:28:11 +05:30
Per Lidén
fd814172ac Merge 2015-09-01 14:17:53 +02:00
Per Lidén
ee626f77ab 8134738: Remove CollectorPolicy::Name
Reviewed-by: brutisso, mgerdin
2015-09-01 13:13:19 +02:00
Aleksey Shipilev
e3007b79ad 8076758: new StringBuilder().append(String).toString() should be recognized by OptimizeStringConcat
Reviewed-by: kvn, thartmann
2015-09-01 12:57:41 +03:00
Thomas Schatzl
8f2026345c 8067341: Modify PLAB sizing algorithm to waste less
Change the G1 PLAB resizing algorithm to waste less memory by being more conservative about the PLAB sizes.

Reviewed-by: ecaspole, jmasa
2015-09-01 10:53:29 +02:00
Renjith Alexander
abdaade63f 8132376: Add @requires os.family to the client tests with access to internal OS-specific API
Reviewed-by: yan, alexsch
2015-09-01 11:03:43 +03:00
Alexander Scherbatiy
783e0bf4bf 8134721: NPE in SwingUtilities2.drawChars after JDK-6302464
Reviewed-by: serb, azvegint
2015-09-01 09:40:16 +04:00
Sangheon Kim
cf5132e887 8078555: GC: implement ranges (optionally constraints) for those flags that have them missing
Add ranges and constraint functions for GC flags.

Reviewed-by: jmasa, kbarrett, gziemski, ddmitriev, drwhite
2015-08-31 11:51:29 -07:00
Dmitry Samersoff
21b8f01e4e Merge 2015-08-31 23:29:02 +02:00
Dmitry Samersoff
4f6a5ef9c3 Merge 2015-08-31 21:48:00 +03:00
Dmitry Samersoff
6ed285af0a Merge 2015-08-31 21:46:33 +03:00
Dmitry Samersoff
cbaeab3af3 Merge 2015-08-31 21:43:28 +03:00
Phil Race
4abc68cead Merge 2015-08-31 11:29:55 -07:00
Alejandro Murillo
a088fb343d Merge 2015-08-31 11:26:11 -07:00
Kim Barrett
15196341a5 8131330: G1CollectedHeap::verify_dirty_young_list fails with assert
Use assembly loop to avoid compiler optimization into memset

Reviewed-by: ecaspole, tschatzl
2015-08-31 13:06:01 -04:00
Maurizio Cimadamore
2f46e61a83 8129962: Investigate performance improvements in langtools combo tests
New combo API that runs all combo instances in a shared javac context (whenever possible).

Reviewed-by: jjg, jlahoda, vromero
2015-08-31 17:33:34 +01:00
Roland Westrelin
ed9e8b9ff2 8134031: Incorrect JIT compilation of complex code with inlining and escape analysis
Bad rewiring of memory edges when we split unique types during EA

Reviewed-by: kvn
2015-08-31 17:20:08 +02:00
Shrinivas Joshi
f10466290d 8075093: Enable UseFPUForSpilling support on SPARC
Use single-cycle MOV instructions (MOVdTOx, MOVxTOd) for spills on SPARC which have them.

Reviewed-by: kvn
2015-09-02 15:11:22 -07:00
Roland Westrelin
b641aad954 Merge 2015-09-02 22:05:47 +02:00
Vladimir Kozlov
16a8ed6f5c 8134898: Small fixes found during JVMCI work
Removed jre/ from jdk paths in makefiles. Add Thread::_unhandled_oops field for debug and fastdebug builds. Fix doc.

Reviewed-by: coleenp, bdelsart
2015-09-02 11:03:20 -07:00
Andrew Haley
ef62a6daab 8134869: AARCH64: GHASH intrinsic is not optimal
Rewrite intrinsic to make better use of SIMD instructions

Reviewed-by: kvn
2015-09-02 13:23:59 +00:00
Roland Westrelin
7ef7c96fde 8134468: Lucene test failures with 32 bit JDK 9b78, Server compiler
Test that checks whether an array load falls into the range of an arraycopy is incorrect on 32bits

Reviewed-by: iveresov, kvn
2015-09-02 10:00:27 +02:00
Aleksey Shipilev
7c7692856a 8134758: Final String field values should be trusted as stable
Reviewed-by: kvn, thartmann
2015-09-01 19:48:10 +03:00
Maurizio Cimadamore
5f1384e8b4 8134007: Improve string folding
Generalize string folding algorithm to detect mulitple groups of foldable constants within an concat expression

Reviewed-by: jlahoda
2015-08-31 15:50:20 +01:00
Attila Szegedi
9404b65ba8 8133300: Ensure symbol table immutability in Nashorn AST
Reviewed-by: hannesw, lagergren
2015-08-31 15:18:59 +02:00
Athijegannathan Sundararajan
eb2b5771d2 8134731: Function.prototype.apply interacts incorrectly with arguments
Reviewed-by: attila, hannesw
2015-08-31 17:51:02 +05:30
Tobias Hartmann
7b6480cfa4 8134493: Cleaning inline caches of unloaded nmethods should be done in sweeper
Clean ICs of unloaded nmethods in sweeper to avoid impact on safepoint duration.

Reviewed-by: kvn, mdoerr
2015-08-31 13:49:18 +02:00
Vinnie Ryan
b476482197 8130800: KeyStore.getInstance(File,char[]) does not throw IOE for null password
Reviewed-by: weijun, mullan
2015-08-31 10:14:34 +01:00
Sergey Bylokhov
d29ef0223b 4339584: Adding a getUI public method to JComponent
Reviewed-by: azvegint, alexsch
2015-08-29 12:58:14 +03:00
Sergey Bylokhov
eefa394d7c 8076178: [macosx] Few open swing and awt reg-tests fail after their update to avoid SunToolkit.realSync
Reviewed-by: azvegint, yan
2015-08-31 16:56:09 +03:00
Kim Barrett
673798137b Merge 2015-08-28 23:57:26 +02:00
Staffan Larsen
f6462e8628 8134686: Exclude sun/tools/jps/ tests
Reviewed-by: darcy
2015-08-28 13:40:43 -07:00
Rajan Halade
3f1537d197 8048601: Tests for JCE crypto ciphers (part 1)
Reviewed-by: valeriep
2015-08-28 13:35:54 -07:00
Brian Burkhalter
44c462ee50 8133987: (fs) Rename GnomeFileTypeDetector to GioFileTypeDetector
Rename class and associated native file as indicated and fix some related comments in the source and test.

Reviewed-by: alanb
2015-08-28 10:46:43 -07:00
Joe Darcy
bcb0095020 8134678: Problem list SecurityManager/CheckPackageAccess.java
Reviewed-by: lancea
2015-08-28 07:55:45 -07:00
Dmitry Dmitriev
237449b3bd 8132725: Memory leak in Arguments::add_property function
Logic in add_property was rewritten to avoid memory leak

Reviewed-by: iklam, coleenp
2015-08-28 17:32:31 +03:00
Sergey Bylokhov
8c84ecf088 8134603: Incorrect destination is used in CGLLayer surface
Reviewed-by: azvegint, alexsch
2015-08-28 14:54:04 +03:00
Claes Redestad
19015a5d33 8134583: sun.management.HotspotCompilation should handle absence of per-thread perf counters
Reviewed-by: jbachorik, neliasso
2015-08-28 13:40:44 +02:00
Erik Joelsson
97882998ad Merge 2015-08-28 11:10:57 +02:00
Erik Joelsson
ba6556326f 8134408: Disable warnings for jdk libraries triggered by SS12u4
Reviewed-by: tbell, ihse
2015-08-28 10:13:30 +02:00
Erik Joelsson
26b79e6c5c 8134157: adlc fails to compile with SS12u4
Reviewed-by: dholmes, kbarrett, ihse
2015-08-28 09:57:54 +02:00
Erik Helin
6239649ec3 8134509: G1ParCopyClosure does not need a ReferenceProcessor
Reviewed-by: stefank, mgerdin
2015-08-28 09:05:46 +02:00
Peter Brunet
1dbf8f4761 8134456: jdk/test/java/lang/SecurityManager/CheckPackageAccess.java failing on several platforms
Add new restricted packages to the test code

Reviewed-by: mullan, mchung
2015-08-27 22:35:24 -05:00
Joe Darcy
dc85decead 8134632: Mark javax/sound/midi/Devices/InitializationHang.java as headful
Reviewed-by: prr
2015-08-27 18:12:45 -07:00
Alejandro Murillo
b4c388e6ce Merge 2015-08-27 14:40:21 -07:00
Alejandro Murillo
d89ff64378 Merge 2015-08-27 14:40:19 -07:00
Xueming Shen
e6b269ec59 8131067: (zipfs) Zip File System Provider returns doubly-encoded Path URIs
To decode the zip file path uri before passing it into zippath uri.

Reviewed-by: alanb
2015-08-27 14:32:42 -07:00
Lana Steuck
c0889111a5 Merge 2015-08-27 13:22:51 -07:00
Lana Steuck
559fdad1c4 Merge 2015-08-27 13:22:30 -07:00
Lana Steuck
ed3c33cac4 Merge 2015-08-27 13:22:08 -07:00
Lana Steuck
41f47f1498 Merge 2015-08-27 13:22:04 -07:00
Lana Steuck
2f497289ef Merge 2015-08-27 13:21:37 -07:00
David Katleman
72df63345b Added tag jdk9-b79 for changeset ffea646fc05f 2015-08-27 12:59:56 -07:00
David Katleman
c1f646e04a Added tag jdk9-b79 for changeset 8d067af302fd 2015-08-27 12:59:55 -07:00
David Katleman
f55de39d19 Added tag jdk9-b79 for changeset 78117959e115 2015-08-27 12:59:52 -07:00
David Katleman
c45c4e90d2 Added tag jdk9-b79 for changeset 421773f441c6 2015-08-27 12:59:52 -07:00
David Katleman
c247bcda0c Added tag jdk9-b79 for changeset 13967da712ff 2015-08-27 12:59:52 -07:00
David Katleman
75ced2d667 Added tag jdk9-b79 for changeset 7a289da71811 2015-08-27 12:59:50 -07:00
David Katleman
ab1bc89d9a Added tag jdk9-b79 for changeset a7e698aed0b7 2015-08-27 12:59:49 -07:00
David Katleman
2a670919a9 Added tag jdk9-b79 for changeset 3a2debd4d023 2015-08-27 12:59:49 -07:00
Joe Darcy
7a83831c2b 8134554: Add sound tests to tier 3
Reviewed-by: serb
2015-08-27 11:02:10 -07:00
Roland Westrelin
d791abc7e3 Merge 2015-08-27 18:51:22 +02:00
Alexander Stepanov
2f6a5f4af7 8133807: java.desktop docs: replace some invalid "@returns" tags
Reviewed-by: alexsch
2015-08-27 18:09:09 +03:00
Erik Helin
ec7659c972 8134504: Remove usage of EvacuationInfo from G1CollectorPolicy
Reviewed-by: mgerdin, jwilhelm
2015-08-27 16:28:05 +02:00
Athijegannathan Sundararajan
35b2990d38 8134562: jjs history object should have methods to save/load history to/from given file and also allow reexecution of commands by a call
Reviewed-by: hannesw, attila
2015-08-27 14:35:06 +05:30
Weijun Wang
9b57d98aad 8134555: The InquireSecContextPermissionCheck.java test was mistakenly removed
Reviewed-by: xuelei
2015-08-27 10:31:48 +08:00
Weijun Wang
0f5abfa052 8077670: sun/security/krb5/auto/MaxRetries.java may fail with BindException
Reviewed-by: chegar
2015-08-27 07:52:12 +08:00
David Holmes
10afc2dfd2 8133646: Internal Error: x86/vm/macroAssembler_x86.cpp:886 DEBUG MESSAGE: StubRoutines::call_stub: threads must correspond
Reviewed-by: kvn, coleenp, dcubed
2015-08-26 18:59:08 -04:00
Attila Szegedi
d883302b01 8134403: Nashorn react.js benchmark performance regression
Reviewed-by: hannesw, sundar
2015-08-26 20:30:34 +02:00
Joe Darcy
8b88247973 8134521: Problem list failing java/beans/Introspector test
Reviewed-by: alanb
2015-08-26 11:18:38 -07:00
Naoto Sato
24bf498468 8134520: Bug8134250 test fails in en_IE locale
Reviewed-by: lancea
2015-08-26 10:44:37 -07:00
Joe Wang
804a447ee4 8133924: NPE may be thrown when xsltc select a non-existing node after JDK-8062518
Reviewed-by: aefimov, lancea, joehw
2015-08-26 10:16:04 -07:00
Hui Shi
3b19bff980 8134322: AArch64: Fix several errors in C2 biased locking implementation
Several errors in C2 biased locking require fixing

Reviewed-by: kvn
2015-08-26 17:13:59 +01:00
David Dehaven
7436faa3d1 Merge 2015-08-26 09:07:21 -07:00
Staffan Larsen
2f6cf9d31e 8134458: Make sun/tools/jps tests non-concurrent with other tests
Reviewed-by: dholmes, martin
2015-08-26 06:48:33 -07:00
Alexander Scherbatiy
c177fba43e 8051548: JColorChooser should have a way to disable transparency controls
Reviewed-by: prr, serb
2015-08-26 17:21:01 +04:00
Sergey Bylokhov
66ae036b1f 8047226: closed/java/awt/Component/GetScreenLocTest/GetScreenLocTest.html clicks on Unity's tool bar
Reviewed-by: azvegint, alexsch
2015-08-26 18:03:21 +03:00
Michael Haupt
089307f286 8134484: disallow backquotes as heredoc end marker delimiters
Reviewed-by: attila, sundar
2015-08-26 13:11:35 +02:00
Roland Westrelin
9dcbe322e0 8134288: compiler/runtime/6859338/Test6859338.java crashes in PhaseIdealLoop::try_move_store_after_loop
Store nodes may not have a control if used to update profiling

Reviewed-by: kvn
2015-08-26 12:43:15 +02:00
Andreas Lundblad
97577b084f 8134483: A recent update to copyright headers caused two tests to fail
Replaced copyright notice with nodynamiccopyright and adjusted line numbers.

Reviewed-by: jfranck
2015-08-26 11:14:28 +02:00
Michael Haupt
f6fe25800c 8073613: Here documents: how to avoid string interpolation?
Support heredoc end marker quoting like in bash

Reviewed-by: attila, hannesw
2015-08-26 09:59:29 +02:00
Roland Westrelin
8942ef410f 8134321: tools/pack200/Pack200Test.java crashes in the VM PIT jdk9 b79
Code that capture field values of eliminated allocation at a safepoint when there's an arraycopy behind a Phi is broken

Reviewed-by: kvn
2015-08-26 09:49:37 +02:00
Andreas Lundblad
8d0ebb66bd 8133671: langtools tests have bad license
Dropped classpath exception from copyright notice in tests.

Reviewed-by: jjg
2015-08-26 09:02:02 +02:00
David Dehaven
5fe6ba60cb Merge 2015-08-25 14:32:08 -07:00
Jiangli Zhou
9ee2b211f9 8131734: assert(!is_null(v)) failed: narrow klass value can never be zero with -Xshared:auto
Handle shared string mapping failures.

Co-authored-by: Tom Benson <tom.benson@oracle.com>
Reviewed-by: tschatzl, kbarrett, ddmitriev, hseigel
2015-08-25 17:22:56 -04:00
David Dehaven
eedfee9bfa Merge 2015-08-25 12:19:46 -07:00
Igor Ignatyev
24ddd9ba7c Merge 2015-08-25 21:05:26 +02:00
Lance Andersen
791d62a37e 8133939: javadoc clarification for java.sql.Date.toLocalDate
Reviewed-by: joehw
2015-08-25 13:40:07 -04:00
Coleen Phillimore
110f1d1a32 Merge 2015-08-25 19:06:55 +02:00
Ivan Gerasimov
9073b652b3 8134356: {@code} tag contains &lt; and &gt; sequences
Reviewed-by: martin
2015-08-25 19:45:07 +03:00
Alexander Stepanov
572aef810c 8133802: replace some <tt> tags (obsolete in html5) in security-libs docs
Reviewed-by: mullan
2015-08-25 18:45:09 +03:00
Christoph Langer
739a00037e 8133830: [solaris] Fix for potential memory leak in TimeZone_md.c, function findJavaTZ_md()
Reviewed-by: andrew, goetz, okutsu
2015-08-25 18:40:32 +03:00
Coleen Phillimore
2a37882c1c Merge 2015-08-25 17:30:14 +02:00
Athijegannathan Sundararajan
7e32d7a8b5 8134260: jjs in jre directory fails with "Could not find or load main class jdk.nashorn.tools.jjs.Main"
Reviewed-by: alanb, erikj, lagergren
2015-08-25 20:21:53 +05:30
Athijegannathan Sundararajan
d2a3c51704 8134260: jjs in jre directory fails with "Could not find or load main class jdk.nashorn.tools.jjs.Main"
Reviewed-by: alanb, erikj, lagergren
2015-08-25 20:18:42 +05:30
Aleksey Shipilev
d2e6717c87 8134329: TeeOpTest.java fails across platforms after fix for JDK-8129547
Wrong indexes associated to CONSTANT_InvokeDynamic_info entries.

Reviewed-by: sundar
2015-08-25 15:10:25 +01:00
Rob McKenna
56908a47aa 8046768: com/sun/jndi/ldap/LdapTimeoutTest.java fails intermittently
Reviewed-by: vinnie
2015-08-25 14:15:50 +01:00
Andreas Lundblad
3672dbcddf 8048318: Refactor sjavac as a thin client
Moved compilation logic from client to server.

Reviewed-by: jlahoda
2015-08-25 15:14:41 +02:00
Rob McKenna
9835141429 8087190: Regression in sun.net.util.IPAddressUtil.isIPv4LiteralAddress(String)
Reviewed-by: chegar
2015-08-25 14:07:08 +01:00
Athijegannathan Sundararajan
1734a60ae0 8134397: Features that require AWT, swing should handle headless mode properly
Reviewed-by: hannesw, attila
2015-08-25 18:16:10 +05:30
Sergey Bylokhov
6fc15998ee 8131921: Pluggable EventQueue in modular JDK
Reviewed-by: azvegint, alexsch
2015-08-25 13:03:08 +03:00
Athijegannathan Sundararajan
a4e75d9f12 8134381: load completion should not use swing from non UI thread
Reviewed-by: lagergren, attila, hannesw
2015-08-25 14:47:42 +05:30
Tobias Hartmann
72e8f28d56 8075805: Crash while trying to release CompiledICHolder
Removed nmethod transition to zombie outside of sweeper. Added cleaning of ICs of unloaded nmethods.

Reviewed-by: kvn, iveresov
2015-08-25 07:49:55 +02:00
Naoto Sato
f750dc8033 8134250: Create unit tests for CLDR unique features
Reviewed-by: okutsu
2015-08-24 19:10:51 -07:00
Gerard Ziemski
e085f49adb 8134239: compiler/arguments/CheckCICompilerCount.java still fails
Compiler team updated the test by adding a new test case, but due to merging timing it was still using the old constraint error message format, which needed updating

Reviewed-by: ctornqvi, hseigel
2015-08-24 16:17:15 -05:00
Rachel Protacio
d905ab3ec9 8133561: linux thread id should be reported in decimal in the error reports now
Linux thread id error reports changed back to decimal

Reviewed-by: hseigel, ctornqvi, coleenp
2015-08-24 15:41:56 -04:00
Vinnie Ryan
79e58cc0e5 8132786: java/security/cert/CertPathValidator/OCSP/AIACheck.java fails intermittently
Reviewed-by: mullan
2015-08-24 16:22:37 +01:00
Thomas Schatzl
494872e535 8133456: HeapRegionManager::shrink_by() iterates suboptimally across regions
Reviewed-by: brutisso, tbenson
2015-08-24 16:32:50 +02:00
Thomas Schatzl
472a3333a8 8067336: Allow that PLAB allocations at the end of regions are flexible
PLAB allocations may return a buffer that is between minimum size (current allocation) and the desired size. This allows removes a large amount of fragmentation at the end of regions.

Reviewed-by: tbenson, mgerdin
2015-08-24 16:27:41 +02:00
David Holmes
dd71c38c37 Merge 2015-08-25 00:26:10 -04:00
Athijegannathan Sundararajan
0d8920ff4c 8134309: load call argument completion could be done with file chooser
Reviewed-by: attila, hannesw
2015-08-24 18:25:22 +05:30
Aleksey Shipilev
062a960fd6 8129547: Excess entries in BootstrapMethods with the same (bsm, bsmKind, bsmStaticArgs), but different dynamicArgs
Pool.DynamicMethod implementation for hash/equals leads to duplicate BSM entries.

Reviewed-by: jlahoda
2015-08-24 13:15:12 +01:00
Alexander Scherbatiy
d14c028db9 6302464: Allow programmatic enabling of subpixel anti-aliasing in Swing on ANY platform
Reviewed-by: serb, azvegint
2015-08-24 16:06:36 +04:00
Athijegannathan Sundararajan
3413347722 8134279: jjs should support multiple line input to complete incomplete code
Reviewed-by: attila, hannesw
2015-08-24 16:25:40 +05:30
Joel Borggrén-Franck
b7e143e8f6 8073056: Repeating annotations throws java.security.AccessControlException with a SecurityManager
Reviewed-by: ahgross, darcy
2015-08-24 11:00:12 +02:00
Attila Szegedi
373f5906d4 8133785: SharedScopeCall should be enabled for non-optimistic call sites in optimistic compilation
Reviewed-by: hannesw, lagergren
2015-08-24 09:12:35 +02:00
Attila Szegedi
b63af33cd2 8134150: Make Timing both threadsafe and efficient
Reviewed-by: jlaskey, sundar
2015-08-24 09:11:46 +02:00
Athijegannathan Sundararajan
4470a2eefa 8134255: Implement tab-completion for java package prefixes and package names
Reviewed-by: attila, mhaupt
2015-08-23 10:02:14 +05:30
Athijegannathan Sundararajan
71c94822c9 8134255: Implement tab-completion for java package prefixes and package names
Reviewed-by: attila, mhaupt
2015-08-23 10:01:19 +05:30
Sergey Bylokhov
49091ccf1d 8133926: No frame icon for InternalFrame in Windows LaF
Reviewed-by: azvegint, alexsch
2015-08-21 20:59:07 +03:00
Alexander Zvegintsev
5b3adbd1d3 8134028: [PIT] XToolkit, strange behavior of robot.createScreenCapture(): looks like a native crash in X11/GTK
Reviewed-by: alexsch, serb
2015-08-21 10:43:47 -07:00
Athijegannathan Sundararajan
321ce034fc 8133948: Add 'edit' function to allow external editing of scripts
Reviewed-by: attila, hannesw, jlahoda
2015-08-21 18:01:23 +05:30
Athijegannathan Sundararajan
e13a9b243c 8133948: Add 'edit' function to allow external editing of scripts
Reviewed-by: attila, hannesw, jlahoda
2015-08-21 18:00:53 +05:30
Jaroslav Bachorik
2fdcbf527f 8043937: Drop support for the IIOP transport from the JMX RMIConnector
Reviewed-by: alanb, erikj
2015-08-21 13:34:07 +02:00
Roland Westrelin
a9e232a8ef Merge 2015-08-21 09:12:42 +02:00
Lana Steuck
38d33cb429 Merge 2015-08-20 12:30:20 -07:00
Lana Steuck
2e85e4def7 Merge 2015-08-20 12:30:11 -07:00
Lana Steuck
ab56f671d3 Merge 2015-08-20 12:29:58 -07:00
Lana Steuck
d529045202 Merge 2015-08-20 12:29:24 -07:00
Lana Steuck
62da6156b7 Merge 2015-08-20 12:29:04 -07:00
David Katleman
08765a5540 Added tag jdk9-b78 for changeset 23662c20a442 2015-08-20 11:38:25 -07:00
David Katleman
b3b6d59e9a Added tag jdk9-b78 for changeset 5841c9337554 2015-08-20 11:38:24 -07:00
David Katleman
f635aa4437 Added tag jdk9-b78 for changeset d014abca53b7 2015-08-20 11:38:21 -07:00
David Katleman
dda4b20661 Added tag jdk9-b78 for changeset 5f6d9917598c 2015-08-20 11:38:21 -07:00
David Katleman
5c84b174ce Added tag jdk9-b78 for changeset 11ac73b4eea0 2015-08-20 11:38:20 -07:00
David Katleman
41fbe64f35 Added tag jdk9-b78 for changeset 7bf24ea31a4d 2015-08-20 11:38:19 -07:00
David Katleman
d030e0ee7d Added tag jdk9-b78 for changeset 525d3550480f 2015-08-20 11:38:18 -07:00
David Katleman
8af729a783 Added tag jdk9-b78 for changeset 6e6ce42fc702 2015-08-20 11:38:17 -07:00
Svetlana Nikandrova
72ddd6cff7 8050460: JAAS login/logout tests with LoginContext
Reviewed-by: xuelei
2015-08-20 11:16:54 -07:00
Peter Brunet
56de5acc82 8133897: IndexOutOfBounds exception being thrown
In JTabbedPane.Page.getBounds return null when indexOfTab returns -1

Reviewed-by: azvegint, alexsch
2015-08-20 13:00:19 -05:00
Christoph Langer
029c5bbc36 8130910: hsperfdata file is created in wrong directory and not cleaned up if /tmp/hsperfdata_<username> has wrong permissions
Add check for fchir() failure and disable shared PerfMemory in that case.

Reviewed-by: dcubed, simonis, gthornbr
2015-08-20 10:58:57 -07:00
Coleen Phillimore
96644d2fb6 Merge 2015-08-20 17:39:43 +02:00
Coleen Phillimore
8831b43d28 Merge 2015-08-20 17:36:00 +02:00
Coleen Phillimore
6cb369c903 8133951: Zero interpreter asserts in stubRoutines.cpp
Allow zero sized code buffer when checking if there's enough remaining size

Reviewed-by: kvn
2015-08-20 11:18:51 -04:00
Alejandro Murillo
c56196370b Merge 2015-08-20 07:36:37 -07:00
Thomas Schatzl
c91c77abd2 8067339: PLAB reallocation might result in failure to allocate object in that recently allocated PLAB
Properly size the PLAB to make sure that the object to allocate always has enough space in it.

Reviewed-by: mgerdin, brutisso
2015-08-20 15:17:43 +02:00
Thomas Schatzl
041c76d48b 8073146: G1 merges thread local age tables too early with global age table
Move merging of age and survivor table to the end of GC.

Reviewed-by: mgerdin, david
2015-08-20 15:17:43 +02:00
Thomas Schatzl
6cca258181 8040162: Avoid reallocating PLABs between GC phases in G1
Allocate G1ParScanThreadState at the start of GC and only deallocate at the end of GC. This automatically keeps the current PLAB intact without flushing it (and loosing lots of memory) for every reallocation.

Reviewed-by: david, mgerdin
2015-08-20 15:17:43 +02:00
Thomas Schatzl
4a849fb21c 8133530: Add JFR event for evacuation statistics
Introduce two new JFR events for young/old generation allocation statistics based on previous changes.

Reviewed-by: ehelin, mgerdin
2015-08-20 15:17:41 +02:00
Sergey Bylokhov
7e07b0d76f 8077270: Missed test data in the test on java.beans.BeanProperty
Reviewed-by: alexsch
2015-08-20 13:46:16 +03:00
Sergey Bylokhov
8e49701e7b 8067087: Fix mac-specific deprecation warnings in the java.desktop module
Reviewed-by: azvegint, alexsch
2015-08-20 13:33:12 +03:00
Alexander Stepanov
6ca16ee3b8 8132478: [tidy] three new warnings from java docs (java.net, javax.annotation)
Minor docs cleanup (jaxws part)

Reviewed-by: lancea
2015-08-20 13:28:35 +03:00
Ed Nevill
10c3342331 8133842: aarch64: C2 generates illegal instructions with int shifts >=32
Fix logical operatations combined with shifts >= 32

Reviewed-by: kvn, aph, adinn
2015-08-20 09:40:08 +00:00
Roland Westrelin
33b2496286 Merge 2015-08-20 09:31:28 +02:00
Brian Burkhalter
ada1a8eecd 8074821: Resolve disabled warnings for libnio
Enable the indicated warnings and correct the code which provoked them.

Reviewed-by: alanb
2015-08-19 13:11:24 -07:00
Vinnie Ryan
68703f6458 8130799: KeyStoreSpi.engineProbe does not throw the expected NullPointerException
Reviewed-by: xuelei
2015-08-19 17:42:52 +01:00
Thomas Schatzl
0ade675b8b 8073013: Add detailed information about PLAB memory usage
Track and provide information about direct allocation, region end waste and failure waste for G1.

Reviewed-by: jmasa, david, ehelin, mgerdin
2015-08-19 13:59:39 +02:00
Thomas Schatzl
43a6ce61de 8133470: Uses of Atomic methods in plab.hpp should be moved to .inline.hpp file
Fix include file dependencies according to general guidelines for plab.hpp

Reviewed-by: ehelin, mgerdin
2015-08-19 13:50:50 +02:00
Thomas Schatzl
8c2da662ff 8003237: G1: Reduce unnecessary (and failing) allocation attempts when handling an evacuation failure
Remember for every generation whether the memory for that generation has already been exhausted. If so, do not try to get a new region for these generations. Further, if the last generation is full, early exit from copy_to_survivor_space.

Reviewed-by: jmasa, brutisso
2015-08-19 13:47:40 +02:00
Erik Helin
9bc2e29405 8133825: Remove the class G1CollectorPolicyExt
Reviewed-by: jwilhelm, ecaspole
2015-08-20 10:27:04 +02:00
Erik Helin
6ad40faac5 8133821: Refactor initialization of the heap and the collector policy
Reviewed-by: pliden, tschatzl
2015-08-20 08:42:25 +02:00
Daniel D. Daugherty
513aa02851 8133537: clarify position of unlock options in error messages
Reviewed-by: coleenp, dholmes, coffeys
2015-08-19 11:11:06 -07:00
Athijegannathan Sundararajan
656a9f516c 8133872: Expression completion should work on contexts where an expression is accepted
Reviewed-by: hannesw, mhaupt
2015-08-19 16:35:03 +05:30
Alexander Scherbatiy
3b888867cb 8131339: [macosx] setMaximizedBounds() doesn't work for undecorated Frame
Reviewed-by: serb
2015-08-19 09:54:15 +04:00
Mandy Chung
f32b9d1944 8132944: test java/lang/ClassLoader/GetSystemPackage.java writes stuff to Agent stdout
Reviewed-by: dholmes
2015-08-18 20:30:15 -07:00
Kim Barrett
7706e36194 8072817: CardTableExtension kind() should be BarrierSet::CardTableExtension
Use BarrierSet::CardTableForRS where needed, and update concrete bs tags.

Reviewed-by: jwilhelm, jmasa
2015-08-18 17:48:35 -04:00
Valerie Peng
33abd28183 8086002: Move apple.security.AppleProvider to a proper module
Move Apple provider to java.base module with "libosxsecurity" native library.

Reviewed-by: mchung
2015-08-18 21:16:27 +00:00
Joe Darcy
71cc6f510a 8133808: Place java/lang/ProcessHandle/InfoTest.java on the Problem List
Reviewed-by: lancea
2015-08-18 12:49:00 -07:00
Jesper Wilhelmsson
49fb91407d 8134626: Misc cleanups after generation array removal
Reviewed-by: david, dholmes, tschatzl
2015-08-18 21:32:21 +02:00
Eric Caspole
3c41a37bd8 8133349: CMS: Assert failed: Ctl pt invariant
_survivor_chunk_array should be sized based on PLAB::min_size() not ThreadLocalAllocBuffer::min_size()

Reviewed-by: tschatzl, jwilhelm
2015-08-18 14:04:24 -04:00
Nadeesh TV
891a84dd0c 8017187: [TEST BUG] [macosx] After click "test",the case failed automatically with thrown exception in the log since jdk8b75
Reviewed-by: alexsch, serb
2015-08-18 20:42:02 +03:00
Michael Haupt
5899d6fbda 8077168: CodeStoreAndPathTest.java fails in jtreg mode on Mac
Use correct path on JRT file system

Reviewed-by: attila, sundar
2015-08-18 09:13:46 -07:00
Jesper Wilhelmsson
b2a4dbc30a 8130308: Too low memory usage in TestPromotionFromSurvivorToTenuredAfterMinorGC.java
Reviewed-by: dfazunen, brutisso
2015-08-18 17:32:10 +02:00
Alexander Stepanov
3ff6e41288 8132478: [tidy] three new warnings from java docs (java.net, javax.annotation)
Minor docs cleanup (jdk part)

Reviewed-by: lancea
2015-08-18 18:04:17 +03:00
Roland Westrelin
b7b1b2778c 8131969: jit/FloatingPoint/gen_math/Loops05 assert(2 <= size && size <= 16) failed: update low bits table
Assert in register allocation code when vector Phi for a loop is processed because code assumes all inputs already processed

Reviewed-by: kvn
2015-08-18 16:10:34 +02:00
Vladimir Kozlov
ef827906e9 8133984: print_compressed_class_space() is only defined in 64-bit VM
Define method's empty body in 32-bit VM.

Reviewed-by: coleenp
2015-08-19 17:59:00 -07:00
Jean-Francois Denise
4d4cf68fd9 8132527: jimage tool extract and recreate options are not consistent (no NPE)
Module metadata original name must be reused when recreating a jimage

Reviewed-by: jlaskey
2015-08-18 15:46:01 +02:00
Athijegannathan Sundararajan
19a69d8cbf 8133812: identifier and member expression completion handling is not uniform
Reviewed-by: attila, hannesw
2015-08-18 18:53:13 +05:30
Sergey Bylokhov
58cd114398 8059743: Incorrect assumtion in javax\sound\midi\Gervill\SoftProvider\GetDevice.java
Reviewed-by: alexsch, amenkov
2015-08-18 15:51:23 +03:00
David Buck
a9fb6ab847 8133666: OperatingSystemMXBean reports abnormally high machine CPU consumption on Linux
Reviewed-by: sla, mgronlun
2015-08-18 04:29:28 -07:00
Athijegannathan Sundararajan
65c7459351 8133777: Use file based persistence for history instead of preferences
Reviewed-by: attila, mhaupt
2015-08-18 11:40:18 +05:30
Athijegannathan Sundararajan
07bcb7c6bf 8133777: Use file based persistence for history instead of preferences
Reviewed-by: attila, mhaupt
2015-08-18 11:39:43 +05:30
Alejandro Murillo
64e18f581d Merge 2015-08-17 11:18:31 -07:00
Alejandro Murillo
63e5a2929a Merge 2015-08-17 11:18:18 -07:00
David Dehaven
75e42535c3 Merge 2015-08-17 10:12:16 -07:00
Sergey Bylokhov
894f976f30 6778087: getLocationOnScreen() always returns (0, 0) for mouse wheel events
Reviewed-by: alexsch, azvegint
2015-08-17 16:56:22 +03:00
Athijegannathan Sundararajan
a8ae0d78d8 8133695: Implement tab-completion for identifiers
Reviewed-by: attila, jlaskey
2015-08-17 18:36:28 +05:30
Jesper Wilhelmsson
0edc019938 8133669: Remove unused code in Arguments
8133455: VM ignores setting of the -XX:MemoryRestriction flag

Reviewed-by: dholmes, kbarrett
2015-08-17 13:55:02 +02:00
Dmitry Samersoff
ee8e426c51 Merge 2015-08-17 10:53:11 +00:00
Dmitry Samersoff
8b0d0cea27 Merge 2015-08-17 12:45:16 +03:00
Dmitry Samersoff
6758393ebd Merge 2015-08-17 12:43:45 +03:00
Aleksei Efimov
c390eb1b70 8133321: (tz) Support tzdata2015f
Reviewed-by: okutsu
2015-08-17 12:28:55 +03:00
Konstantin Shefov
5e34f12e24 8060717: [TESTBUG] Improve test coverage of MethodHandles.explicitCastArguments()
Reviewed-by: vlivanov, mhaupt
2015-08-17 12:21:34 +03:00
Konstantin Shefov
20d0bb4d38 8133543: [TESTBUG] java/lang/invoke/LFCaching/LFSingleThreadCachingTest.java should be modified
Reviewed-by: vlivanov, mhaupt
2015-08-17 12:13:18 +03:00
David Lindholm
4445cbb273 8133553: Running with -XX:+UseParallelGC -XX:OldSize=30k crashes jvm
Reviewed-by: jwilhelm, sjohanss
2015-08-17 10:43:11 +02:00
Athijegannathan Sundararajan
a45bb1ba66 8133652: Implement tab-completion for member select expressions
Reviewed-by: jlaskey, attila
2015-08-17 13:17:25 +05:30
Athijegannathan Sundararajan
5455f89d52 8133652: Implement tab-completion for member select expressions
Reviewed-by: jlaskey, attila
2015-08-17 13:16:10 +05:30
Gerard Ziemski
a00b32c815 8133678: test fails due to 'CICompilerCount=0 must be at least 1' missing from stdout/stderr
We changed the constraint error message formatting for CICompilerCount, but forgot to change the corresponding test.

Reviewed-by: kbarrett, dcubed
2015-08-16 09:33:52 -05:00
Sergey Kuksenko
cd2d84c814 8132330: Ineffective SecureRandom usage in RSA encoding with PKCS1Padding
Reviewed-by: weijun
2015-08-15 21:14:08 +08:00
Xueming Shen
bef17a6e80 8039390: Unexpected behaviour of String.format with null arguments
To explicitly specify the null behavior for all conversions

Reviewed-by: rriggs
2015-08-15 04:38:51 +00:00
Athijegannathan Sundararajan
67e6d1bad0 8133624: Move JDK-8055034.js and JDK-8130127.js to currently-failing directory to exclude from test run
Reviewed-by: jlaskey, hannesw
2015-08-14 18:48:26 +05:30
Alexander Stepanov
ea7449a3ad 8133480: replace some <tt> tags (obsolete in html5) in core-libs docs
Reviewed-by: lancea
2015-08-14 14:40:13 +03:00
Volker Simonis
1b8b82463e 8131168: Refactor ProcessHandleImpl_*.c and add implememtation for AIX
Reviewed-by: rriggs, smarks
2015-08-14 10:35:45 +02:00
Joe Darcy
7cc817742f 8133588: Place TimeoutLockLoops.java on the problem list
Reviewed-by: dholmes
2015-08-13 21:46:05 -07:00
Alejandro Murillo
d8f13cb1d1 Merge 2015-08-13 15:50:52 -07:00
Alejandro Murillo
78fd2e42c6 Merge 2015-08-13 15:50:47 -07:00
Alejandro Murillo
8f0cc28606 Merge 2015-08-13 15:50:47 -07:00
Lana Steuck
e818494b53 Merge 2015-08-13 14:16:12 -07:00
Lana Steuck
574b9f29be Merge 2015-08-13 14:15:58 -07:00
Lana Steuck
25eb225a1c Merge 2015-08-13 14:15:23 -07:00
Lana Steuck
4ac0a00b1f Merge 2015-08-13 14:15:11 -07:00
Lana Steuck
6074476a4e Merge 2015-08-13 14:14:59 -07:00
Lana Steuck
e5d4530aec Merge 2015-08-13 14:14:42 -07:00
David Katleman
5d7b720b02 Added tag jdk9-b77 for changeset 5bf57225d6fc 2015-08-13 12:20:11 -07:00
David Katleman
0bce0e49e1 Added tag jdk9-b77 for changeset 9fdd8b175dc1 2015-08-13 12:20:10 -07:00
David Katleman
93691df899 Added tag jdk9-b77 for changeset 59d4b73cb39a 2015-08-13 12:20:07 -07:00
David Katleman
8a19dd511d Added tag jdk9-b77 for changeset c02e2d8c7f9f 2015-08-13 12:20:07 -07:00
David Katleman
bd2258414a Added tag jdk9-b77 for changeset 51926b23f437 2015-08-13 12:20:06 -07:00
David Katleman
053ddb237a Added tag jdk9-b77 for changeset f057c3f8e4d2 2015-08-13 12:20:05 -07:00
David Katleman
68d4e9ccf4 Added tag jdk9-b77 for changeset 3cb9ab9c726d 2015-08-13 12:20:04 -07:00
David Katleman
c30f555733 Added tag jdk9-b77 for changeset 05020a092c0f 2015-08-13 12:20:03 -07:00
Rickard Bäckman
a4777426de Merge 2015-08-13 19:36:54 +02:00
Brian Burkhalter
10207de32f 8065595: Wrong JNI_OnLoad called if just loaded lib does not have JNI_OnLoad function
Add nio_util.c containing JNI_OnLoad bare bones implementation.

Reviewed-by: rriggs
2015-08-13 09:36:14 -07:00
Athijegannathan Sundararajan
c580b989e0 8133347: Add makefiles support and basic session, persistence history navigation with jline
Reviewed-by: erikj, jlahoda, jlaskey
2015-08-13 19:09:59 +05:30
Athijegannathan Sundararajan
d45350bdb1 8133347: Add makefiles support and basic session, persistence history navigation with jline
Reviewed-by: erikj, jlahoda, jlaskey
2015-08-13 19:09:18 +05:30
Athijegannathan Sundararajan
d37f9f40c9 8133347: Add makefiles support and basic session, persistence history navigation with jline
Reviewed-by: erikj, jlahoda, jlaskey
2015-08-13 19:07:27 +05:30
Alexander Stepanov
6b4c935035 8133459: replace <tt> tags (obsolete in html5) in java.nio docs
Reviewed-by: lancea
2015-08-13 12:40:07 +03:00
Amy Lu
48b997d5b3 8079769: tools/pack200/PackTestZip64.java may timeout at preparing the large test file
Reviewed-by: ksrini
2015-08-13 09:35:45 +03:00
Rajan Halade
ec15b70de5 8048624: Tests for SealedObject
Reviewed-by: valeriep
2015-08-13 06:42:05 +03:00
David Dehaven
ea44d8d880 8130929: Enable deployment tests in build system
Reviewed-by: erikj, tbell, dtitov
2015-08-12 13:10:16 -07:00
Ivan Gerasimov
6b0aff010f 8133232: [fs] Regex has redundant | in the char class
Reviewed-by: bpb, rriggs
2015-08-12 22:24:26 +03:00
Brian Burkhalter
5924c95500 8132539: (fs) Files.lines(path).collect() returns wrong value in JDK 9 with certain files
Do not use the Spliterator approach for lines() if the FileChannel size is thought to be zero.

Reviewed-by: chegar
2015-08-12 07:55:24 -07:00
Vinnie Ryan
cdb7f50a4b 8133318: Exclude intermittent failing PKCS11 tests on Solaris SPARC 11.1 and earlier
Reviewed-by: mullan
2015-08-12 14:38:09 +01:00
David Dehaven
ebed974436 Merge 2015-08-11 12:33:25 -07:00
David Dehaven
0cf20fdd7b Merge 2015-08-11 12:32:10 -07:00
Alexander Stepanov
c683f90b9a 8133188: docs: replace <tt> tags (obsolete in html5) for java.util
Reviewed-by: martin
2015-08-11 20:46:46 +03:00
Andrew Dinn
96413b5dac 8078743: AARCH64: Extend use of stlr to cater for volatile object stores
The current use of stlr on AArch64 to implement volatile stores needs to be extended to cater for object stores.

Reviewed-by: kvn, aph, enevill
2015-08-11 10:25:24 -04:00
Ed Nevill
4f5be2ee49 8133352: aarch64: generates constrained unpredictable instructions
Fix generation of unpredictable STXR Rs, Rt, [Rn] with Rs == Rt

Reviewed-by: kvn, aph, adinn
2015-08-18 12:40:22 +00:00
Ed Nevill
1c9f1ea099 8133935: aarch64: fails to build from source
Add inlucde of oops/oop.inline.hpp to fix build

Reviewed-by: coleenp
2015-08-19 11:59:02 +00:00
Zoltan Majo
0d7ee212ea 8133625: src/share/vm/opto/compile.hpp:96: error: integer constant is too large for ‘long’ type
Wrap constant causing the failure into into CONST64(). Update comments.

Reviewed-by: kvn
2015-08-19 11:59:00 +02:00
Zoltan Majo
6d858b63cb Merge 2015-08-19 10:14:04 +02:00
Zoltan Majo
1e55e60cb1 8076373: In 32-bit VM interpreter and compiled code process NaN values differently
Change interpreter to use XMM registers on x86_32 if they are available. Add stubs for methods transforming from/to int/long float/double.

Reviewed-by: kvn, mcberg
2015-08-19 08:55:18 +02:00
Roland Westrelin
df82d96834 8133599: Unsafe.getAndSetObject() is no longer intrinsified by c2
Off by 1 error in c2 intrinsic filtering logic

Reviewed-by: dlong, kvn, shade
2015-08-14 00:28:45 +02:00
Roland Westrelin
0baf2f7e8a 8130847: Cloned object's fields observed as null after C2 escape analysis
Eliminated instance/array written to by an array copy variant must be correctly initialized when reallocated at a deopt

Reviewed-by: kvn, vlivanov
2015-08-15 02:54:18 +02:00
Aleksey Shipilev
63a173e2c4 8019968: Reference CAS induces GC store barrier even on failure
Reviewed-by: kvn, adinn, roland
2015-08-12 09:58:39 +03:00
Sean Mullan
784379f7a4 8077055: Allow other named SecurityPermissions, RuntimePermissions, and AuthPermissions to be used
Reviewed-by: weijun
2015-08-11 08:48:18 -04:00
Aleksey Shipilev
f6c7ab6565 8131682: C1 should use multibyte nops everywhere
Reviewed-by: dlong, goetz, adinn, aph, vlivanov
2015-08-11 12:24:26 +03:00
Matthias Baesken
1104878b02 8133105: Fix getFinalAttributes() on Windows to handle more special cases
Reviewed-by: simonis, rriggs
2015-08-11 10:53:50 +02:00
Frank Yuan
29a1cfdf2f 8133307: Missing files while changing packages of JAXP unittest
Reviewed-by: joehw
2015-08-10 20:26:05 -07:00
Alejandro Murillo
29ad7ba848 Merge 2015-08-10 18:58:25 -07:00
Vicente Romero
8a2078e8a3 8053906: javac is accepting a self-referencing variable initializer inside a lambda expression
Reviewed-by: jlahoda
2015-08-10 18:10:18 -07:00
Brian Burkhalter
eb79060337 8133287: (fs) java/nio/file/Files/probeContentType/ParallelProbes.java should use othervm mode
Add @build tag containing ParallelProbes and SimpleFileTypeDetector and reinstate othervm mode.

Reviewed-by: darcy
2015-08-10 17:26:55 -07:00
Joe Darcy
c32cc2b967 8133231: Mark TimeoutLockLoops.java as failing intermittently
Reviewed-by: lancea
2015-08-10 16:28:31 -07:00
Jonathan Gibbons
966fc670ee 8133223: Clean up package handling code in JavadocTool
Reviewed-by: ksrini
2015-08-10 12:27:29 -07:00
Brian Burkhalter
aabba04bda 8132497: (fs) FileSystems.newFileSystem(URI, ..) doesn't handle UOE thrown by provider
Handle UOEs in newFileSystem(URI,...) similarly to as done in newFileSystem(Path path, ClassLoader loader).

Reviewed-by: chegar
2015-08-10 10:50:24 -07:00
Vlad Ureche
645a55a98f 8011858: Use Compile::live_nodes() instead of Compile::unique() in appropriate places
Reviewed-by: kvn, vlivanov
2015-08-10 10:39:19 -07:00
Frank Yuan
0785d3b590 8132660: Change jaxp unit test package name to be different with jaxp api
Reviewed-by: joehw
2015-08-10 09:52:32 -07:00
Staffan Larsen
48c33a4389 Merge 2015-08-10 13:34:55 +00:00
Staffan Larsen
7c95686199 Merge 2015-08-10 13:34:53 +00:00
Staffan Larsen
e33d8d62ca Merge 2015-08-10 13:34:53 +00:00
Staffan Larsen
de0713848b 8076470: Remove the JVM TI hprof Agent
Reviewed-by: sspitsyn, mchung, erikj
2015-08-10 13:08:55 +02:00
Staffan Larsen
781b67580f 8076470: Remove the JVM TI hprof Agent
Reviewed-by: sspitsyn, mchung, erikj
2015-08-10 13:08:54 +02:00
Staffan Larsen
2743660347 8076470: Remove the JVM TI hprof Agent
Reviewed-by: sspitsyn, mchung, erikj
2015-08-10 13:08:53 +02:00
Dmitry Samersoff
c23132013d Merge 2015-08-10 14:05:37 +03:00
Dmitry Samersoff
7a36a80c84 Merge 2015-08-10 13:56:27 +03:00
Jan Lahoda
900dc0a49c 8129562: JDK 9 build using boot-jdk classes instead of newly compiled classes
Need to specify empty -extdirs and -endorseddirs to javac to avoid loading of boot JDK classes during build.

Reviewed-by: tbell, coffeys, jjg, henryjen
2015-08-10 09:47:35 +02:00
Dmitry Dmitriev
d364e5d191 8132892: Memory must be freed after calling Arguments::set_sysclasspath function
Free memory after calling set_sysclasspath

Reviewed-by: dholmes, dcubed
2015-08-09 13:38:24 +03:00
Mikhailo Seledtsov
15b4d3eff9 8133222: [TESTBUG] Quarantine runtime/SharedArchiveFile/SharedStrings.java until the fix
Quarantined using at-ingore tag

Reviewed-by: dcubed
2015-08-07 17:14:26 -07:00
Brian Burkhalter
e0803f5e68 8133207: ParallelProbes.java test fails after changes for JDK-8080115
Do not run in othervm mode.

Reviewed-by: darcy, rriggs
2015-08-07 16:09:10 -07:00
Kim Barrett
a4537791a8 Merge 2015-08-08 00:27:39 +02:00
Thomas Schatzl
a6609275c8 Merge 2015-08-07 23:01:50 +02:00
Serguei Spitsyn
4f489580d7 8080401: Uninitialised variable in hotspot/src/os/solaris/dtrace/
Reduce the warnings

Reviewed-by: sla, dsamersoff
2015-08-07 09:22:29 -07:00
Serguei Spitsyn
6ee89e55d5 8033577: [parfait] warnings from b128 for hotspot/src/os/solaris/dtrace: Unportable format string argument mismatch
Reduce the warnings

Reviewed-by: sla, dsamersoff, coleenp
2015-08-07 09:21:32 -07:00
Kirill Zhaldybin
176e1beb01 8132708: Add tests for Humongous objects allocation threshold
Added the test which checks that Humongous objects allocation threshold works as expected

Reviewed-by: tschatzl, dfazunen
2015-08-07 17:58:01 +03:00
Brian Burkhalter
f0c2f24793 8080115: (fs) Crash in libgio when calling Files.probeContentType(path) from parallel threads
Make GnomeFileTypeDetector.probeGio() synchronized and add a regression test based on the test source included in JDK-8080115.

Reviewed-by: chegar
2015-08-07 07:10:44 -07:00
Thomas Schatzl
c6cfb3a7fd 8133042: Remove some direct accesses of G1Allocator to G1CollectedHeap members
Remove direct access to private members of G1CollectedHeap from G1Allocator and G1ArchiveAllocator. Allows removal of friend delcarations.

Reviewed-by: kbarrett, jmasa, jwilhelm
2015-08-07 15:37:07 +02:00
Eric Caspole
bcca305c14 8078904: CMS: Assert failed: Ctl pt invariant
Survivor rescan array now baed on MinTLABSize so all entries will fit

Reviewed-by: tschatzl, kbarrett
2015-08-07 09:15:42 -04:00
Volker Simonis
0ee85af4ec 8132551: Initialize local varibales before returning them in p11_convert.c
Reviewed-by: wetmore
2015-08-07 10:25:19 +02:00
Naoto Sato
b9a10bbf8d 8133044: [TESTBUG] CLDRDisplayNameTest uses deprecated API, fails
Reviewed-by: okutsu
2015-08-06 18:20:11 -07:00
Alejandro Murillo
aa37ecbc21 Merge 2015-08-06 13:00:45 -07:00
Alejandro Murillo
99f2706c9d Merge 2015-08-06 13:00:44 -07:00
Karen Kinnear
a53e8f36c1 Merge 2015-08-06 19:52:54 +02:00
Karen Kinnear
7983a4235c 8087342: Crash in klassItable::initialize_itable_for_interface
Fix method searches to handle static, private instance and overpass

Reviewed-by: lfoltan, dholmes, hseigel
2015-08-06 13:02:15 -04:00
Sergey Bylokhov
c595f6461c 4379403: Need to disable the "magic AWT dump key" (CTRL+SHIFT+F1)
Reviewed-by: alexsch, azvegint
2015-08-06 19:52:02 +03:00
Rickard Bäckman
21f9e19316 Merge 2015-08-06 16:28:08 +00:00
Thomas Schatzl
f6175d32d9 Merge 2015-08-06 17:43:04 +02:00
Sergey Bylokhov
f93a7de976 7124271: [macosx] RealSync test failure
Reviewed-by: alexsch, azvegint
2015-08-06 17:55:32 +03:00
Peter Brunet
9de97cfe33 8051626: Rework security restrictions of Java Access Bridge and related Utilities
Move non-public code to internal directories; restrict those directories

Reviewed-by: mchung, prr, mullan, serb
2015-08-14 13:59:40 -05:00
Stuart Marks
0e680c10d5 8068749: Restrict javax.imageio.spi.ServiceRegistry to ImageIO types
Reviewed-by: prr, serb
2015-08-13 13:30:15 -07:00
Phil Race
03755fc9cb 8133514: Update NervousText demo to use java.version System property
Reviewed-by: serb, iris
2015-08-13 12:27:06 -07:00
Phil Race
3774d9b151 8132850: java.lang.ArrayIndexOutOfBoundsException during text rendering with many fonts installed
Reviewed-by: jgodinez, serb
2015-08-13 12:12:10 -07:00
Pooja Chopra
298ef6a50e 8081764: [TEST_BUG] Test javax/swing/plaf/aqua/CustomComboBoxFocusTest.java fails on Windows, Solaris Sparcv9 and Linux but passes on MacOSX
Reviewed-by: alexsch, azvegint
2015-08-13 16:26:17 +03:00
Mikhail Cherkasov
5896a1bf4a 8081787: [macosx] MalformedURLException is thrown during reading data for application/x-java-url;class=java.net.URL flavor
Reviewed-by: alexsch, serb
2015-08-13 15:29:03 +03:00
Yuri Nesterenko
565373e1bc 8132958: [TEST_BUG] Part 1: update client tests failing after changes in setAccessible(true) routine
Reviewed-by: alexsch, serb
2015-08-13 14:20:36 +03:00
David Dehaven
d3d5d40154 Merge 2015-08-12 09:36:43 -07:00
Sergey Bylokhov
ddcf7babce 8131926: java/beans/SimpleBeanInfo/LoadingStandardIcons/LoadingStandardIcons.java failure with modular JDK
Reviewed-by: azvegint, alexsch
2015-08-12 14:37:44 +03:00
Alexander Stepanov
ae92e55c99 8133134: docs: replace <tt> tags (obsolete in html5) for java.desktop
Reviewed-by: alexsch
2015-08-12 13:57:12 +03:00
Alexander Zvegintsev
23438be9c4 8014212: Robot captures black screen
Reviewed-by: alexsch, serb
2015-08-11 16:32:13 +03:00
Mario Torre
f0f77d2b23 8075584: test for 8067364 depends on hardwired text advance
The test incorrectly included values that depend on the installed fonts

Reviewed-by: serb, prr
2015-08-10 14:42:07 +02:00
Kevin Walls
ecf634b1cf Merge 2015-08-06 16:00:55 +02:00
Thomas Schatzl
c2d0a8dbd0 8133047: Rename G1ParScanThreadState::_queue_num to _worker_id
Reviewed-by: jmasa, jwilhelm
2015-08-06 15:52:33 +02:00
Thomas Schatzl
183850cec4 8133043: Clean up code related to termination stats printing
Reformat termination stats related code to make it look more similar to existing code.

Reviewed-by: jwilhelm, jmasa
2015-08-06 15:49:52 +02:00
Thomas Schatzl
6e3ffb1aae 8073052: Rename and clean up the allocation manager hierarchy in g1Allocator.?pp
Fix naming of G1ParGCAllocator, decrease dependencies between G1CollectedHeap, G1Allocator and G1AllocRegion, additional documentation.

Reviewed-by: mgerdin, jmasa, kbarrett
2015-08-06 15:49:50 +02:00
Serguei Spitsyn
e787253b19 8060245: update bsd version of jhelper.d to be in sync with the fix of 8009204 on solaris
Sync the bsd version of jhelper with the solaris version

Reviewed-by: sla, jbachorik
2015-08-06 01:48:27 -07:00
Prasanta Sadhukhan
924b4ad5ff 8080287: The image of BufferedImage.TYPE_INT_ARGB and BufferedImage.TYPE_INT_ARGB_PRE is blank
Reviewed-by: prr, flar
2015-08-06 11:36:52 +03:00
Cheleswer Sahu
95fb9da9de 8075773: jps running as root fails after the fix of JDK-8050807
Reviewed-by: sla, dsamersoff, gthornbr
2015-08-06 00:08:57 -07:00
David Holmes
47dd02d847 8130212: Thread::current() might access freed memory on Solaris
Reviewed-by: kvn, twisti, stuefe
2015-08-05 21:44:54 -04:00
Alexander Stepanov
fed9b961cb 8132566: [TESTBUG] add regression test for inherited classes with the new bean annotations
Reviewed-by: alexsch
2015-08-05 19:11:27 +03:00
Nadeesh TV
418139cec1 8028618: [TEST BUG] javax/swing/JScrollBar/bug4202954/bug4202954.java fails
Reviewed-by: alexsch, azvegint
2015-08-05 16:35:41 +03:00
Jiangli Zhou
0b408e7136 Merge 2015-08-05 05:28:04 +02:00
Kim Barrett
d2c926a6ec Merge 2015-08-05 03:43:31 +02:00
Kim Barrett
8bfa163a68 8132306: java/lang/ref/ReferenceEnqueue.java fails with "RuntimeException: Error: poll() returned null; expected ref object"
Carefully order ref.queue and queue list updates to address races.

Reviewed-by: dholmes, dfuchs, plevart
2015-08-04 17:26:14 -04:00
Dmitry Samersoff
b8c808e251 Merge 2015-08-04 19:25:59 +00:00
David Dehaven
1942bcfa90 Merge 2015-08-04 11:31:19 -07:00
Dmitry Samersoff
9b98a06f7d 8132648: sun/tools/jhsdb/BasicLauncherTest fails with java.lang.RuntimeException
Added check for standard conditions causing attach to fail

Reviewed-by: jbachorik, sspitsyn
2015-08-04 18:11:40 +03:00
Matthias Baesken
0d46ebff8f 8132969: C++11 requires a space between literal and identifier
Reviewed-by: simonis, ctornqvi
2015-08-04 06:52:46 -07:00
Jaroslav Bachorik
82f9578bb3 8085919: OperatingSystemMXBean/TestTotalSwap.java failure : Total Swap Space figures mismatch
Reviewed-by: dholmes
2015-08-04 15:16:23 +02:00
Roland Westrelin
02ae6d2a31 Merge 2015-08-04 13:41:09 +02:00
Alexander Stepanov
de09603863 8131055: bean annotations: add a test checking if a user-defined BeanInfo is top-priority as compared with the annotations
Reviewed-by: alexsch, serb
2015-08-04 14:03:49 +03:00
Bengt Rutisson
4673cb217e 8132953: imageDecompressor.hpp should not include precompiled.hpp
Reviewed-by: dholmes
2015-08-04 12:58:54 +02:00
Semyon Sadetsky
b215a2b390 8132136: [PIT] RTL orientation in JEditorPane is broken
Reviewed-by: alexsch, serb
2015-08-04 13:14:28 +03:00
Semyon Sadetsky
21330b8cf8 8130892: Test javax/swing/plaf/basic/BasicTextUI/8001470/bug8001470.java fails in Solaris Sparcv9
Reviewed-by: alexsch, serb
2015-08-04 12:58:50 +03:00
Alexander Zvegintsev
861ba88c86 8130400: Test java/awt/image/DrawImage/IncorrectClipXorModeSurface2Surface.java fails with ClassCastException
Reviewed-by: prr, serb
2015-08-04 12:34:08 +03:00
David Dehaven
726f626bd7 Merge 2015-08-03 16:33:06 -07:00
David Holmes
8dfd822c41 8080298: Clean up os::...::supports_variable_stack_size()
Reviewed-by: kbarrett, simonis, stuefe, coleenp
2015-08-03 16:54:08 -04:00
Peter Brunet
9bd3fad53c 8132249: Clean up JAB debugging code
Remove dead code;  replace DEBUG_CODE with PrintDebugString; fix typos, incorrect print args

Reviewed-by: van
2015-08-03 15:48:33 -05:00
Olivier Lagneau
e4c4b49bdf 8130339: Add tracing info to LowMemoryTest.java to help 8130339 diagnosis
Run test with traces even when timeout occurs.

Reviewed-by: jbachorik, sspitsyn
2015-08-03 15:31:29 +02:00
Staffan Larsen
2bf01467e3 8132876: Increase PerfDataMemorySize to 64K
Reviewed-by: sspitsyn
2015-08-03 11:12:57 +02:00
Andrew Dinn
bdc4e4d045 8132875: AArch64: Fix error introduced into AArch64 CodeCache by commit for 8130309
The fix for issue 8130309 introduced several errors into the AArch64 codecache routines

Reviewed-by: aph, thartmann, kvn
2015-08-03 05:05:40 -04:00
Zoltan Majo
26cd440c55 8132457: Unify command-line flags controlling the usage of compiler intrinsics
Cleanup processing of command-line flags controlling intrinsics.

Reviewed-by: kvn
2015-08-03 09:39:29 +02:00
Jiangli Zhou
47e90bb79c Merge 2015-07-31 16:00:29 -04:00
Jiangli Zhou
747d91708c Merge 2015-07-31 16:00:26 -04:00
Mikhailo Seledtsov
824267a43a 8132214: [TESTBUG] Create basic shared strings test for CDS archive
Created new test

Reviewed-by: jiangli, ctornqvi
2015-07-31 10:33:02 -07:00
Jaroslav Bachorik
abd5c879c5 8129976: RunFinalizationTest.java times out frequently
Reviewed-by: sspitsyn
2015-07-31 15:36:19 +02:00
Jaroslav Bachorik
71f82b9db5 8129215: com.sun.jmx.mbeanserver.Introspector may provide results inconsistent with the JavaBeans Introspector
Reviewed-by: dfuchs
2015-07-31 15:29:34 +02:00
Yuri Nesterenko
791267a096 6544871: java/awt/event/KeyEvent/KeyTyped/CtrlASCII.html fails from jdk b09 on windows
Reviewed-by: serb
2015-07-31 13:13:30 +03:00
Yumin Qi
4895cfb3c0 Merge 2015-07-31 07:11:11 +00:00
Yumin Qi
bbe7bbd73a Merge 2015-07-31 06:13:13 +00:00
Dmitry Samersoff
f31a35e2ca Merge 2015-07-30 16:23:03 +00:00
Sergey Bylokhov
7e31b6a900 6206439: JInternalFrame.setLayer(Integer layer) should throw NullPointerException when layer=null
Reviewed-by: ant, alexsch
2015-07-30 19:10:23 +03:00
Dmitry Samersoff
47bdec1c0e 8059036: Implement Diagnostic Commands for heap and finalizerinfo
Implement Diagnostic Commands for heap and finalizerinfo

Reviewed-by: sla, plevart, mchung
2015-07-30 16:29:13 +03:00
Dmitry Samersoff
3b63ebf830 8059036: Implement Diagnostic Commands for heap and finalizerinfo
Implement Diagnostic Commands for heap and finalizerinfo

Reviewed-by: sla, plevart, mchung
2015-07-30 16:26:00 +03:00
Sergey Bylokhov
9f39d1674f 8132382: [macosx] Crash during JMC or JavaFX execution when NSApplication is controlled by SWT or JavaFX libraries
Reviewed-by: kizune, alexsch
2015-07-30 15:27:02 +03:00
Alexander Kulyakhtin
98fb52479f 8130527: Serviceability tests fails with Can't attach to process
A helper method changed to provide workaround for 8132539

Reviewed-by: jbachorik
2015-07-30 12:41:39 +03:00
Alexander Scherbatiy
dfc226cfb6 8132123: MultiResolutionCachedImage unnecessarily creates base image to get its size
Reviewed-by: serb
2015-07-30 12:40:45 +04:00
Alexander Scherbatiy
cf608b3cdb 8130478: Reconsider "awt.toolkit" property usage in java.awt.Toolkit getDefaultToolkit() method
Reviewed-by: prr, serb
2015-07-30 12:31:20 +04:00
Jeremy Manson
4b348c9fec 6661889: thread id on Linux is inconsistent in error and log outputs
Reviewed-by: dholmes, kvn
2015-07-29 22:59:03 -04:00
Goetz Lindenmaier
fdbe749d2a 8132242: LogTouchedMethods (8025692) asserts if TieredCompilation is off
LogTouchedMethods causes the template interpreter to generate profiling code even if no compiler is used. If TieredCompilation is off, code containing an assertion that checks that UseCompiler is set, is reached. This assertion exists on the sparc and ppc platforms.

Reviewed-by: simonis, iklam, minqi
2015-07-29 15:08:42 -07:00
Prasanta Sadhukhan
c466ee0357 8130507: closed/java/awt/font/JNICheck/JNICheck.sh test reports some warnings
Reviewed-by: azvegint, prr
2015-07-29 20:32:35 +03:00
Roland Westrelin
96b004cd82 8080289: Intermediate writes in a loop not eliminated by optimizer
Move Stores out of loop (after or before) when possible

Reviewed-by: kvn, vlivanov
2015-07-29 17:25:04 +02:00
Dmitry Cherepanov
85c4b3c082 Merge 2015-07-29 11:33:02 +04:00
Sergey Bylokhov
5e745d9ef1 8013586: audioInputStream.close() does not release the resource
8130305: AudioSystem behavior depends on order that providers are located

Reviewed-by: prr, amenkov
2015-07-28 22:31:54 +03:00
Semyon Sadetsky
7ecc241629 8130735: javax.swing.TimerQueue: timer fires late when another timer starts
Reviewed-by: alexsch, serb, azvegint
2015-07-28 20:59:26 +03:00
Semyon Sadetsky
17903d1583 8025815: Child FileDialog of modal dialog does not get focus on Gnome
Reviewed-by: azvegint, serb
2015-07-28 20:55:45 +03:00
Semyon Sadetsky
c25b61dc1d 8130769: The new menu can't be shown on the menubar after clicking the "Add" button
Reviewed-by: alexsch, serb, azvegint
2015-07-28 20:39:43 +03:00
Sergey Bylokhov
b505b0e570 8132355: Incorrect guard block in HPkeysym.h, awt_Event.h
Reviewed-by: ant, azvegint
2015-07-28 18:14:57 +03:00
Peter Brunet
d02dfb7a3a 8077707: jdk9 b58 cannot run any graphical application on Win 8 with JAWS running
Change dialog proc wparam type from UINT to WPARAM, lparam type from LONG to LPARAM

Reviewed-by: serb, alexsch, van
2015-07-24 13:58:44 -05:00
Sergey Bylokhov
8e0627b61b 8066404: The case is failed automatically and thrown the "java.lang.IllegalStateException" exception
Reviewed-by: alexsch
2015-07-18 15:10:44 +03:00
Alexander Zvegintsev
4c121563fb 8131752: [Regression] Test java/awt/GraphicsDevice/CheckDisplayModes.java fails
Reviewed-by: alexsch, serb
2015-07-23 15:12:32 +03:00
Sergey Bylokhov
e56a9c2393 8067093: Fix windows-specific deprecation warnings in the java.desktop module
Reviewed-by: prr, azvegint, alexsch
2015-07-22 22:33:12 +03:00
Alexey Ivanov
0dea9d5c85 8130776: Remove EmbeddedFrame.requestFocusToEmbedder() method
Reviewed-by: serb, ant
2015-07-22 17:33:17 +03:00
Sergey Bylokhov
9a85aed6c8 8074832: Resolve disabled warnings for libjsoundalsa
Reviewed-by: amenkov, azvegint
2015-07-18 15:13:16 +03:00
Sergey Bylokhov
410e1bbe90 8074831: Resolve disabled warnings for libjsound
Reviewed-by: amenkov, azvegint
2015-07-18 15:12:08 +03:00
Sergey Bylokhov
e8292406d9 8130937: Several methods in BeanProperty return null instead of boolean value
Reviewed-by: alexsch
2015-07-18 15:09:28 +03:00
Henry Jen
eaa42993db 8027634: Support @argfiles for java command-line tool
Reviewed-by: ksrini, mchung
2015-07-08 23:26:48 -07:00
Rob McKenna
0f4fb659ea 8133015: InetAddress.isReachable(tmout) returning wrong value on Windows for IPv6
Reviewed-by: michaelm
2015-08-21 20:41:21 +01:00
Stefan Karlsson
0e252b2a93 8087324: Use semaphores when starting and stopping GC task threads
Reviewed-by: jmasa, sjohanss
2015-06-29 11:11:12 +02:00
Stefan Karlsson
e25bcfd3d3 8087323: Unify and split the work gang classes
Reviewed-by: jmasa, sjohanss
2015-06-29 11:09:39 +02:00
Yumin Qi
aee130df16 Merge 2015-08-14 22:20:21 +00:00
Yumin Qi
211b74795e Merge 2015-08-14 20:40:48 +00:00
Coleen Phillimore
b56a1cdba5 Merge 2015-08-14 19:23:27 +00:00
Richard Reingruber
b42d8f80f5 8133557: Missing test before a branch when checking for MethodCounters in TemplateTable::branch() on x86
Reviewed-by: kvn, coleenp
2015-08-14 15:08:55 -04:00
Yumin Qi
65a39ab028 8130115: REDO - Reduce Symbol::_identity_hash to 2 bytes
Convert Symbol::_identity_hash from integer to short integer to save two bytes. Also change identity_hash() to have 'this' and first two bytes of symbol join the calculation.

Reviewed-by: iklam, coleenp, shade
2015-08-14 10:10:35 -07:00
David Holmes
531a1ddb99 Merge 2015-08-14 04:21:37 +02:00
David Holmes
6b3f9d3d1a 8029453: java/util/concurrent/locks/ReentrantLock/TimeoutLockLoops.java failed by timeout
Reviewed-by: bdelsart, ddmitriev, dcubed
2015-08-13 22:08:40 -04:00
Coleen Phillimore
03f5fcdb40 Merge 2015-08-13 23:35:32 +00:00
Gerard Ziemski
2fdc0d3f21 8112746: Followup to JDK-8059557 (JEP 245)
Several improvements to range/constraint check feature.

Reviewed-by: coleenp, ddmitriev, sangheki, kbarrett
2015-08-13 17:17:56 -05:00
Axel Siebenborn
d32b06427d 8133121: Move implementation of process_grey_object to concurrentMark.inline.hpp
Move implementation of process_grey_object to inline.hpp

Reviewed-by: kbarrett, simonis
2015-08-13 09:32:01 +02:00
Max Ockner
4694fbd776 8098791: Remove PrintClassStatistics and PrintMethodStatistics
PrintClassStatistics and PrintMethodStatistics have been removed.

Reviewed-by: coleenp, iklam
2015-08-12 14:18:12 -04:00
David Lindholm
b206c669f7 8133193: Memory leak in G1 because G1RootProcessor doesn't have desctructor
Reviewed-by: mgerdin, tschatzl
2015-08-12 16:32:29 +02:00
Jon Masamitsu
807c69046a 8081629: CMS split_block() does not correctly fix up block-offset-table for large blocks
Reviewed-by: tschatzl, ysr
2015-05-25 19:26:23 -07:00
Erik Helin
c00b15bccd 8135253: Add push method to CollectionSetChooser
Reviewed-by: mgerdin, tschatzl
2015-09-11 13:20:05 +02:00
Erik Helin
89ec770497 8135260: Split G1CollectorPolicy::finalize_cset into two parts
Reviewed-by: tschatzl, mgerdin
2015-09-11 10:02:35 +02:00
Coleen Phillimore
f5b1a5107d Merge 2015-09-10 06:15:43 +02:00
Matthias Klose
e587cb7165 8135298: Fix zero builds for "unknown" architectures on linux
Add zero architectures for default cases

Reviewed-by: coleenp
2015-09-09 23:47:32 -04:00
Igor Ignatyev
08288654c3 Merge 2015-09-09 22:32:35 +02:00
Kim Barrett
fea40d07b4 8135209: Avoid abutting string literals and identifiers
Add spaces between string literals and identifiers.

Reviewed-by: brutisso, pliden
2015-09-09 14:31:12 -04:00
Sangheon Kim
7ec42b2f7a 8135025: Error message is repeated for large value at G1ConcRefinementThreads
Changed error handling when G1ConcRefinementThreads creation failed

Reviewed-by: jwilhelm, kbarrett, tschatzl
2015-09-09 09:19:32 -07:00
Mikael Gerdin
6f11efbbb4 8135154: Move cards scanned and surviving young words aggregation to G1ParScanThreadStateSet
Reviewed-by: tschatzl, ehelin
2015-09-09 14:22:45 +02:00
Kirill Zhaldybin
5ee47e4f95 8134523: Humongous object test fails with OOME
Added Xms for runs with region' size 16M and 32M to prevent OOME

Reviewed-by: mgerdin, dfazunen
2015-09-09 15:14:05 +03:00
Mikael Gerdin
2dbd4dd578 8135152: Create a G1ParScanThreadStateSet class for managing G1 GC per thread states
Reviewed-by: tschatzl, ehelin
2015-09-09 10:34:22 +02:00
Kim Barrett
802664728f 8134797: Remove explicit casts in CollectorPolicy hierarchy
Removed the explicit casts.

Reviewed-by: jwilhelm, tschatzl, pliden
2015-09-08 16:00:34 -04:00
Jesper Wilhelmsson
30b987f6b7 Merge 2015-09-08 16:10:37 +02:00
Jaroslav Bachorik
6cdec1e47b 8041565: JMX ObjectName could be refactored to save memory
Reviewed-by: emcmanus, dfuchs, olagneau, smarks
2015-04-09 12:29:31 +02:00
Staffan Larsen
c569683941 8133314: Update launcher.properties to remove reference to hprof
Reviewed-by: dholmes, sspitsyn, mchung
2015-08-11 20:38:18 +02:00
Michael Haupt
fd2f61a53f 8004073: Implement C2 Ideal node specific dump() method
Add Node::dump_rel() to dump a node and its related nodes (the notion of "related" depends on the node at hand); add Node::dump_comp() to dump a node in compact representation; add Node::dump_rel_comp() to dump a node and its related nodes in compact representation; add the required machinery; extend some C2 IR nodes with compact and related dumping

Reviewed-by: kvn, roland
2015-03-18 16:16:30 +01:00
Roland Westrelin
c030d4e363 8132525: java -client -XX:+TieredCompilation -XX:CICompilerCount=1 -version asserts since 8130858
TieredCompilation not validated when CICompilerCount is processed

Reviewed-by: kvn, gziemski
2015-07-29 12:33:48 +02:00
Tobias Hartmann
e834a48100 8130309: Need to bailout cleanly if creation of stubs fails when codecache is out of space
Check for failed expansion of stub section in code buffer and bailout.

Reviewed-by: kvn, adinn, dlong, roland, twisti
2015-07-29 08:05:21 +02:00
Jaroslav Bachorik
8339b30ae2 8043937: Drop support for the IIOP transport from the JMX RMIConnector
Reviewed-by: alanb, erikj
2015-03-03 18:19:41 +01:00
4298 changed files with 104088 additions and 80184 deletions

11
.hgtags
View File

@@ -319,3 +319,14 @@ f66c185284727f6e6ffd27e9c45ed2dd9da0a691 jdk9-b71
7c577fda1855d03c04546694d514678f596508c9 jdk9-b74
f55df5cfe11c97e4b58998b76f5bd00a73cde12d jdk9-b75
eeea9adfd1e3d075ef82148c00a4847a1aab4d26 jdk9-b76
c25e882cee9622ec75c4e9d60633539a2f0a8809 jdk9-b77
c8753d0be1778944dc512ec86a459941ea1ad2c3 jdk9-b78
3966bd3b8167419aa05c6718a4af1cf54b1e3c58 jdk9-b79
3c9f5bd909ae7187f24622ee4b69f8a5756a9271 jdk9-b80
2050b3a0aadcb0e024bf798197421d58e54ec8bf jdk9-b81
6521875cb63e1d0121b30af56ebbc36db078c4c6 jdk9-b82
f61a63b7d1e52e307abc0bfc751203155d362ec4 jdk9-b83
51b2db2fa04c16d767b66113dbf08c5349ce382a jdk9-b84
8392405ab038b22e69a3728e17dbdd9e3d3a22ed jdk9-b85
7db0663a5e968059fa7c772172187ebd60b6492d jdk9-b86
1a52a30674cd28c24d4d388150336121f2e9ddf9 jdk9-b87

View File

@@ -319,3 +319,14 @@ c706ef5ea5da00078dc5e4334660315f7d99c15b jdk9-b71
57f3134853ecdd4a3ee2d4d26f22ba981d653d79 jdk9-b74
8fd6eeb878606e39c908f12535f34ebbfd225a4a jdk9-b75
d82072b699b880a1f647a5e2d7c0f86cec958941 jdk9-b76
7972dc8f2a47f0c4cd8f02fa5662af41f028aa14 jdk9-b77
8c40d4143ee13bdf8170c68cc384c36ab1e9fadb jdk9-b78
ba08a9f79b9849716bae1f39f71333d47f604012 jdk9-b79
f7c5ae2933c0b8510a420d1713a955e4ffc7ad0b jdk9-b80
b8afcf91331d78626a583ec1b63164468d6f4181 jdk9-b81
42b56d1f418523ecb61a49d7493302c80c8009cc jdk9-b82
ce5c14d97d95084504c32b9320cb33cce4235588 jdk9-b83
1c8134475511ffe6726677e1418a89a7a45e92d6 jdk9-b84
1f345217c9bab05f192d00cf1665b3286c49ccdb jdk9-b85
2aa1daf98d3e2ee37f20f6858c53cc37020f6937 jdk9-b86
fd4f4f7561074dc0dbc1772c8489c7b902b6b8a9 jdk9-b87

View File

@@ -288,7 +288,7 @@ AC_DEFUN([BASIC_SETUP_TOOL],
# Publish this variable in the help.
AC_ARG_VAR($1, [Override default value for $1])
if test "x[$]$1" = x; then
if [[ -z "${$1+x}" ]]; then
# The variable is not set by user, try to locate tool using the code snippet
$2
else
@@ -312,25 +312,32 @@ AC_DEFUN([BASIC_SETUP_TOOL],
# for unknown variables in the end.
CONFIGURE_OVERRIDDEN_VARIABLES="$try_remove_var"
# Check if the provided tool contains a complete path.
tool_specified="[$]$1"
tool_basename="${tool_specified##*/}"
if test "x$tool_basename" = "x$tool_specified"; then
# A command without a complete path is provided, search $PATH.
AC_MSG_NOTICE([Will search for user supplied tool $1=$tool_basename])
AC_PATH_PROG($1, $tool_basename)
if test "x[$]$1" = x; then
AC_MSG_ERROR([User supplied tool $tool_basename could not be found])
fi
else
# Otherwise we believe it is a complete path. Use it as it is.
AC_MSG_NOTICE([Will use user supplied tool $1=$tool_specified])
# Check if we try to supply an empty value
if test "x[$]$1" = x; then
AC_MSG_NOTICE([Setting user supplied tool $1= (no value)])
AC_MSG_CHECKING([for $1])
if test ! -x "$tool_specified"; then
AC_MSG_RESULT([not found])
AC_MSG_ERROR([User supplied tool $1=$tool_specified does not exist or is not executable])
AC_MSG_RESULT([disabled])
else
# Check if the provided tool contains a complete path.
tool_specified="[$]$1"
tool_basename="${tool_specified##*/}"
if test "x$tool_basename" = "x$tool_specified"; then
# A command without a complete path is provided, search $PATH.
AC_MSG_NOTICE([Will search for user supplied tool $1=$tool_basename])
AC_PATH_PROG($1, $tool_basename)
if test "x[$]$1" = x; then
AC_MSG_ERROR([User supplied tool $tool_basename could not be found])
fi
else
# Otherwise we believe it is a complete path. Use it as it is.
AC_MSG_NOTICE([Will use user supplied tool $1=$tool_specified])
AC_MSG_CHECKING([for $1])
if test ! -x "$tool_specified"; then
AC_MSG_RESULT([not found])
AC_MSG_ERROR([User supplied tool $1=$tool_specified does not exist or is not executable])
fi
AC_MSG_RESULT([$tool_specified])
fi
AC_MSG_RESULT([$tool_specified])
fi
fi
fi
@@ -376,9 +383,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_FUNDAMENTAL_TOOLS],
[
# Start with tools that do not need have cross compilation support
# and can be expected to be found in the default PATH. These tools are
# used by configure. Nor are these tools expected to be found in the
# devkit from the builddeps server either, since they are
# needed to download the devkit.
# used by configure.
# First are all the simple required tools.
BASIC_REQUIRE_PROGS(BASENAME, basename)
@@ -437,6 +442,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_FUNDAMENTAL_TOOLS],
BASIC_PATH_PROGS(READLINK, [greadlink readlink])
BASIC_PATH_PROGS(DF, df)
BASIC_PATH_PROGS(CPIO, [cpio bsdcpio])
BASIC_PATH_PROGS(NICE, nice)
])
# Setup basic configuration paths, and platform-specific stuff related to PATHs.
@@ -445,6 +451,15 @@ AC_DEFUN_ONCE([BASIC_SETUP_PATHS],
# Save the current directory this script was started from
CURDIR="$PWD"
# We might need to rewrite ORIGINAL_PATH, if it includes "#", to quote them
# for make. We couldn't do this when we retrieved ORIGINAL_PATH, since SED
# was not available at that time.
REWRITTEN_PATH=`$ECHO "$ORIGINAL_PATH" | $SED -e 's/#/\\\\#/g'`
if test "x$REWRITTEN_PATH" != "x$ORIGINAL_PATH"; then
ORIGINAL_PATH="$REWRITTEN_PATH"
AC_MSG_NOTICE([Rewriting ORIGINAL_PATH to $REWRITTEN_PATH])
fi
if test "x$OPENJDK_TARGET_OS" = "xwindows"; then
PATH_SEP=";"
BASIC_CHECK_PATHS_WINDOWS
@@ -935,6 +950,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_COMPLEX_TOOLS],
BASIC_PATH_PROGS(HG, hg)
BASIC_PATH_PROGS(STAT, stat)
BASIC_PATH_PROGS(TIME, time)
BASIC_PATH_PROGS(PATCH, [gpatch patch])
# Check if it's GNU time
IS_GNU_TIME=`$TIME --version 2>&1 | $GREP 'GNU time'`
if test "x$IS_GNU_TIME" != x; then

View File

@@ -108,12 +108,6 @@ AC_DEFUN([BOOTJDK_CHECK_ARGUMENTS],
fi
])
# Test: Is bootjdk available from builddeps?
AC_DEFUN([BOOTJDK_CHECK_BUILDDEPS],
[
BDEPS_CHECK_MODULE(BOOT_JDK, bootjdk, xxx, [BOOT_JDK_FOUND=maybe], [BOOT_JDK_FOUND=no])
])
# Test: Is $JAVA_HOME set?
AC_DEFUN([BOOTJDK_CHECK_JAVA_HOME],
[
@@ -276,9 +270,6 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK],
AC_MSG_ERROR([The path given by --with-boot-jdk does not contain a valid Boot JDK])
fi
# Test: Is bootjdk available from builddeps?
BOOTJDK_DO_CHECK([BOOTJDK_CHECK_BUILDDEPS])
# Test: On MacOS X, can we find a boot jdk using /usr/libexec/java_home?
BOOTJDK_DO_CHECK([BOOTJDK_CHECK_MACOSX_JAVA_LOCATOR])

View File

@@ -1,66 +0,0 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# This is a configuration example using builddeps
# that are downloaded from an ftp server.
# This is how you use it:
#configure --with-builddeps-server=ftp://builddeps.server/adir \
# --with-builddeps-conf=..../builddeps.conf.example
# --with-builddeps-dir=/localdisk/mybuilddeps
# Translate a configuration triplet/quadruplet into something
# known by this configuration file.
# If no rewrite was found, then rewritten_target=${OPENJDK_TARGET_AUTOCONF_NAME}
REWRITE_i686_pc_linux_gnu=i686-unknown-linux-gnu
REWRITE_i386_pc_solaris2_10=i686-sun-solaris2_10
# The needed cups builddeps are platform independent header files.
# I.e. they need not be part of the devkit.
builddep_cups=lib/cups_1_3_9.zip
builddep_cups_CFLAGS=-I${depdir}
# The devkit is the cross compiler tools and sys-roots
# for the build platform.
builddep_devkit=sdk/sdk-${rewritten_build}-20110921.tar.gz
# The freetype dependency is partly platform dependent.
# It is stored inside the sys-root.
builddep_freetype2=sdk/sdk-${rewritten_build}-20110921.tar.gz
builddep_freetype2_CFLAGS=-I${depdir}/${rewritten_target}/sys-root/usr/include/freetype2
builddep_freetype2_LIBS=-lfreetype
# There are many other build dependencies, but they are implicitly
# found inside the devkit sys-root.
# The boot jdk runs on the build system and is used to compile and run
# Java build tools and of course, the bootstrap javac.
builddep_bootjdk_BUILD_i386_pc_solaris2=java/jdk-7u2-fcs-bin-b13-solaris-i586-17_nov_2011.zip
builddep_bootjdk_BUILD_x86_64_pc_solaris2=java/jdk-7u2-fcs-bin-b13-solaris-x64-17_nov_2011.zip
builddep_bootjdk_BUILD_i686_unknown_linux_gnu=java/jdk-7u2-fcs-bin-b13-linux-i586-17_nov_2011.zip
builddep_bootjdk_BUILD_x86_64_unknown_linux_gnu=java/jdk-7u2-fcs-bin-b13-linux-x64-17_nov_2011.zip
builddep_bootjdk_BUILD_sparc_solaris2=java/jdk-7u2-fcs-bin-b13-solaris-sparc-17_nov_2011.zip
builddep_bootjdk_BUILD_sparcv9_solaris2=java/jdk-7u2-fcs-bin-b13-solaris-sparcv9-17_nov_2011.zip
builddep_bootjdk_BUILD_i386_pc_windows=java/jdk-7u2-fcs-bin-b13-windows-i586-17_nov_2011.zip
builddep_bootjdk_BUILD_x86_64_pc_windows=java/jdk-7u2-fcs-bin-b13-windows-x64-17_nov_2011.zip
builddep_bootjdk_ROOT=${depdir}/jdk7_02/jdk1.7.0_02

View File

@@ -1,43 +0,0 @@
#
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# This is a configuration example using an nfs-mount /java
# it will use the builddeps directly from the nfs mounted directory.
# This is how you use it:
#configure --with-builddeps-conf=..../builddeps.conf.nfs.example
REWRITE_i686_pc_linux_gnu=i686-unknown-linux-gnu
REWRITE_i386_pc_solaris2_10=i686-sun-solaris2_10
DEVTOOLS=/java/devtools
builddep_cups=${DEVTOOLS}/linux/cups/include
builddep_cups_CFLAGS=-I${depdir}
JDK_ROOT=/java/re/jdk/7u4/latest/binaries
builddep_bootjdk_BUILD_i386_pc_solaris2=${JDK_ROOT}/solaris-i586
builddep_bootjdk_BUILD_x86_64_pc_solaris2=${JDK_ROOT}/solaris-amd64
builddep_bootjdk_BUILD_i686_unknown_linux_gnu=${JDK_ROOT}/linux-i586
builddep_bootjdk_BUILD_x86_64_unknown_linux_gnu=${JDK_ROOT}/linux-amd64
builddep_bootjdk_ROOT=

View File

@@ -1,247 +0,0 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
AC_DEFUN_ONCE([BDEPS_SCAN_FOR_BUILDDEPS],
[
define(LIST_OF_BUILD_DEPENDENCIES,)
if test "x$with_builddeps_server" != x || test "x$with_builddeps_conf" != x; then
if test "x$with_builddeps_conf" != x; then
AC_MSG_CHECKING([for supplied builddeps configuration file])
builddepsfile=$with_builddeps_conf
if test -s $builddepsfile; then
. $builddepsfile
AC_MSG_RESULT([loaded!])
else
AC_MSG_ERROR([The given builddeps conf file $with_builddeps_conf could not be loaded!])
fi
else
AC_MSG_CHECKING([for builddeps.conf files in sources...])
builddepsfile=`mktemp`
touch $builddepsfile
# Put all found confs into a single file.
find ${SRC_ROOT} -name builddeps.conf -exec cat \{\} \; >> $builddepsfile
# Source the file to acquire the variables
if test -s $builddepsfile; then
. $builddepsfile
AC_MSG_RESULT([found at least one!])
else
AC_MSG_ERROR([Could not find any builddeps.conf at all!])
fi
fi
# Create build and target names that use _ instead of "-" and ".".
# This is necessary to use them in variable names.
build_var=`echo ${OPENJDK_BUILD_AUTOCONF_NAME} | tr '-' '_' | tr '.' '_'`
target_var=`echo ${OPENJDK_TARGET_AUTOCONF_NAME} | tr '-' '_' | tr '.' '_'`
# Extract rewrite information for build and target
eval rewritten_build=\${REWRITE_${build_var}}
if test "x$rewritten_build" = x; then
rewritten_build=${OPENJDK_BUILD_AUTOCONF_NAME}
echo Build stays the same $rewritten_build
else
echo Rewriting build for builddeps into $rewritten_build
fi
eval rewritten_target=\${REWRITE_${target_var}}
if test "x$rewritten_target" = x; then
rewritten_target=${OPENJDK_TARGET_AUTOCONF_NAME}
echo Target stays the same $rewritten_target
else
echo Rewriting target for builddeps into $rewritten_target
fi
rewritten_build_var=`echo ${rewritten_build} | tr '-' '_' | tr '.' '_'`
rewritten_target_var=`echo ${rewritten_target} | tr '-' '_' | tr '.' '_'`
fi
AC_CHECK_PROGS(BDEPS_UNZIP, [7z unzip])
if test "x$BDEPS_UNZIP" = x7z; then
BDEPS_UNZIP="7z x"
fi
AC_CHECK_PROGS(BDEPS_FTP, [wget lftp ftp])
])
AC_DEFUN([BDEPS_FTPGET],
[
# $1 is the ftp://abuilddeps.server.com/libs/cups.zip
# $2 is the local file name for the downloaded file.
VALID_TOOL=no
if test "x$BDEPS_FTP" = xwget; then
VALID_TOOL=yes
wget -O $2 $1
fi
if test "x$BDEPS_FTP" = xlftp; then
VALID_TOOL=yes
lftp -c "get $1 -o $2"
fi
if test "x$BDEPS_FTP" = xftp; then
VALID_TOOL=yes
FTPSERVER=`echo $1 | cut -f 3 -d '/'`
FTPPATH=`echo $1 | cut -f 4- -d '/'`
FTPUSERPWD=${FTPSERVER%%@*}
if test "x$FTPSERVER" != "x$FTPUSERPWD"; then
FTPUSER=${userpwd%%:*}
FTPPWD=${userpwd#*@}
FTPSERVER=${FTPSERVER#*@}
else
FTPUSER=ftp
FTPPWD=ftp
fi
# the "pass" command does not work on some
# ftp clients (read ftp.exe) but if it works,
# passive mode is better!
( \
echo "user $FTPUSER $FTPPWD" ; \
echo "pass" ; \
echo "bin" ; \
echo "get $FTPPATH $2" ; \
) | ftp -in $FTPSERVER
fi
if test "x$VALID_TOOL" != xyes; then
AC_MSG_ERROR([I do not know how to use the tool: $BDEPS_FTP])
fi
])
AC_DEFUN([BDEPS_CHECK_MODULE],
[
define([LIST_OF_BUILD_DEPENDENCIES],LIST_OF_BUILD_DEPENDENCIES[$2=$3'\n'])
if test "x$with_builddeps_server" != x || test "x$with_builddeps_conf" != x; then
# Source the builddeps file again, to make sure it uses the latest variables!
. $builddepsfile
# Look for a target and build machine specific resource!
eval resource=\${builddep_$2_BUILD_${rewritten_build_var}_TARGET_${rewritten_target_var}}
if test "x$resource" = x; then
# Ok, lets instead look for a target specific resource
eval resource=\${builddep_$2_TARGET_${rewritten_target_var}}
fi
if test "x$resource" = x; then
# Ok, lets instead look for a build specific resource
eval resource=\${builddep_$2_BUILD_${rewritten_build_var}}
fi
if test "x$resource" = x; then
# Ok, lets instead look for a generic resource
# (The $2 comes from M4 and not the shell, thus no need for eval here.)
resource=${builddep_$2}
fi
if test "x$resource" != x; then
AC_MSG_NOTICE([Using builddeps $resource for $2])
# If the resource in the builddeps.conf file is an existing directory,
# for example /java/linux/cups
if test -d ${resource}; then
depdir=${resource}
else
BDEPS_FETCH($2, $resource, $with_builddeps_server, $with_builddeps_dir, depdir)
fi
# Source the builddeps file again, because in the previous command, the depdir
# was updated to point at the current build dependency install directory.
. $builddepsfile
# Now extract variables from the builddeps.conf files.
theroot=${builddep_$2_ROOT}
thecflags=${builddep_$2_CFLAGS}
thelibs=${builddep_$2_LIBS}
if test "x$depdir" = x; then
AC_MSG_ERROR([Could not download build dependency $2])
fi
$1=$depdir
if test "x$theroot" != x; then
$1="$theroot"
fi
if test "x$thecflags" != x; then
$1_CFLAGS="$thecflags"
fi
if test "x$thelibs" != x; then
$1_LIBS="$thelibs"
fi
m4_default([$4], [:])
m4_ifvaln([$5], [else $5])
fi
m4_ifvaln([$5], [else $5])
fi
])
AC_DEFUN([BDEPS_FETCH],
[
# $1 is for example mymodule
# $2 is for example libs/general/libmymod_1_2_3.zip
# $3 is for example ftp://mybuilddeps.myserver.com/builddeps
# $4 is for example /localhome/builddeps
# $5 is the name of the variable into which we store the depdir, eg MYMOD
# Will download ftp://mybuilddeps.myserver.com/builddeps/libs/general/libmymod_1_2_3.zip and
# unzip into the directory: /localhome/builddeps/libmymod_1_2_3
filename=`basename $2`
filebase=`echo $filename | sed 's/\.[[^\.]]*$//'`
filebase=${filename%%.*}
extension=${filename#*.}
installdir=$4/$filebase
if test ! -f $installdir/$filename.unpacked; then
AC_MSG_NOTICE([Downloading build dependency $1 from $3/$2 and installing into $installdir])
if test ! -d $installdir; then
mkdir -p $installdir
fi
if test ! -d $installdir; then
AC_MSG_ERROR([Could not create directory $installdir])
fi
tmpfile=`mktemp $installdir/$1.XXXXXXXXX`
touch $tmpfile
if test ! -f $tmpfile; then
AC_MSG_ERROR([Could not create files in directory $installdir])
fi
BDEPS_FTPGET([$3/$2] , [$tmpfile])
mv $tmpfile $installdir/$filename
if test ! -s $installdir/$filename; then
AC_MSG_ERROR([Could not download $3/$2])
fi
case "$extension" in
zip) echo "Unzipping $installdir/$filename..."
(cd $installdir ; rm -f $installdir/$filename.unpacked ; $BDEPS_UNZIP $installdir/$filename > /dev/null && touch $installdir/$filename.unpacked)
;;
tar.gz) echo "Untaring $installdir/$filename..."
(cd $installdir ; rm -f $installdir/$filename.unpacked ; tar xzf $installdir/$filename && touch $installdir/$filename.unpacked)
;;
tgz) echo "Untaring $installdir/$filename..."
(cd $installdir ; rm -f $installdir/$filename.unpacked ; tar xzf $installdir/$filename && touch $installdir/$filename.unpacked)
;;
*) AC_MSG_ERROR([Cannot handle build depency archive with extension $extension])
;;
esac
fi
if test -f $installdir/$filename.unpacked; then
$5=$installdir
fi
])
AC_DEFUN_ONCE([BDEPS_CONFIGURE_BUILDDEPS],
[
AC_ARG_WITH(builddeps-conf, [AS_HELP_STRING([--with-builddeps-conf],
[use this configuration file for the builddeps])])
AC_ARG_WITH(builddeps-server, [AS_HELP_STRING([--with-builddeps-server],
[download and use build dependencies from this server url])])
AC_ARG_WITH(builddeps-dir, [AS_HELP_STRING([--with-builddeps-dir],
[store downloaded build dependencies here @<:@/localhome/builddeps@:>@])],
[],
[with_builddeps_dir=/localhome/builddeps])
AC_ARG_WITH(builddeps-group, [AS_HELP_STRING([--with-builddeps-group],
[chgrp the downloaded build dependencies to this group])])
])

View File

@@ -29,47 +29,50 @@
##########################################################################################
# Substitutions from autoconf
LEGACY_BUILD_DIR=@OPENJDK_TARGET_OS@-@OPENJDK_TARGET_CPU_LEGACY@
export LEGACY_BUILD_DIR=@OPENJDK_TARGET_OS@-@OPENJDK_TARGET_CPU_LEGACY@
OPENJDK_TARGET_OS="@OPENJDK_TARGET_OS@"
OPENJDK_TARGET_CPU="@OPENJDK_TARGET_CPU@"
export OPENJDK_TARGET_OS="@OPENJDK_TARGET_OS@"
export OPENJDK_TARGET_CPU="@OPENJDK_TARGET_CPU@"
AWK="@AWK@"
CAT="@CAT@"
CMP="@CMP@"
CP="@CP@"
CUT="@CUT@"
DIFF="@DIFF@"
DUMPBIN="@FIXPATH@ @DUMPBIN@"
EXPR="@EXPR@"
FILE="@FILE@"
FIND="@FIND@"
GREP="@GREP@"
JAVAP="@FIXPATH@ @BOOT_JDK@/bin/javap @JAVA_TOOL_FLAGS_SMALL@"
JIMAGE="@FIXPATH@ @BUILD_OUTPUT@/jdk/bin/jimage"
LDD="@LDD@"
LN="@LN@"
MKDIR="@MKDIR@"
NAWK="@NAWK@"
NM="@GNM@"
OBJDUMP="@OBJDUMP@"
OTOOL="@OTOOL@"
PRINTF="@PRINTF@"
READELF="@READELF@"
RM="@RM@"
SED="@SED@"
SORT="@SORT@"
STAT="@STAT@"
STRIP="@POST_STRIP_CMD@"
TEE="@TEE@"
UNIQ="@UNIQ@"
UNPACK200="@FIXPATH@ @BOOT_JDK@/bin/unpack200"
UNZIP="@UNZIP@"
export AWK="@AWK@"
export BASH="@BASH@"
export CAT="@CAT@"
export CMP="@CMP@"
export CP="@CP@"
export CUT="@CUT@"
export DIFF="@DIFF@"
export DUMPBIN="@FIXPATH@ @DUMPBIN@"
export EXPR="@EXPR@"
export FILE="@FILE@"
export FIND="@FIND@"
export GREP="@GREP@"
export JAVAP="@FIXPATH@ @BOOT_JDK@/bin/javap @JAVA_TOOL_FLAGS_SMALL@"
export JIMAGE="@FIXPATH@ @BUILD_OUTPUT@/jdk/bin/jimage"
export LDD="@LDD@"
export LN="@LN@"
export MKDIR="@MKDIR@"
export MV="@MV@"
export NAWK="@NAWK@"
export NM="@GNM@"
export OBJDUMP="@OBJDUMP@"
export OTOOL="@OTOOL@"
export PRINTF="@PRINTF@"
export READELF="@READELF@"
export RM="@RM@"
export SED="@SED@"
export SORT="@SORT@"
export STAT="@STAT@"
export STRIP="@STRIP@ @STRIPFLAGS@"
export TEE="@TEE@"
export UNIQ="@UNIQ@"
export UNPACK200="@FIXPATH@ @BOOT_JDK@/bin/unpack200"
export UNZIP="@UNZIP@"
SRC_ROOT="@TOPDIR@"
export SRC_ROOT="@TOPDIR@"
export OUTPUT_ROOT="@OUTPUT_ROOT@"
if [ "$OPENJDK_TARGET_OS" = "windows" ]; then
PATH="@VS_PATH@"
export PATH="@VS_PATH@"
fi
# Now locate the main script and run it.
@@ -79,4 +82,8 @@ if [ ! -e "$REAL_COMPARE_SCRIPT" ]; then
exit 1
fi
. "$REAL_COMPARE_SCRIPT" "$@"
# Rotate logs
$RM $OUTPUT_ROOT/compare.log.old 2> /dev/null
$MV $OUTPUT_ROOT/compare.log $OUTPUT_ROOT/compare.log.old 2> /dev/null
$BASH $SRC_ROOT/common/bin/logger.sh $OUTPUT_ROOT/compare.log $BASH "$REAL_COMPARE_SCRIPT" "$@"

View File

@@ -39,7 +39,6 @@ m4_include([build-aux/pkg.m4])
# Include these first...
m4_include([basics.m4])
m4_include([basics_windows.m4])
m4_include([builddeps.m4])
# ... then the rest
m4_include([boot-jdk.m4])
m4_include([build-performance.m4])
@@ -121,12 +120,6 @@ PKG_PROG_PKG_CONFIG
# After basic tools have been setup, we can check build os specific details.
PLATFORM_SETUP_OPENJDK_BUILD_OS_VERSION
# Setup builddeps, for automatic downloading of tools we need.
# This is needed before we can call BDEPS_CHECK_MODULE, which is done in
# boot-jdk setup, but we need to have basic tools setup first.
BDEPS_CONFIGURE_BUILDDEPS
BDEPS_SCAN_FOR_BUILDDEPS
###############################################################################
#
# Determine OpenJDK variants, options and version numbers.
@@ -165,6 +158,11 @@ SRCDIRS_SETUP_OUTPUT_DIRS
# First determine the toolchain type (compiler family)
TOOLCHAIN_DETERMINE_TOOLCHAIN_TYPE
# User supplied flags should be used when configure detects compilers
FLAGS_SETUP_USER_SUPPLIED_FLAGS
# The sysroot cflags are needed for configure to be able to run the compilers
FLAGS_SETUP_SYSROOT_FLAGS
# Then detect the actual binaries needed
TOOLCHAIN_PRE_DETECTION
TOOLCHAIN_DETECT_TOOLCHAIN_CORE
@@ -206,14 +204,8 @@ JDKOPT_SETUP_CODE_COVERAGE
# After we have toolchain, we can compile fixpath. It's needed by the lib checks.
BASIC_COMPILE_FIXPATH
LIB_SETUP_INIT
LIB_SETUP_X11
LIB_SETUP_CUPS
LIB_SETUP_FREETYPE
LIB_SETUP_ALSA
LIB_SETUP_MISC_LIBS
LIB_SETUP_STATIC_LINK_LIBSTDCPP
LIB_SETUP_ON_WINDOWS
LIB_DETERMINE_DEPENDENCIES
LIB_SETUP_LIBRARIES
###############################################################################
#

View File

@@ -23,6 +23,100 @@
# questions.
#
# Reset the global CFLAGS/LDFLAGS variables and initialize them with the
# corresponding configure arguments instead
AC_DEFUN_ONCE([FLAGS_SETUP_USER_SUPPLIED_FLAGS],
[
if test "x$CFLAGS" != "x${ADDED_CFLAGS}"; then
AC_MSG_WARN([Ignoring CFLAGS($CFLAGS) found in environment. Use --with-extra-cflags])
fi
if test "x$CXXFLAGS" != "x${ADDED_CXXFLAGS}"; then
AC_MSG_WARN([Ignoring CXXFLAGS($CXXFLAGS) found in environment. Use --with-extra-cxxflags])
fi
if test "x$LDFLAGS" != "x${ADDED_LDFLAGS}"; then
AC_MSG_WARN([Ignoring LDFLAGS($LDFLAGS) found in environment. Use --with-extra-ldflags])
fi
AC_ARG_WITH(extra-cflags, [AS_HELP_STRING([--with-extra-cflags],
[extra flags to be used when compiling jdk c-files])])
AC_ARG_WITH(extra-cxxflags, [AS_HELP_STRING([--with-extra-cxxflags],
[extra flags to be used when compiling jdk c++-files])])
AC_ARG_WITH(extra-ldflags, [AS_HELP_STRING([--with-extra-ldflags],
[extra flags to be used when linking jdk])])
EXTRA_CFLAGS="$with_extra_cflags"
EXTRA_CXXFLAGS="$with_extra_cxxflags"
EXTRA_LDFLAGS="$with_extra_ldflags"
# Hotspot needs these set in their legacy form
LEGACY_EXTRA_CFLAGS="$LEGACY_EXTRA_CFLAGS $EXTRA_CFLAGS"
LEGACY_EXTRA_CXXFLAGS="$LEGACY_EXTRA_CXXFLAGS $EXTRA_CXXFLAGS"
LEGACY_EXTRA_LDFLAGS="$LEGACY_EXTRA_LDFLAGS $EXTRA_LDFLAGS"
AC_SUBST(LEGACY_EXTRA_CFLAGS)
AC_SUBST(LEGACY_EXTRA_CXXFLAGS)
AC_SUBST(LEGACY_EXTRA_LDFLAGS)
# The global CFLAGS and LDLAGS variables are used by configure tests and
# should include the extra parameters
CFLAGS="$EXTRA_CFLAGS"
CXXFLAGS="$EXTRA_CXXFLAGS"
LDFLAGS="$EXTRA_LDFLAGS"
CPPFLAGS=""
])
# Setup the sysroot flags and add them to global CFLAGS and LDFLAGS so
# that configure can use them while detecting compilers.
# TOOLCHAIN_TYPE is available here.
AC_DEFUN_ONCE([FLAGS_SETUP_SYSROOT_FLAGS],
[
if test "x$SYSROOT" != "x"; then
if test "x$TOOLCHAIN_TYPE" = xsolstudio; then
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
# Solaris Studio does not have a concept of sysroot. Instead we must
# make sure the default include and lib dirs are appended to each
# compile and link command line.
SYSROOT_CFLAGS="-I$SYSROOT/usr/include"
SYSROOT_LDFLAGS="-L$SYSROOT/usr/lib$OPENJDK_TARGET_CPU_ISADIR \
-L$SYSROOT/lib$OPENJDK_TARGET_CPU_ISADIR \
-L$SYSROOT/usr/ccs/lib$OPENJDK_TARGET_CPU_ISADIR"
fi
elif test "x$TOOLCHAIN_TYPE" = xgcc; then
SYSROOT_CFLAGS="--sysroot=$SYSROOT"
SYSROOT_LDFLAGS="--sysroot=$SYSROOT"
elif test "x$TOOLCHAIN_TYPE" = xclang; then
SYSROOT_CFLAGS="-isysroot $SYSROOT"
SYSROOT_LDFLAGS="-isysroot $SYSROOT"
fi
# Propagate the sysroot args to hotspot
LEGACY_EXTRA_CFLAGS="$LEGACY_EXTRA_CFLAGS $SYSROOT_CFLAGS"
LEGACY_EXTRA_CXXFLAGS="$LEGACY_EXTRA_CXXFLAGS $SYSROOT_CFLAGS"
LEGACY_EXTRA_LDFLAGS="$LEGACY_EXTRA_LDFLAGS $SYSROOT_LDFLAGS"
# The global CFLAGS and LDFLAGS variables need these for configure to function
CFLAGS="$CFLAGS $SYSROOT_CFLAGS"
CPPFLAGS="$CPPFLAGS $SYSROOT_CFLAGS"
CXXFLAGS="$CXXFLAGS $SYSROOT_CFLAGS"
LDFLAGS="$LDFLAGS $SYSROOT_LDFLAGS"
fi
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
# We also need -iframework<path>/System/Library/Frameworks
SYSROOT_CFLAGS="$SYSROOT_CFLAGS -iframework $SYSROOT/System/Library/Frameworks"
SYSROOT_LDFLAGS="$SYSROOT_LDFLAGS -iframework $SYSROOT/System/Library/Frameworks"
# These always need to be set, or we can't find the frameworks embedded in JavaVM.framework
# set this here so it doesn't have to be peppered throughout the forest
SYSROOT_CFLAGS="$SYSROOT_CFLAGS -F $SYSROOT/System/Library/Frameworks/JavaVM.framework/Frameworks"
SYSROOT_LDFLAGS="$SYSROOT_LDFLAGS -F $SYSROOT/System/Library/Frameworks/JavaVM.framework/Frameworks"
fi
AC_SUBST(SYSROOT_CFLAGS)
AC_SUBST(SYSROOT_LDFLAGS)
])
AC_DEFUN_ONCE([FLAGS_SETUP_INIT_FLAGS],
[
# Option used to tell the compiler whether to create 32- or 64-bit executables
@@ -60,10 +154,7 @@ AC_DEFUN_ONCE([FLAGS_SETUP_INIT_FLAGS],
STRIPFLAGS="-X32_64"
fi
if test "x$OPENJDK_TARGET_OS" != xwindows; then
POST_STRIP_CMD="$STRIP $STRIPFLAGS"
fi
AC_SUBST(POST_STRIP_CMD)
AC_SUBST(STRIPFLAGS)
if test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
CC_OUT_OPTION=-Fo
@@ -113,44 +204,6 @@ AC_DEFUN_ONCE([FLAGS_SETUP_INIT_FLAGS],
# silence copyright notice and other headers.
COMMON_CCXXFLAGS="$COMMON_CCXXFLAGS -nologo"
fi
if test "x$SYSROOT" != "x"; then
if test "x$TOOLCHAIN_TYPE" = xsolstudio; then
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
# Solaris Studio does not have a concept of sysroot. Instead we must
# make sure the default include and lib dirs are appended to each
# compile and link command line.
SYSROOT_CFLAGS="-I$SYSROOT/usr/include"
SYSROOT_LDFLAGS="-L$SYSROOT/usr/lib$OPENJDK_TARGET_CPU_ISADIR \
-L$SYSROOT/lib$OPENJDK_TARGET_CPU_ISADIR \
-L$SYSROOT/usr/ccs/lib$OPENJDK_TARGET_CPU_ISADIR"
fi
elif test "x$OPENJDK_TARGET_OS" = xmacosx; then
# Apple only wants -isysroot <path>, but we also need -iframework<path>/System/Library/Frameworks
SYSROOT_CFLAGS="-isysroot \"$SYSROOT\" -iframework\"$SYSROOT/System/Library/Frameworks\""
SYSROOT_LDFLAGS=$SYSROOT_CFLAGS
elif test "x$TOOLCHAIN_TYPE" = xgcc; then
SYSROOT_CFLAGS="--sysroot=$SYSROOT"
SYSROOT_LDFLAGS="--sysroot=$SYSROOT"
elif test "x$TOOLCHAIN_TYPE" = xclang; then
SYSROOT_CFLAGS="-isysroot \"$SYSROOT\""
SYSROOT_LDFLAGS="-isysroot \"$SYSROOT\""
fi
# Propagate the sysroot args to hotspot
LEGACY_EXTRA_CFLAGS="$LEGACY_EXTRA_CFLAGS $SYSROOT_CFLAGS"
LEGACY_EXTRA_CXXFLAGS="$LEGACY_EXTRA_CXXFLAGS $SYSROOT_CFLAGS"
LEGACY_EXTRA_LDFLAGS="$LEGACY_EXTRA_LDFLAGS $SYSROOT_LDFLAGS"
fi
# These always need to be set, or we can't find the frameworks embedded in JavaVM.framework
# set this here so it doesn't have to be peppered throughout the forest
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
SYSROOT_CFLAGS="$SYSROOT_CFLAGS -F\"$SYSROOT/System/Library/Frameworks/JavaVM.framework/Frameworks\""
SYSROOT_LDFLAGS="$SYSROOT_LDFLAGS -F\"$SYSROOT/System/Library/Frameworks/JavaVM.framework/Frameworks\""
fi
AC_SUBST(SYSROOT_CFLAGS)
AC_SUBST(SYSROOT_LDFLAGS)
])
AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_LIBS],
@@ -480,39 +533,9 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK],
CXXFLAGS_JDK="${CXXFLAGS_JDK} -qchars=signed -qfullpath -qsaveopt"
fi
if test "x$CFLAGS" != "x${ADDED_CFLAGS}"; then
AC_MSG_WARN([Ignoring CFLAGS($CFLAGS) found in environment. Use --with-extra-cflags])
fi
if test "x$CXXFLAGS" != "x${ADDED_CXXFLAGS}"; then
AC_MSG_WARN([Ignoring CXXFLAGS($CXXFLAGS) found in environment. Use --with-extra-cxxflags])
fi
if test "x$LDFLAGS" != "x${ADDED_LDFLAGS}"; then
AC_MSG_WARN([Ignoring LDFLAGS($LDFLAGS) found in environment. Use --with-extra-ldflags])
fi
AC_ARG_WITH(extra-cflags, [AS_HELP_STRING([--with-extra-cflags],
[extra flags to be used when compiling jdk c-files])])
AC_ARG_WITH(extra-cxxflags, [AS_HELP_STRING([--with-extra-cxxflags],
[extra flags to be used when compiling jdk c++-files])])
AC_ARG_WITH(extra-ldflags, [AS_HELP_STRING([--with-extra-ldflags],
[extra flags to be used when linking jdk])])
CFLAGS_JDK="${CFLAGS_JDK} $with_extra_cflags"
CXXFLAGS_JDK="${CXXFLAGS_JDK} $with_extra_cxxflags"
LDFLAGS_JDK="${LDFLAGS_JDK} $with_extra_ldflags"
# Hotspot needs these set in their legacy form
LEGACY_EXTRA_CFLAGS="$LEGACY_EXTRA_CFLAGS $with_extra_cflags"
LEGACY_EXTRA_CXXFLAGS="$LEGACY_EXTRA_CXXFLAGS $with_extra_cxxflags"
LEGACY_EXTRA_LDFLAGS="$LEGACY_EXTRA_LDFLAGS $with_extra_ldflags"
AC_SUBST(LEGACY_EXTRA_CFLAGS)
AC_SUBST(LEGACY_EXTRA_CXXFLAGS)
AC_SUBST(LEGACY_EXTRA_LDFLAGS)
CFLAGS_JDK="${CFLAGS_JDK} $EXTRA_CFLAGS"
CXXFLAGS_JDK="${CXXFLAGS_JDK} $EXTRA_CXXFLAGS"
LDFLAGS_JDK="${LDFLAGS_JDK} $EXTRA_LDFLAGS"
###############################################################################
#

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2015, 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
@@ -31,7 +31,7 @@ AC_DEFUN_ONCE([HELP_SETUP_DEPENDENCY_HELP],
AC_DEFUN([HELP_MSG_MISSING_DEPENDENCY],
[
# Print a helpful message on how to acquire the necessary build dependency.
# $1 is the help tag: freetype, cups, pulse, alsa etc
# $1 is the help tag: freetype, cups, alsa etc
MISSING_DEPENDENCY=$1
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
@@ -97,6 +97,8 @@ msys_help() {
apt_help() {
case $1 in
reduced)
PKGHANDLER_COMMAND="sudo apt-get install gcc-multilib g++-multilib" ;;
devkit)
PKGHANDLER_COMMAND="sudo apt-get install build-essential" ;;
openjdk)
@@ -107,8 +109,8 @@ apt_help() {
PKGHANDLER_COMMAND="sudo apt-get install libcups2-dev" ;;
freetype)
PKGHANDLER_COMMAND="sudo apt-get install libfreetype6-dev" ;;
pulse)
PKGHANDLER_COMMAND="sudo apt-get install libpulse-dev" ;;
ffi)
PKGHANDLER_COMMAND="sudo apt-get install libffi-dev" ;;
x11)
PKGHANDLER_COMMAND="sudo apt-get install libX11-dev libxext-dev libxrender-dev libxtst-dev libxt-dev" ;;
ccache)
@@ -128,8 +130,6 @@ yum_help() {
PKGHANDLER_COMMAND="sudo yum install cups-devel" ;;
freetype)
PKGHANDLER_COMMAND="sudo yum install freetype-devel" ;;
pulse)
PKGHANDLER_COMMAND="sudo yum install pulseaudio-libs-devel" ;;
x11)
PKGHANDLER_COMMAND="sudo yum install libXtst-devel libXt-devel libXrender-devel libXi-devel" ;;
ccache)

View File

@@ -48,8 +48,8 @@ ALT_CUPS_HEADERS_PATH:=$(patsubst -I%,%,$(filter -I%,@CUPS_CFLAGS@))
# The HOSTCC/HOSTCXX is Hotspot terminology for the BUILD_CC/BUILD_CXX, i.e. the
# compiler that produces code that can be run on the build platform.
HOSTCC:=@FIXPATH@ @BUILD_CC@
HOSTCXX:=@FIXPATH@ @BUILD_CXX@
HOSTCC:=@FIXPATH@ @BUILD_CC@ $(BUILD_SYSROOT_CFLAGS)
HOSTCXX:=@FIXPATH@ @BUILD_CXX@ $(BUILD_SYSROOT_CFLAGS)
####################################################
#

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2015, 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
@@ -453,19 +453,6 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_OPTIONS],
AC_SUBST(ENABLE_INTREE_EC)
])
###############################################################################
#
# --enable-rmiconnector-iiop
#
AC_ARG_ENABLE(rmiconnector-iiop, [AS_HELP_STRING([--enable-rmiconnector-iiop],
[enable the JMX RMIConnector iiop transport @<:@disabled@:>@])])
if test "x$enable_rmiconnector_iiop" = "xyes"; then
RMICONNECTOR_IIOP=true
else
RMICONNECTOR_IIOP=false
fi
AC_SUBST(RMICONNECTOR_IIOP)
###############################################################################
#
# Compress jars

View File

@@ -0,0 +1,90 @@
#
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
################################################################################
# Setup alsa (Advanced Linux Sound Architecture)
################################################################################
AC_DEFUN_ONCE([LIB_SETUP_ALSA],
[
AC_ARG_WITH(alsa, [AS_HELP_STRING([--with-alsa],
[specify prefix directory for the alsa package
(expecting the libraries under PATH/lib and the headers under PATH/include)])])
AC_ARG_WITH(alsa-include, [AS_HELP_STRING([--with-alsa-include],
[specify directory for the alsa include files])])
AC_ARG_WITH(alsa-lib, [AS_HELP_STRING([--with-alsa-lib],
[specify directory for the alsa library])])
if test "x$NEEDS_LIB_ALSA" = xfalse; then
if test "x${with_alsa}" != x || test "x${with_alsa_include}" != x || test "x${with_alsa_lib}" != x; then
AC_MSG_WARN([alsa not used, so --with-alsa is ignored])
fi
ALSA_CFLAGS=
ALSA_LIBS=
else
ALSA_FOUND=no
if test "x${with_alsa}" = xno || test "x${with_alsa_include}" = xno || test "x${with_alsa_lib}" = xno; then
AC_MSG_ERROR([It is not possible to disable the use of alsa. Remove the --without-alsa option.])
fi
if test "x${with_alsa}" != x; then
ALSA_LIBS="-L${with_alsa}/lib -lasound"
ALSA_CFLAGS="-I${with_alsa}/include"
ALSA_FOUND=yes
fi
if test "x${with_alsa_include}" != x; then
ALSA_CFLAGS="-I${with_alsa_include}"
ALSA_FOUND=yes
fi
if test "x${with_alsa_lib}" != x; then
ALSA_LIBS="-L${with_alsa_lib} -lasound"
ALSA_FOUND=yes
fi
# Do not try pkg-config if we have a sysroot set.
if test "x$SYSROOT" = x; then
if test "x$ALSA_FOUND" = xno; then
PKG_CHECK_MODULES(ALSA, alsa, [ALSA_FOUND=yes], [ALSA_FOUND=no])
fi
fi
if test "x$ALSA_FOUND" = xno; then
AC_CHECK_HEADERS([alsa/asoundlib.h],
[
ALSA_FOUND=yes
ALSA_CFLAGS=-Iignoreme
ALSA_LIBS=-lasound
DEFAULT_ALSA=yes
],
[ALSA_FOUND=no]
)
fi
if test "x$ALSA_FOUND" = xno; then
HELP_MSG_MISSING_DEPENDENCY([alsa])
AC_MSG_ERROR([Could not find alsa! $HELP_MSG])
fi
fi
AC_SUBST(ALSA_CFLAGS)
AC_SUBST(ALSA_LIBS)
])

View File

@@ -0,0 +1,226 @@
#
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
################################################################################
# Setup bundled libraries.
#
# For libjpeg, giflib, libpng, lcms2 and zlib, the source is present in the
# OpenJDK repository. Default is to use these libraries as bundled, but they
# might be replaced by en external version by the user.
################################################################################
AC_DEFUN_ONCE([LIB_SETUP_BUNDLED_LIBS],
[
LIB_SETUP_LIBJPEG
LIB_SETUP_GIFLIB
LIB_SETUP_LIBPNG
LIB_SETUP_ZLIB
LIB_SETUP_LCMS
])
################################################################################
# Setup libjpeg
################################################################################
AC_DEFUN_ONCE([LIB_SETUP_LIBJPEG],
[
AC_ARG_WITH(libjpeg, [AS_HELP_STRING([--with-libjpeg],
[use libjpeg from build system or OpenJDK source (system, bundled) @<:@bundled@:>@])])
AC_MSG_CHECKING([for which libjpeg to use])
# default is bundled
DEFAULT_LIBJPEG=bundled
# if user didn't specify, use DEFAULT_LIBJPEG
if test "x${with_libjpeg}" = "x"; then
with_libjpeg=${DEFAULT_LIBJPEG}
fi
AC_MSG_RESULT(${with_libjpeg})
if test "x${with_libjpeg}" = "xbundled"; then
USE_EXTERNAL_LIBJPEG=false
elif test "x${with_libjpeg}" = "xsystem"; then
AC_CHECK_HEADER(jpeglib.h, [],
[ AC_MSG_ERROR([--with-libjpeg=system specified, but jpeglib.h not found!])])
AC_CHECK_LIB(jpeg, jpeg_CreateDecompress, [],
[ AC_MSG_ERROR([--with-libjpeg=system specified, but no libjpeg found])])
USE_EXTERNAL_LIBJPEG=true
else
AC_MSG_ERROR([Invalid use of --with-libjpeg: ${with_libjpeg}, use 'system' or 'bundled'])
fi
AC_SUBST(USE_EXTERNAL_LIBJPEG)
])
################################################################################
# Setup giflib
################################################################################
AC_DEFUN_ONCE([LIB_SETUP_GIFLIB],
[
AC_ARG_WITH(giflib, [AS_HELP_STRING([--with-giflib],
[use giflib from build system or OpenJDK source (system, bundled) @<:@bundled@:>@])])
AC_MSG_CHECKING([for which giflib to use])
# default is bundled
DEFAULT_GIFLIB=bundled
# if user didn't specify, use DEFAULT_GIFLIB
if test "x${with_giflib}" = "x"; then
with_giflib=${DEFAULT_GIFLIB}
fi
AC_MSG_RESULT(${with_giflib})
if test "x${with_giflib}" = "xbundled"; then
USE_EXTERNAL_LIBGIF=false
elif test "x${with_giflib}" = "xsystem"; then
AC_CHECK_HEADER(gif_lib.h, [],
[ AC_MSG_ERROR([--with-giflib=system specified, but gif_lib.h not found!])])
AC_CHECK_LIB(gif, DGifGetCode, [],
[ AC_MSG_ERROR([--with-giflib=system specified, but no giflib found!])])
USE_EXTERNAL_LIBGIF=true
else
AC_MSG_ERROR([Invalid value of --with-giflib: ${with_giflib}, use 'system' or 'bundled'])
fi
AC_SUBST(USE_EXTERNAL_LIBGIF)
])
################################################################################
# Setup libpng
################################################################################
AC_DEFUN_ONCE([LIB_SETUP_LIBPNG],
[
AC_ARG_WITH(libpng, [AS_HELP_STRING([--with-libpng],
[use libpng from build system or OpenJDK source (system, bundled) @<:@bundled@:>@])])
AC_MSG_CHECKING([for which libpng to use])
# default is bundled
DEFAULT_LIBPNG=bundled
# if user didn't specify, use DEFAULT_LIBPNG
if test "x${with_libpng}" = "x"; then
with_libpng=${DEFAULT_LIBPNG}
fi
if test "x${with_libpng}" = "xbundled"; then
USE_EXTERNAL_LIBPNG=false
AC_MSG_RESULT([bundled])
elif test "x${with_libpng}" = "xsystem"; then
PKG_CHECK_MODULES(PNG, libpng,
[ LIBPNG_FOUND=yes ],
[ LIBPNG_FOUND=no ])
if test "x${LIBPNG_FOUND}" = "xyes"; then
USE_EXTERNAL_LIBPNG=true
AC_MSG_RESULT([system])
else
AC_MSG_RESULT([system not found])
AC_MSG_ERROR([--with-libpng=system specified, but no libpng found!])
fi
else
AC_MSG_ERROR([Invalid value of --with-libpng: ${with_libpng}, use 'system' or 'bundled'])
fi
AC_SUBST(USE_EXTERNAL_LIBPNG)
])
################################################################################
# Setup zlib
################################################################################
AC_DEFUN_ONCE([LIB_SETUP_ZLIB],
[
AC_ARG_WITH(zlib, [AS_HELP_STRING([--with-zlib],
[use zlib from build system or OpenJDK source (system, bundled) @<:@bundled@:>@])])
AC_CHECK_LIB(z, compress,
[ ZLIB_FOUND=yes ],
[ ZLIB_FOUND=no ])
AC_MSG_CHECKING([for which zlib to use])
DEFAULT_ZLIB=bundled
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
# On macosx default is system...on others default is bundled
DEFAULT_ZLIB=system
fi
if test "x${ZLIB_FOUND}" != "xyes"; then
# If we don't find any system...set default to bundled
DEFAULT_ZLIB=bundled
fi
# If user didn't specify, use DEFAULT_ZLIB
if test "x${with_zlib}" = "x"; then
with_zlib=${DEFAULT_ZLIB}
fi
if test "x${with_zlib}" = "xbundled"; then
USE_EXTERNAL_LIBZ=false
AC_MSG_RESULT([bundled])
elif test "x${with_zlib}" = "xsystem"; then
if test "x${ZLIB_FOUND}" = "xyes"; then
USE_EXTERNAL_LIBZ=true
AC_MSG_RESULT([system])
else
AC_MSG_RESULT([system not found])
AC_MSG_ERROR([--with-zlib=system specified, but no zlib found!])
fi
else
AC_MSG_ERROR([Invalid value for --with-zlib: ${with_zlib}, use 'system' or 'bundled'])
fi
AC_SUBST(USE_EXTERNAL_LIBZ)
])
################################################################################
# Setup lcms (Little CMS)
################################################################################
AC_DEFUN_ONCE([LIB_SETUP_LCMS],
[
AC_ARG_WITH(lcms, [AS_HELP_STRING([--with-lcms],
[use lcms2 from build system or OpenJDK source (system, bundled) @<:@bundled@:>@])])
AC_MSG_CHECKING([for which lcms to use])
DEFAULT_LCMS=bundled
# If user didn't specify, use DEFAULT_LCMS
if test "x${with_lcms}" = "x"; then
with_lcms=${DEFAULT_LCMS}
fi
if test "x${with_lcms}" = "xbundled"; then
USE_EXTERNAL_LCMS=false
AC_MSG_RESULT([bundled])
elif test "x${with_lcms}" = "xsystem"; then
AC_MSG_RESULT([system])
PKG_CHECK_MODULES([LCMS], [lcms2], [LCMS_FOUND=yes], [LCMS_FOUND=no])
if test "x${LCMS_FOUND}" = "xyes"; then
USE_EXTERNAL_LCMS=true
else
AC_MSG_ERROR([--with-lcms=system specified, but no lcms found!])
fi
else
AC_MSG_ERROR([Invalid value for --with-lcms: ${with_lcms}, use 'system' or 'bundled'])
fi
AC_SUBST(USE_EXTERNAL_LCMS)
])

View File

@@ -0,0 +1,87 @@
#
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
################################################################################
# Setup cups (Common Unix Printing System)
################################################################################
AC_DEFUN_ONCE([LIB_SETUP_CUPS],
[
AC_ARG_WITH(cups, [AS_HELP_STRING([--with-cups],
[specify prefix directory for the cups package
(expecting the headers under PATH/include)])])
AC_ARG_WITH(cups-include, [AS_HELP_STRING([--with-cups-include],
[specify directory for the cups include files])])
if test "x$NEEDS_LIB_CUPS" = xfalse; then
if test "x${with_cups}" != x || test "x${with_cups_include}" != x; then
AC_MSG_WARN([cups not used, so --with-cups is ignored])
fi
CUPS_CFLAGS=
else
CUPS_FOUND=no
if test "x${with_cups}" = xno || test "x${with_cups_include}" = xno; then
AC_MSG_ERROR([It is not possible to disable the use of cups. Remove the --without-cups option.])
fi
if test "x${with_cups}" != x; then
CUPS_CFLAGS="-I${with_cups}/include"
CUPS_FOUND=yes
fi
if test "x${with_cups_include}" != x; then
CUPS_CFLAGS="-I${with_cups_include}"
CUPS_FOUND=yes
fi
if test "x$CUPS_FOUND" = xno; then
# Are the cups headers installed in the default /usr/include location?
AC_CHECK_HEADERS([cups/cups.h cups/ppd.h], [
CUPS_FOUND=yes
CUPS_CFLAGS=
DEFAULT_CUPS=yes
])
fi
if test "x$CUPS_FOUND" = xno; then
# Getting nervous now? Lets poke around for standard Solaris third-party
# package installation locations.
AC_MSG_CHECKING([for cups headers])
if test -s $SYSROOT/opt/sfw/cups/include/cups/cups.h; then
# An SFW package seems to be installed!
CUPS_FOUND=yes
CUPS_CFLAGS="-I$SYSROOT/opt/sfw/cups/include"
elif test -s $SYSROOT/opt/csw/include/cups/cups.h; then
# A CSW package seems to be installed!
CUPS_FOUND=yes
CUPS_CFLAGS="-I$SYSROOT/opt/csw/include"
fi
AC_MSG_RESULT([$CUPS_FOUND])
fi
if test "x$CUPS_FOUND" = xno; then
HELP_MSG_MISSING_DEPENDENCY([cups])
AC_MSG_ERROR([Could not find cups! $HELP_MSG ])
fi
fi
AC_SUBST(CUPS_CFLAGS)
])

114
common/autoconf/lib-ffi.m4 Normal file
View File

@@ -0,0 +1,114 @@
#
# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
################################################################################
# Setup libffi (Foreign Function Interface)
################################################################################
AC_DEFUN_ONCE([LIB_SETUP_LIBFFI],
[
AC_ARG_WITH(libffi, [AS_HELP_STRING([--with-libffi],
[specify prefix directory for the libffi package
(expecting the libraries under PATH/lib and the headers under PATH/include)])])
AC_ARG_WITH(libffi-include, [AS_HELP_STRING([--with-libffi-include],
[specify directory for the libffi include files])])
AC_ARG_WITH(libffi-lib, [AS_HELP_STRING([--with-libffi-lib],
[specify directory for the libffi library])])
if test "x$NEEDS_LIB_FFI" = xfalse; then
if test "x${with_libffi}" != x || test "x${with_libffi_include}" != x || test "x${with_libffi_lib}" != x; then
AC_MSG_WARN([libffi not used, so --with-libffi is ignored])
fi
LIBFFI_CFLAGS=
LIBFFI_LIBS=
else
LIBFFI_FOUND=no
if test "x${with_libffi}" = xno || test "x${with_libffi_include}" = xno || test "x${with_libffi_lib}" = xno; then
AC_MSG_ERROR([It is not possible to disable the use of libffi. Remove the --without-libffi option.])
fi
if test "x${with_libffi}" != x; then
LIBFFI_LIBS="-L${with_libffi}/lib -lffi"
LIBFFI_CFLAGS="-I${with_libffi}/include"
LIBFFI_FOUND=yes
fi
if test "x${with_libffi_include}" != x; then
LIBFFI_CFLAGS="-I${with_libffi_include}"
LIBFFI_FOUND=yes
fi
if test "x${with_libffi_lib}" != x; then
LIBFFI_LIBS="-L${with_libffi_lib} -lffi"
LIBFFI_FOUND=yes
fi
# Do not try pkg-config if we have a sysroot set.
if test "x$SYSROOT" = x; then
if test "x$LIBFFI_FOUND" = xno; then
# Figure out LIBFFI_CFLAGS and LIBFFI_LIBS
PKG_CHECK_MODULES([LIBFFI], [libffi], [LIBFFI_FOUND=yes], [LIBFFI_FOUND=no])
fi
fi
if test "x$LIBFFI_FOUND" = xno; then
AC_CHECK_HEADERS([ffi.h],
[
LIBFFI_FOUND=yes
LIBFFI_CFLAGS=
LIBFFI_LIBS=-lffi
],
[LIBFFI_FOUND=no]
)
fi
if test "x$LIBFFI_FOUND" = xno; then
HELP_MSG_MISSING_DEPENDENCY([ffi])
AC_MSG_ERROR([Could not find libffi! $HELP_MSG])
fi
AC_MSG_CHECKING([if libffi works])
AC_LANG_PUSH(C)
OLD_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $LIBFFI_CFLAGS"
OLD_LIBS="$LIBS"
LIBS="$LIBS $LIBFFI_LIBS"
AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <ffi.h>],
[
ffi_call(NULL, NULL, NULL, NULL);
return 0;
])],
[LIBFFI_WORKS=yes],
[LIBFFI_WORKS=no]
)
CFLAGS="$OLD_CFLAGS"
LIBS="$OLD_LIBS"
AC_LANG_POP(C)
AC_MSG_RESULT([$LIBFFI_WORKS])
if test "x$LIBFFI_WORKS" = xno; then
HELP_MSG_MISSING_DEPENDENCY([ffi])
AC_MSG_ERROR([Found libffi but could not link and compile with it. $HELP_MSG])
fi
fi
AC_SUBST(LIBFFI_CFLAGS)
AC_SUBST(LIBFFI_LIBS)
])

View File

@@ -0,0 +1,420 @@
#
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
################################################################################
# Build the freetype lib from source
################################################################################
AC_DEFUN([LIB_BUILD_FREETYPE],
[
FREETYPE_SRC_PATH="$1"
BUILD_FREETYPE=yes
# Check if the freetype sources are acessible..
if ! test -d $FREETYPE_SRC_PATH; then
AC_MSG_WARN([--with-freetype-src specified, but can not find path "$FREETYPE_SRC_PATH" - ignoring --with-freetype-src])
BUILD_FREETYPE=no
fi
# ..and contain a vc2010 project file
vcxproj_path="$FREETYPE_SRC_PATH/builds/windows/vc2010/freetype.vcxproj"
if test "x$BUILD_FREETYPE" = xyes && ! test -s $vcxproj_path; then
AC_MSG_WARN([Can not find project file $vcxproj_path (you may try a newer freetype version) - ignoring --with-freetype-src])
BUILD_FREETYPE=no
fi
# Now check if configure found a version of 'msbuild.exe'
if test "x$BUILD_FREETYPE" = xyes && test "x$MSBUILD" == x ; then
AC_MSG_WARN([Can not find an msbuild.exe executable (you may try to install .NET 4.0) - ignoring --with-freetype-src])
BUILD_FREETYPE=no
fi
# Ready to go..
if test "x$BUILD_FREETYPE" = xyes; then
# msbuild requires trailing slashes for output directories
freetype_lib_path="$FREETYPE_SRC_PATH/lib$OPENJDK_TARGET_CPU_BITS/"
freetype_lib_path_unix="$freetype_lib_path"
freetype_obj_path="$FREETYPE_SRC_PATH/obj$OPENJDK_TARGET_CPU_BITS/"
BASIC_WINDOWS_REWRITE_AS_WINDOWS_MIXED_PATH(vcxproj_path)
BASIC_WINDOWS_REWRITE_AS_WINDOWS_MIXED_PATH(freetype_lib_path)
BASIC_WINDOWS_REWRITE_AS_WINDOWS_MIXED_PATH(freetype_obj_path)
if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
freetype_platform=x64
else
freetype_platform=win32
fi
# The original freetype project file is for VS 2010 (i.e. 'v100'),
# so we have to adapt the toolset if building with any other toolsed (i.e. SDK).
# Currently 'PLATFORM_TOOLSET' is set in 'TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT'/
# 'TOOLCHAIN_CHECK_POSSIBLE_WIN_SDK_ROOT' in toolchain_windows.m4
AC_MSG_NOTICE([Trying to compile freetype sources with PlatformToolset=$PLATFORM_TOOLSET to $freetype_lib_path_unix ...])
# First we try to build the freetype.dll
$ECHO -e "@echo off\n"\
"$MSBUILD $vcxproj_path "\
"/p:PlatformToolset=$PLATFORM_TOOLSET "\
"/p:Configuration=\"Release Multithreaded\" "\
"/p:Platform=$freetype_platform "\
"/p:ConfigurationType=DynamicLibrary "\
"/p:TargetName=freetype "\
"/p:OutDir=\"$freetype_lib_path\" "\
"/p:IntDir=\"$freetype_obj_path\" > freetype.log" > freetype.bat
cmd /c freetype.bat
if test -s "$freetype_lib_path_unix/freetype.dll"; then
# If that succeeds we also build freetype.lib
$ECHO -e "@echo off\n"\
"$MSBUILD $vcxproj_path "\
"/p:PlatformToolset=$PLATFORM_TOOLSET "\
"/p:Configuration=\"Release Multithreaded\" "\
"/p:Platform=$freetype_platform "\
"/p:ConfigurationType=StaticLibrary "\
"/p:TargetName=freetype "\
"/p:OutDir=\"$freetype_lib_path\" "\
"/p:IntDir=\"$freetype_obj_path\" >> freetype.log" > freetype.bat
cmd /c freetype.bat
if test -s "$freetype_lib_path_unix/freetype.lib"; then
# Once we build both, lib and dll, set freetype lib and include path appropriately
POTENTIAL_FREETYPE_INCLUDE_PATH="$FREETYPE_SRC_PATH/include"
POTENTIAL_FREETYPE_LIB_PATH="$freetype_lib_path_unix"
AC_MSG_NOTICE([Compiling freetype sources succeeded! (see freetype.log for build results)])
else
BUILD_FREETYPE=no
fi
else
BUILD_FREETYPE=no
fi
fi
])
################################################################################
# Check if a potential freeype library match is correct and usable
################################################################################
AC_DEFUN([LIB_CHECK_POTENTIAL_FREETYPE],
[
POTENTIAL_FREETYPE_INCLUDE_PATH="$1"
POTENTIAL_FREETYPE_LIB_PATH="$2"
METHOD="$3"
# Let's start with an optimistic view of the world :-)
FOUND_FREETYPE=yes
# First look for the canonical freetype main include file ft2build.h.
if ! test -s "$POTENTIAL_FREETYPE_INCLUDE_PATH/ft2build.h"; then
# Oh no! Let's try in the freetype2 directory. This is needed at least at Mac OS X Yosemite.
POTENTIAL_FREETYPE_INCLUDE_PATH="$POTENTIAL_FREETYPE_INCLUDE_PATH/freetype2"
if ! test -s "$POTENTIAL_FREETYPE_INCLUDE_PATH/ft2build.h"; then
# Fail.
FOUND_FREETYPE=no
fi
fi
if test "x$FOUND_FREETYPE" = xyes; then
# Include file found, let's continue the sanity check.
AC_MSG_NOTICE([Found freetype include files at $POTENTIAL_FREETYPE_INCLUDE_PATH using $METHOD])
# Reset to default value
FREETYPE_BASE_NAME=freetype
FREETYPE_LIB_NAME="${LIBRARY_PREFIX}${FREETYPE_BASE_NAME}${SHARED_LIBRARY_SUFFIX}"
if ! test -s "$POTENTIAL_FREETYPE_LIB_PATH/$FREETYPE_LIB_NAME"; then
if test "x$OPENJDK_TARGET_OS" = xmacosx \
&& test -s "$POTENTIAL_FREETYPE_LIB_PATH/${LIBRARY_PREFIX}freetype.6${SHARED_LIBRARY_SUFFIX}"; then
# On Mac OS X Yosemite, the symlink from libfreetype.dylib to libfreetype.6.dylib disappeared. Check
# for the .6 version explicitly.
FREETYPE_BASE_NAME=freetype.6
FREETYPE_LIB_NAME="${LIBRARY_PREFIX}${FREETYPE_BASE_NAME}${SHARED_LIBRARY_SUFFIX}"
AC_MSG_NOTICE([Compensating for missing symlink by using version 6 explicitly])
else
AC_MSG_NOTICE([Could not find $POTENTIAL_FREETYPE_LIB_PATH/$FREETYPE_LIB_NAME. Ignoring location.])
FOUND_FREETYPE=no
fi
else
if test "x$OPENJDK_TARGET_OS" = xwindows; then
# On Windows, we will need both .lib and .dll file.
if ! test -s "$POTENTIAL_FREETYPE_LIB_PATH/${FREETYPE_BASE_NAME}.lib"; then
AC_MSG_NOTICE([Could not find $POTENTIAL_FREETYPE_LIB_PATH/${FREETYPE_BASE_NAME}.lib. Ignoring location.])
FOUND_FREETYPE=no
fi
elif test "x$OPENJDK_TARGET_OS" = xsolaris \
&& test -s "$POTENTIAL_FREETYPE_LIB_PATH$OPENJDK_TARGET_CPU_ISADIR/$FREETYPE_LIB_NAME"; then
# Found lib in isa dir, use that instead.
POTENTIAL_FREETYPE_LIB_PATH="$POTENTIAL_FREETYPE_LIB_PATH$OPENJDK_TARGET_CPU_ISADIR"
AC_MSG_NOTICE([Rewriting to use $POTENTIAL_FREETYPE_LIB_PATH instead])
fi
fi
fi
if test "x$FOUND_FREETYPE" = xyes; then
BASIC_FIXUP_PATH(POTENTIAL_FREETYPE_INCLUDE_PATH)
BASIC_FIXUP_PATH(POTENTIAL_FREETYPE_LIB_PATH)
FREETYPE_INCLUDE_PATH="$POTENTIAL_FREETYPE_INCLUDE_PATH"
AC_MSG_CHECKING([for freetype includes])
AC_MSG_RESULT([$FREETYPE_INCLUDE_PATH])
FREETYPE_LIB_PATH="$POTENTIAL_FREETYPE_LIB_PATH"
AC_MSG_CHECKING([for freetype libraries])
AC_MSG_RESULT([$FREETYPE_LIB_PATH])
fi
])
################################################################################
# Setup freetype (The FreeType2 font rendering library)
################################################################################
AC_DEFUN_ONCE([LIB_SETUP_FREETYPE],
[
AC_ARG_WITH(freetype, [AS_HELP_STRING([--with-freetype],
[specify prefix directory for the freetype package
(expecting the libraries under PATH/lib and the headers under PATH/include)])])
AC_ARG_WITH(freetype-include, [AS_HELP_STRING([--with-freetype-include],
[specify directory for the freetype include files])])
AC_ARG_WITH(freetype-lib, [AS_HELP_STRING([--with-freetype-lib],
[specify directory for the freetype library])])
AC_ARG_WITH(freetype-src, [AS_HELP_STRING([--with-freetype-src],
[specify directory with freetype sources to automatically build the library (experimental, Windows-only)])])
AC_ARG_ENABLE(freetype-bundling, [AS_HELP_STRING([--disable-freetype-bundling],
[disable bundling of the freetype library with the build result @<:@enabled on Windows or when using --with-freetype, disabled otherwise@:>@])])
# Need to specify explicitly since it needs to be overridden on some versions of macosx
FREETYPE_BASE_NAME=freetype
FREETYPE_CFLAGS=
FREETYPE_LIBS=
FREETYPE_BUNDLE_LIB_PATH=
if test "x$NEEDS_LIB_FREETYPE" = xfalse; then
if test "x$with_freetype" != x || test "x$with_freetype_include" != x || test "x$with_freetype_lib" != x || test "x$with_freetype_src" != x; then
AC_MSG_WARN([freetype not used, so --with-freetype is ignored])
fi
if test "x$enable_freetype_bundling" != x; then
AC_MSG_WARN([freetype not used, so --enable-freetype-bundling is ignored])
fi
else
# freetype is needed to build; go get it!
BUNDLE_FREETYPE="$enable_freetype_bundling"
if test "x$with_freetype_src" != x; then
if test "x$OPENJDK_TARGET_OS" = xwindows; then
# Try to build freetype if --with-freetype-src was given on Windows
LIB_BUILD_FREETYPE([$with_freetype_src])
if test "x$BUILD_FREETYPE" = xyes; then
# Okay, we built it. Check that it works.
LIB_CHECK_POTENTIAL_FREETYPE($POTENTIAL_FREETYPE_INCLUDE_PATH, $POTENTIAL_FREETYPE_LIB_PATH, [--with-freetype-src])
if test "x$FOUND_FREETYPE" != xyes; then
AC_MSG_ERROR([Can not use the built freetype at location given by --with-freetype-src])
fi
else
AC_MSG_NOTICE([User specified --with-freetype-src but building freetype failed. (see freetype.log for build results)])
AC_MSG_ERROR([Consider building freetype manually and using --with-freetype instead.])
fi
else
AC_MSG_WARN([--with-freetype-src is currently only supported on Windows - ignoring])
fi
fi
if test "x$with_freetype" != x || test "x$with_freetype_include" != x || test "x$with_freetype_lib" != x; then
# User has specified settings
if test "x$BUNDLE_FREETYPE" = x; then
# If not specified, default is to bundle freetype
BUNDLE_FREETYPE=yes
fi
if test "x$with_freetype" != x; then
POTENTIAL_FREETYPE_INCLUDE_PATH="$with_freetype/include"
POTENTIAL_FREETYPE_LIB_PATH="$with_freetype/lib"
fi
# Allow --with-freetype-lib and --with-freetype-include to override
if test "x$with_freetype_include" != x; then
POTENTIAL_FREETYPE_INCLUDE_PATH="$with_freetype_include"
fi
if test "x$with_freetype_lib" != x; then
POTENTIAL_FREETYPE_LIB_PATH="$with_freetype_lib"
fi
if test "x$POTENTIAL_FREETYPE_INCLUDE_PATH" != x && test "x$POTENTIAL_FREETYPE_LIB_PATH" != x; then
# Okay, we got it. Check that it works.
LIB_CHECK_POTENTIAL_FREETYPE($POTENTIAL_FREETYPE_INCLUDE_PATH, $POTENTIAL_FREETYPE_LIB_PATH, [--with-freetype])
if test "x$FOUND_FREETYPE" != xyes; then
AC_MSG_ERROR([Can not find or use freetype at location given by --with-freetype])
fi
else
# User specified only one of lib or include. This is an error.
if test "x$POTENTIAL_FREETYPE_INCLUDE_PATH" = x ; then
AC_MSG_NOTICE([User specified --with-freetype-lib but not --with-freetype-include])
AC_MSG_ERROR([Need both freetype lib and include paths. Consider using --with-freetype instead.])
else
AC_MSG_NOTICE([User specified --with-freetype-include but not --with-freetype-lib])
AC_MSG_ERROR([Need both freetype lib and include paths. Consider using --with-freetype instead.])
fi
fi
else
# User did not specify settings, but we need freetype. Try to locate it.
if test "x$BUNDLE_FREETYPE" = x; then
# If not specified, default is to bundle freetype only on windows
if test "x$OPENJDK_TARGET_OS" = xwindows; then
BUNDLE_FREETYPE=yes
else
BUNDLE_FREETYPE=no
fi
fi
# If we have a sysroot, assume that's where we are supposed to look and skip pkg-config.
if test "x$SYSROOT" = x; then
if test "x$FOUND_FREETYPE" != xyes; then
# Check modules using pkg-config, but only if we have it (ugly output results otherwise)
if test "x$PKG_CONFIG" != x; then
PKG_CHECK_MODULES(FREETYPE, freetype2, [FOUND_FREETYPE=yes], [FOUND_FREETYPE=no])
if test "x$FOUND_FREETYPE" = xyes; then
# On solaris, pkg_check adds -lz to freetype libs, which isn't necessary for us.
FREETYPE_LIBS=`$ECHO $FREETYPE_LIBS | $SED 's/-lz//g'`
# 64-bit libs for Solaris x86 are installed in the amd64 subdirectory, change lib to lib/amd64
if test "x$OPENJDK_TARGET_OS" = xsolaris && test "x$OPENJDK_TARGET_CPU" = xx86_64; then
FREETYPE_LIBS=`$ECHO $FREETYPE_LIBS | $SED 's?/lib?/lib/amd64?g'`
fi
# PKG_CHECK_MODULES will set FREETYPE_CFLAGS and _LIBS, but we don't get a lib path for bundling.
if test "x$BUNDLE_FREETYPE" = xyes; then
AC_MSG_NOTICE([Found freetype using pkg-config, but ignoring since we can not bundle that])
FOUND_FREETYPE=no
else
AC_MSG_CHECKING([for freetype])
AC_MSG_RESULT([yes (using pkg-config)])
fi
fi
fi
fi
fi
if test "x$FOUND_FREETYPE" != xyes; then
# Check in well-known locations
if test "x$OPENJDK_TARGET_OS" = xwindows; then
FREETYPE_BASE_DIR="$PROGRAMFILES/GnuWin32"
BASIC_WINDOWS_REWRITE_AS_UNIX_PATH(FREETYPE_BASE_DIR)
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib], [well-known location])
if test "x$FOUND_FREETYPE" != xyes; then
FREETYPE_BASE_DIR="$ProgramW6432/GnuWin32"
BASIC_WINDOWS_REWRITE_AS_UNIX_PATH(FREETYPE_BASE_DIR)
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib], [well-known location])
fi
else
FREETYPE_BASE_DIR="$SYSROOT/usr"
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib], [well-known location])
if test "x$FOUND_FREETYPE" != xyes; then
FREETYPE_BASE_DIR="$SYSROOT/usr/X11"
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib], [well-known location])
fi
if test "x$FOUND_FREETYPE" != xyes; then
FREETYPE_BASE_DIR="$SYSROOT/usr/sfw"
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib], [well-known location])
fi
if test "x$FOUND_FREETYPE" != xyes; then
FREETYPE_BASE_DIR="$SYSROOT/usr"
if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib/x86_64-linux-gnu], [well-known location])
else
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib/i386-linux-gnu], [well-known location])
if test "x$FOUND_FREETYPE" != xyes; then
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib32], [well-known location])
fi
fi
fi
fi
fi # end check in well-known locations
if test "x$FOUND_FREETYPE" != xyes; then
HELP_MSG_MISSING_DEPENDENCY([freetype])
AC_MSG_ERROR([Could not find freetype! $HELP_MSG ])
fi
fi # end user specified settings
# Set FREETYPE_CFLAGS, _LIBS and _LIB_PATH from include and lib dir.
if test "x$FREETYPE_CFLAGS" = x; then
BASIC_FIXUP_PATH(FREETYPE_INCLUDE_PATH)
if test -d $FREETYPE_INCLUDE_PATH/freetype2/freetype; then
FREETYPE_CFLAGS="-I$FREETYPE_INCLUDE_PATH/freetype2 -I$FREETYPE_INCLUDE_PATH"
else
FREETYPE_CFLAGS="-I$FREETYPE_INCLUDE_PATH"
fi
fi
if test "x$FREETYPE_LIBS" = x; then
BASIC_FIXUP_PATH(FREETYPE_LIB_PATH)
if test "x$OPENJDK_TARGET_OS" = xwindows; then
FREETYPE_LIBS="$FREETYPE_LIB_PATH/$FREETYPE_BASE_NAME.lib"
else
FREETYPE_LIBS="-L$FREETYPE_LIB_PATH -l$FREETYPE_BASE_NAME"
fi
fi
# Try to compile it
AC_MSG_CHECKING([if we can compile and link with freetype])
AC_LANG_PUSH(C++)
PREV_CXXCFLAGS="$CXXFLAGS"
PREV_LIBS="$LIBS"
PREV_CXX="$CXX"
CXXFLAGS="$CXXFLAGS $FREETYPE_CFLAGS"
LIBS="$LIBS $FREETYPE_LIBS"
CXX="$FIXPATH $CXX"
AC_LINK_IFELSE([AC_LANG_SOURCE([[
#include<ft2build.h>
#include FT_FREETYPE_H
int main () {
FT_Init_FreeType(NULL);
return 0;
}
]])],
[
AC_MSG_RESULT([yes])
],
[
AC_MSG_RESULT([no])
AC_MSG_NOTICE([Could not compile and link with freetype. This might be a 32/64-bit mismatch.])
AC_MSG_NOTICE([Using FREETYPE_CFLAGS=$FREETYPE_CFLAGS and FREETYPE_LIBS=$FREETYPE_LIBS])
HELP_MSG_MISSING_DEPENDENCY([freetype])
AC_MSG_ERROR([Can not continue without freetype. $HELP_MSG])
]
)
CXXCFLAGS="$PREV_CXXFLAGS"
LIBS="$PREV_LIBS"
CXX="$PREV_CXX"
AC_LANG_POP(C++)
AC_MSG_CHECKING([if we should bundle freetype])
if test "x$BUNDLE_FREETYPE" = xyes; then
FREETYPE_BUNDLE_LIB_PATH="$FREETYPE_LIB_PATH"
fi
AC_MSG_RESULT([$BUNDLE_FREETYPE])
fi # end freetype needed
AC_SUBST(FREETYPE_BUNDLE_LIB_PATH)
AC_SUBST(FREETYPE_CFLAGS)
AC_SUBST(FREETYPE_LIBS)
])

120
common/autoconf/lib-std.m4 Normal file
View File

@@ -0,0 +1,120 @@
#
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
################################################################################
# Setup the standard C/C++ runtime libraries.
#
# Most importantly, determine if stdc++ should be linked statically or
# dynamically.
################################################################################
AC_DEFUN_ONCE([LIB_SETUP_STD_LIBS],
[
# statically link libstdc++ before C++ ABI is stablized on Linux unless
# dynamic build is configured on command line.
AC_ARG_WITH([stdc++lib], [AS_HELP_STRING([--with-stdc++lib=<static>,<dynamic>,<default>],
[force linking of the C++ runtime on Linux to either static or dynamic, default is static with dynamic as fallback])],
[
if test "x$with_stdc__lib" != xdynamic && test "x$with_stdc__lib" != xstatic \
&& test "x$with_stdc__lib" != xdefault; then
AC_MSG_ERROR([Bad parameter value --with-stdc++lib=$with_stdc__lib!])
fi
],
[with_stdc__lib=default]
)
if test "x$OPENJDK_TARGET_OS" = xlinux; then
# Test if -lstdc++ works.
AC_MSG_CHECKING([if dynamic link of stdc++ is possible])
AC_LANG_PUSH(C++)
OLD_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -lstdc++"
AC_LINK_IFELSE([AC_LANG_PROGRAM([], [return 0;])],
[has_dynamic_libstdcxx=yes],
[has_dynamic_libstdcxx=no])
CXXFLAGS="$OLD_CXXFLAGS"
AC_LANG_POP(C++)
AC_MSG_RESULT([$has_dynamic_libstdcxx])
# Test if stdc++ can be linked statically.
AC_MSG_CHECKING([if static link of stdc++ is possible])
STATIC_STDCXX_FLAGS="-Wl,-Bstatic -lstdc++ -lgcc -Wl,-Bdynamic"
AC_LANG_PUSH(C++)
OLD_LIBS="$LIBS"
OLD_CXX="$CXX"
LIBS="$STATIC_STDCXX_FLAGS"
CXX="$CC"
AC_LINK_IFELSE([AC_LANG_PROGRAM([], [return 0;])],
[has_static_libstdcxx=yes],
[has_static_libstdcxx=no])
LIBS="$OLD_LIBS"
CXX="$OLD_CXX"
AC_LANG_POP(C++)
AC_MSG_RESULT([$has_static_libstdcxx])
if test "x$has_static_libstdcxx" = xno && test "x$has_dynamic_libstdcxx" = xno; then
AC_MSG_ERROR([Cannot link to stdc++, neither dynamically nor statically!])
fi
if test "x$with_stdc__lib" = xstatic && test "x$has_static_libstdcxx" = xno; then
AC_MSG_ERROR([Static linking of libstdc++ was not possible!])
fi
if test "x$with_stdc__lib" = xdynamic && test "x$has_dynamic_libstdcxx" = xno; then
AC_MSG_ERROR([Dynamic linking of libstdc++ was not possible!])
fi
# If dynamic was requested, it's available since it would fail above otherwise.
# If dynamic wasn't requested, go with static unless it isn't available.
AC_MSG_CHECKING([how to link with libstdc++])
if test "x$with_stdc__lib" = xdynamic || test "x$has_static_libstdcxx" = xno || test "x$JVM_VARIANT_ZEROSHARK" = xtrue; then
LIBCXX="$LIBCXX -lstdc++"
LDCXX="$CXX"
STATIC_CXX_SETTING="STATIC_CXX=false"
AC_MSG_RESULT([dynamic])
else
LIBCXX="$LIBCXX $STATIC_STDCXX_FLAGS"
LDCXX="$CC"
STATIC_CXX_SETTING="STATIC_CXX=true"
AC_MSG_RESULT([static])
fi
fi
AC_SUBST(STATIC_CXX_SETTING)
# libCrun is the c++ runtime-library with SunStudio (roughly the equivalent of gcc's libstdc++.so)
if test "x$TOOLCHAIN_TYPE" = xsolstudio && test "x$LIBCXX" = x; then
LIBCXX="${SYSROOT}/usr/lib${OPENJDK_TARGET_CPU_ISADIR}/libCrun.so.1"
fi
# TODO better (platform agnostic) test
if test "x$OPENJDK_TARGET_OS" = xmacosx && test "x$LIBCXX" = x && test "x$TOOLCHAIN_TYPE" = xgcc; then
LIBCXX="-lstdc++"
fi
AC_SUBST(LIBCXX)
# Setup Windows runtime dlls
if test "x$OPENJDK_TARGET_OS" = "xwindows"; then
TOOLCHAIN_SETUP_VS_RUNTIME_DLLS
fi
])

135
common/autoconf/lib-x11.m4 Normal file
View File

@@ -0,0 +1,135 @@
#
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
################################################################################
# Setup X11 Windows system
################################################################################
AC_DEFUN_ONCE([LIB_SETUP_X11],
[
if test "x$NEEDS_LIB_X11" = xfalse; then
if test "x${with_x}" != x; then
AC_MSG_WARN([X11 is not used, so --with-x is ignored])
fi
X_CFLAGS=
X_LIBS=
else
if test "x${with_x}" = xno; then
AC_MSG_ERROR([It is not possible to disable the use of X11. Remove the --without-x option.])
fi
if test "x${with_x}" != x && test "x${with_x}" != xyes; then
# The user has specified a X11 base directory. Use it for includes and
# libraries, unless explicitely overridden.
if test "x$x_includes" = xNONE; then
x_includes="${with_x}/include"
fi
if test "x$x_libraries" = xNONE; then
x_libraries="${with_x}/lib"
fi
else
# Check if the user has specified sysroot, but not --with-x, --x-includes or --x-libraries.
# Make a simple check for the libraries at the sysroot, and setup --x-includes and
# --x-libraries for the sysroot, if that seems to be correct.
if test "x$SYSROOT" != "x"; then
if test "x$x_includes" = xNONE; then
if test -f "$SYSROOT/usr/X11R6/include/X11/Xlib.h"; then
x_includes="$SYSROOT/usr/X11R6/include"
elif test -f "$SYSROOT/usr/include/X11/Xlib.h"; then
x_includes="$SYSROOT/usr/include"
fi
fi
if test "x$x_libraries" = xNONE; then
if test -f "$SYSROOT/usr/X11R6/lib/libX11.so"; then
x_libraries="$SYSROOT/usr/X11R6/lib"
elif test -f "$SYSROOT/usr/lib64/libX11.so" && test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
x_libraries="$SYSROOT/usr/lib64"
elif test -f "$SYSROOT/usr/lib/libX11.so"; then
x_libraries="$SYSROOT/usr/lib"
fi
fi
fi
fi
# Now let autoconf do it's magic
AC_PATH_X
AC_PATH_XTRA
# AC_PATH_XTRA creates X_LIBS and sometimes adds -R flags. When cross compiling
# this doesn't make sense so we remove it.
if test "x$COMPILE_TYPE" = xcross; then
X_LIBS=`$ECHO $X_LIBS | $SED 's/-R \{0,1\}[[^ ]]*//g'`
fi
if test "x$no_x" = xyes; then
HELP_MSG_MISSING_DEPENDENCY([x11])
AC_MSG_ERROR([Could not find X11 libraries. $HELP_MSG])
fi
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
OPENWIN_HOME="/usr/openwin"
X_CFLAGS="-I$SYSROOT$OPENWIN_HOME/include -I$SYSROOT$OPENWIN_HOME/include/X11/extensions"
X_LIBS="-L$SYSROOT$OPENWIN_HOME/sfw/lib$OPENJDK_TARGET_CPU_ISADIR \
-L$SYSROOT$OPENWIN_HOME/lib$OPENJDK_TARGET_CPU_ISADIR \
-R$OPENWIN_HOME/sfw/lib$OPENJDK_TARGET_CPU_ISADIR \
-R$OPENWIN_HOME/lib$OPENJDK_TARGET_CPU_ISADIR"
fi
AC_LANG_PUSH(C)
OLD_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $SYSROOT_CFLAGS $X_CFLAGS"
# Need to include Xlib.h and Xutil.h to avoid "present but cannot be compiled" warnings on Solaris 10
AC_CHECK_HEADERS([X11/extensions/shape.h X11/extensions/Xrender.h X11/extensions/XTest.h X11/Intrinsic.h],
[X11_HEADERS_OK=yes],
[X11_HEADERS_OK=no; break],
[
# include <X11/Xlib.h>
# include <X11/Xutil.h>
]
)
if test "x$X11_HEADERS_OK" = xno; then
HELP_MSG_MISSING_DEPENDENCY([x11])
AC_MSG_ERROR([Could not find all X11 headers (shape.h Xrender.h XTest.h Intrinsic.h). $HELP_MSG])
fi
# If XLinearGradient isn't available in Xrender.h, signal that it needs to be
# defined in libawt_xawt.
AC_MSG_CHECKING([if XlinearGradient is defined in Xrender.h])
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM([[#include <X11/extensions/Xrender.h>]],
[[XLinearGradient x;]])],
[AC_MSG_RESULT([yes])],
[AC_MSG_RESULT([no])
X_CFLAGS="$X_CFLAGS -DSOLARIS10_NO_XRENDER_STRUCTS"])
CFLAGS="$OLD_CFLAGS"
AC_LANG_POP(C)
fi # NEEDS_LIB_X11
AC_SUBST(X_CFLAGS)
AC_SUBST(X_LIBS)
])

File diff suppressed because it is too large Load Diff

View File

@@ -489,7 +489,8 @@ AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_TARGET_BITS],
AC_CHECK_HEADERS([stdio.h], , [
AC_MSG_NOTICE([Failed to compile stdio.h. This likely implies missing compile dependencies.])
if test "x$COMPILE_TYPE" = xreduced; then
AC_MSG_NOTICE([You are doing a reduced build. Check that you have 32-bit libraries installed.])
HELP_MSG_MISSING_DEPENDENCY([reduced])
AC_MSG_NOTICE([You are doing a reduced build. Check that you have 32-bit libraries installed. $HELP_MSG])
elif test "x$COMPILE_TYPE" = xcross; then
AC_MSG_NOTICE([You are doing a cross-compilation. Check that you have all target platform libraries installed.])
fi
@@ -509,7 +510,7 @@ AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_TARGET_BITS],
# This situation may happen on 64-bit platforms where the compiler by default only generates 32-bit objects
# Let's try to implicitely set the compilers target architecture and retry the test
AC_MSG_NOTICE([The tested number of bits in the target ($TESTED_TARGET_CPU_BITS) differs from the number of bits expected to be found in the target ($OPENJDK_TARGET_CPU_BITS).])
AC_MSG_NOTICE([I'll retry after setting the platforms compiler target bits flag to ${COMPILER_TARGET_BITS_FLAG}${OPENJDK_TARGET_CPU_BITS}])
AC_MSG_NOTICE([Retrying with platforms compiler target bits flag to ${COMPILER_TARGET_BITS_FLAG}${OPENJDK_TARGET_CPU_BITS}])
PLATFORM_SET_COMPILER_TARGET_BITS_FLAGS
# We have to unset 'ac_cv_sizeof_int_p' first, otherwise AC_CHECK_SIZEOF will use the previously cached value!
@@ -524,7 +525,14 @@ _ACEOF
TESTED_TARGET_CPU_BITS=`expr 8 \* $ac_cv_sizeof_int_p`
if test "x$TESTED_TARGET_CPU_BITS" != "x$OPENJDK_TARGET_CPU_BITS"; then
AC_MSG_ERROR([The tested number of bits in the target ($TESTED_TARGET_CPU_BITS) differs from the number of bits expected to be found in the target ($OPENJDK_TARGET_CPU_BITS)])
AC_MSG_NOTICE([The tested number of bits in the target ($TESTED_TARGET_CPU_BITS) differs from the number of bits expected to be found in the target ($OPENJDK_TARGET_CPU_BITS)])
if test "x$COMPILE_TYPE" = xreduced; then
HELP_MSG_MISSING_DEPENDENCY([reduced])
AC_MSG_NOTICE([You are doing a reduced build. Check that you have 32-bit libraries installed. $HELP_MSG])
elif test "x$COMPILE_TYPE" = xcross; then
AC_MSG_NOTICE([You are doing a cross-compilation. Check that you have all target platform libraries installed.])
fi
AC_MSG_ERROR([Cannot continue.])
fi
fi
fi

View File

@@ -30,31 +30,17 @@
# (called @OPENJDK_BUILD_AUTOCONF_NAME@ by autoconf)
# using 'configure @CONFIGURE_COMMAND_LINE@'
# When calling macros, the spaces between arguments are
# often semantically important! Sometimes we need to subst
# spaces and commas, therefore we need the following macros.
X:=
SPACE:=$(X) $(X)
COMMA:=,
DOLLAR:=$$
HASH:=\#
LEFT_PAREN:=(
RIGHT_PAREN:=)
SQUOTE:='
#'
DQUOTE:="
#"
define NEWLINE
endef
# The command line given to configure.
CONFIGURE_COMMAND_LINE:=@CONFIGURE_COMMAND_LINE@
# A self-referential reference to this file.
SPEC:=@SPEC@
# SPACE is defined in MakeBase.gmk, but it is also used in := rules here for some
# toolchains, and is needed if MakeBase.gmk is not included before this file.
X:=
SPACE:=$(X) $(X)
# What make to use for main processing, after bootstrapping top-level Makefile.
MAKE := @MAKE@
@@ -110,7 +96,7 @@ REQUIRED_OS_NAME:=@REQUIRED_OS_NAME@
REQUIRED_OS_VERSION:=@REQUIRED_OS_VERSION@
@SET_OPENJDK@
LIBM:=-lm
LIBM:=@LIBM@
LIBDL:=@LIBDL@
# colon or semicolon
@@ -281,9 +267,6 @@ CACERTS_FILE=@CACERTS_FILE@
# Enable unlimited crypto policy
UNLIMITED_CRYPTO=@UNLIMITED_CRYPTO@
# Enable RMIConnector IIOP transport
RMICONNECTOR_IIOP=@RMICONNECTOR_IIOP@
GCOV_ENABLED=@GCOV_ENABLED@
# Necessary additional compiler flags to compile X11
@@ -384,6 +367,8 @@ LDFLAGS_TESTEXE_SUFFIX:=@LDFLAGS_TESTEXE_SUFFIX@
# build platform.
BUILD_CC:=@FIXPATH@ @BUILD_CC@
BUILD_LD:=@FIXPATH@ @BUILD_LD@
BUILD_SYSROOT_CFLAGS:=@BUILD_SYSROOT_CFLAGS@
BUILD_SYSROOT_LDFLAGS:=@BUILD_SYSROOT_LDFLAGS@
AS:=@FIXPATH@ @AS@
@@ -438,7 +423,7 @@ STATIC_LIBRARY_SUFFIX:=@STATIC_LIBRARY_SUFFIX@
EXE_SUFFIX:=@EXE_SUFFIX@
OBJ_SUFFIX:=@OBJ_SUFFIX@
POST_STRIP_CMD:=@POST_STRIP_CMD@
STRIPFLAGS:=@STRIPFLAGS@
JAVA_FLAGS:=@JAVA_FLAGS@
JAVA_FLAGS_BIG:=@JAVA_FLAGS_BIG@
@@ -478,9 +463,6 @@ INTERIM_LANGTOOLS_ARGS = "-Xbootclasspath/p:$(INTERIM_LANGTOOLS_JAR)" -cp $(INTE
NEW_JAVAC = $(INTERIM_LANGTOOLS_ARGS) com.sun.tools.javac.Main
NEW_JAVADOC = $(INTERIM_LANGTOOLS_ARGS) com.sun.tools.javadoc.Main
# The interim corba jar is needed for running rmic
INTERIM_CORBA_JAR = $(BUILDTOOLS_OUTPUTDIR)/interim_corba.jar
# Base flags for RC
# Guarding this against resetting value. Legacy make files include spec multiple
# times.
@@ -517,6 +499,8 @@ LN:=@LN@
MKDIR:=@MKDIR@
MV:=@MV@
NAWK:=@NAWK@
NICE:=@NICE@
PATCH:=@PATCH@
PRINTF:=@PRINTF@
PWD:=@THEPWDCMD@
RM:=@RM@

View File

@@ -586,6 +586,43 @@ AC_DEFUN_ONCE([TOOLCHAIN_DETECT_TOOLCHAIN_EXTRA],
# Only call fixup if objcopy was found.
if test -n "$OBJCOPY"; then
BASIC_FIXUP_EXECUTABLE(OBJCOPY)
if test "x$OPENJDK_BUILD_OS" = xsolaris; then
# objcopy prior to 2.21.1 on solaris is broken and is not usable.
# Rewrite objcopy version output to VALID_VERSION or BAD_VERSION.
# - version number is last blank separate word on first line
# - version number formats that have been seen:
# - <major>.<minor>
# - <major>.<minor>.<micro>
OBJCOPY_VERSION=`$OBJCOPY --version | $HEAD -n 1`
# The outer [ ] is to prevent m4 from eating the [] in the sed expression.
[ OBJCOPY_VERSION_CHECK=`$ECHO $OBJCOPY_VERSION | $SED -n \
-e 's/.* //' \
-e '/^[01]\./b bad' \
-e '/^2\./{' \
-e ' s/^2\.//' \
-e ' /^[0-9]$/b bad' \
-e ' /^[0-9]\./b bad' \
-e ' /^1[0-9]$/b bad' \
-e ' /^1[0-9]\./b bad' \
-e ' /^20\./b bad' \
-e ' /^21\.0$/b bad' \
-e ' /^21\.0\./b bad' \
-e '}' \
-e ':good' \
-e 's/.*/VALID_VERSION/p' \
-e 'q' \
-e ':bad' \
-e 's/.*/BAD_VERSION/p' \
-e 'q'` ]
if test "x$OBJCOPY_VERSION_CHECK" = xBAD_VERSION; then
OBJCOPY=
AC_MSG_WARN([Ignoring found objcopy since it is broken (prior to 2.21.1). No debug symbols will be generated.])
AC_MSG_NOTICE([objcopy reports version $OBJCOPY_VERSION])
AC_MSG_NOTICE([Note: patch 149063-01 or newer contains the correct Solaris 10 SPARC version])
AC_MSG_NOTICE([Note: patch 149064-01 or newer contains the correct Solaris 10 X86 version])
AC_MSG_NOTICE([Note: Solaris 11 Update 1 contains the correct version])
fi
fi
fi
fi
@@ -619,17 +656,23 @@ AC_DEFUN_ONCE([TOOLCHAIN_SETUP_BUILD_COMPILERS],
BASIC_FIXUP_EXECUTABLE(BUILD_CXX)
BASIC_PATH_PROGS(BUILD_LD, ld)
BASIC_FIXUP_EXECUTABLE(BUILD_LD)
BUILD_SYSROOT_CFLAGS=""
BUILD_SYSROOT_LDFLAGS=""
else
# If we are not cross compiling, use the normal target compilers for
# building the build platform executables.
BUILD_CC="$CC"
BUILD_CXX="$CXX"
BUILD_LD="$LD"
BUILD_SYSROOT_CFLAGS="$SYSROOT_CFLAGS"
BUILD_SYSROOT_LDFLAGS="$SYSROOT_LDFLAGS"
fi
AC_SUBST(BUILD_CC)
AC_SUBST(BUILD_CXX)
AC_SUBST(BUILD_LD)
AC_SUBST(BUILD_SYSROOT_CFLAGS)
AC_SUBST(BUILD_SYSROOT_LDFLAGS)
])
# Setup legacy variables that are still needed as alternative ways to refer to

View File

@@ -0,0 +1,60 @@
#!/bin/bash
#
# Copyright 2015 Google, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
usage() {
(
echo "$0 DIR ..."
echo "Modifies in place all the java source files found"
echo "in the given directories so that all java language modifiers"
echo "are in the canonical order given by Modifier#toString()."
echo "Tries to get it right even within javadoc comments,"
echo "and even if the list of modifiers spans 2 lines."
echo
echo "See:"
echo "https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Modifier.html#toString-int-"
echo
echo "Example:"
echo "$0 jdk/src/java.base jdk/test/java/{util,io,lang}"
) >&2
exit 1
}
set -eu
declare -ar dirs=("$@")
[[ "${#dirs[@]}" > 0 ]] || usage
for dir in "${dirs[@]}"; do [[ -d "$dir" ]] || usage; done
declare -ar modifiers=(
public protected private
abstract static final transient
volatile synchronized native strictfp
)
declare -r SAVE_IFS="$IFS"
for ((i = 3; i < "${#modifiers[@]}"; i++)); do
IFS='|'; x="${modifiers[*]:0:i}" y="${modifiers[*]:i}"; IFS="$SAVE_IFS"
if [[ -n "$x" && -n "$y" ]]; then
find "${dirs[@]}" -name '*.java' -type f -print0 | \
xargs -0 perl -0777 -p -i -e \
"do {} while s/^([A-Za-z@* ]*)\b($y)(\s|(?:\s|\n\s+\*)*\s)($x)\b/\1\4\3\2/mg"
fi
done

View File

@@ -88,23 +88,19 @@ diff_text() {
TMP=$(LC_ALL=C $DIFF $OTHER_FILE $THIS_FILE | \
$GREP '^[<>]' | \
$SED -e '/[<>] \* from.*\.idl/d' \
-e '/[<>] \*.*[0-9]\{4\}_[0-9]\{2\}_[0-9]\{2\}_[0-9]\{2\}_[0-9]\{2\}-b[0-9]\{2\}.*/d' \
-e '/[<>] .*[0-9]\{4\}_[0-9]\{2\}_[0-9]\{2\}_[0-9]\{2\}_[0-9]\{2\}-b[0-9]\{2\}.*/d' \
-e '/[<>] \*.*[0-9]\{4\} [0-9][0-9]*:[0-9]\{2\}:[0-9]\{2\}.*/d' \
-e '/\/\/ Generated from input file.*/d' \
-e '/\/\/ This file was generated AUTOMATICALLY from a template file.*/d' \
-e '/\/\/ java GenerateCharacter.*/d')
fi
# Ignore date strings in class files.
# On Macosx the system sources for generated java classes produce different output on
# consequtive invocations seemingly randomly.
# For example a method parameter randomly named "thePoint" or "aPoint". Ignore this.
# Anonymous lambda classes get randomly assigned counters in their names.
if test "x$SUFFIX" = "xclass"; then
# To improve performance when large diffs are found, do a rough filtering of classes
# elibeble for these exceptions
if $GREP -R -e '[0-9]\{4\}_[0-9]\{2\}_[0-9]\{2\}_[0-9]\{2\}_[0-9]\{2\}-b[0-9]\{2\}' \
-e '[0-9]\{2\}/[0-9]\{2\}/[0-9]\{4\}' \
-e thePoint -e aPoint -e setItemsPtr \
-e 'lambda\$[a-zA-Z0-9]*\$[0-9]' ${THIS_FILE} > /dev/null; then
$JAVAP -c -constants -l -p "${OTHER_FILE}" > ${OTHER_FILE}.javap
$JAVAP -c -constants -l -p "${THIS_FILE}" > ${THIS_FILE}.javap
@@ -112,9 +108,6 @@ diff_text() {
$GREP '^[<>]' | \
$SED -e '/[<>].*[0-9]\{4\}_[0-9]\{2\}_[0-9]\{2\}_[0-9]\{2\}_[0-9]\{2\}-b[0-9]\{2\}.*/d' \
-e '/[0-9]\{2\}\/[0-9]\{2\}\/[0-9]\{4\}/d' \
-e '/[<>].*Point Lcom\/apple\/jobjc\/foundation\/NSPoint;/d' \
-e '/[<>].*public com\.apple\.jobjc\.Pointer<com\.apple\.jobjc\..*itemsPtr();/d' \
-e '/[<>].*public void setItemsPtr(com\.apple\.jobjc\.Pointer<com\.apple\.jobjc\..*);/d' \
-e '/[<>].*lambda\$[a-zA-Z0-9]*\$[0-9]*/d')
fi
fi
@@ -313,7 +306,7 @@ compare_general_files() {
! -name "jspawnhelper" \
| $GREP -v "./bin/" | $SORT | $FILTER)
echo General files...
echo Other files with binary differences...
for f in $GENERAL_FILES
do
if [ -e $OTHER_DIR/$f ]; then
@@ -590,7 +583,7 @@ compare_bin_file() {
ORIG_THIS_FILE="$THIS_FILE"
ORIG_OTHER_FILE="$OTHER_FILE"
if [[ "$STRIP_BEFORE_COMPARE" = *"$BIN_FILE"* ]]; then
if [ "$STRIP_ALL" = "true" ] || [[ "$STRIP_BEFORE_COMPARE" = *"$BIN_FILE"* ]]; then
THIS_STRIPPED_FILE=$FILE_WORK_DIR/this/$NAME
OTHER_STRIPPED_FILE=$FILE_WORK_DIR/other/$NAME
$MKDIR -p $FILE_WORK_DIR/this $FILE_WORK_DIR/other
@@ -722,7 +715,7 @@ compare_bin_file() {
fi
fi
if [[ "$SORT_SYMBOLS" = *"$BIN_FILE"* ]]; then
if [ "$SORT_ALL_SYMBOLS" = "true" ] || [[ "$SORT_SYMBOLS" = *"$BIN_FILE"* ]]; then
SYM_SORT_CMD="sort"
else
SYM_SORT_CMD="cat"
@@ -810,31 +803,34 @@ compare_bin_file() {
if [ -z "$FULLDUMP_DIFF_FILTER" ]; then
FULLDUMP_DIFF_FILTER="$CAT"
fi
$FULLDUMP_CMD $OTHER_FILE | eval "$FULLDUMP_DIFF_FILTER" > $WORK_FILE_BASE.fulldump.other 2>&1
$FULLDUMP_CMD $THIS_FILE | eval "$FULLDUMP_DIFF_FILTER" > $WORK_FILE_BASE.fulldump.this 2>&1
$FULLDUMP_CMD $OTHER_FILE | eval "$FULLDUMP_DIFF_FILTER" \
> $WORK_FILE_BASE.fulldump.other 2>&1
$FULLDUMP_CMD $THIS_FILE | eval "$FULLDUMP_DIFF_FILTER" \
> $WORK_FILE_BASE.fulldump.this 2>&1
LC_ALL=C $DIFF $WORK_FILE_BASE.fulldump.other $WORK_FILE_BASE.fulldump.this > $WORK_FILE_BASE.fulldump.diff
LC_ALL=C $DIFF $WORK_FILE_BASE.fulldump.other $WORK_FILE_BASE.fulldump.this \
> $WORK_FILE_BASE.fulldump.diff
if [ -s $WORK_FILE_BASE.fulldump.diff ]; then
ELF_DIFF_SIZE=$(ls -n $WORK_FILE_BASE.fulldump.diff | awk '{print $5}')
ELF_MSG=$($PRINTF "%8d" $ELF_DIFF_SIZE)
if [[ "$ACCEPTED_ELF_DIFF" != *"$BIN_FILE"* ]]; then
DIFF_ELF=true
if [[ "$KNOWN_ELF_DIFF" != *"$BIN_FILE"* ]]; then
ELF_MSG="*$ELF_MSG*"
FULLDUMP_DIFF_SIZE=$(ls -n $WORK_FILE_BASE.fulldump.diff | awk '{print $5}')
FULLDUMP_MSG=$($PRINTF "%8d" $FULLDUMP_DIFF_SIZE)
if [[ "$ACCEPTED_FULLDUMP_DIFF" != *"$BIN_FILE"* ]]; then
DIFF_FULLDUMP=true
if [[ "$KNOWN_FULLDUMP_DIFF" != *"$BIN_FILE"* ]]; then
FULLDUMP_MSG="*$FULLDUMP_MSG*"
REGRESSIONS=true
else
ELF_MSG=" $ELF_MSG "
FULLDUMP_MSG=" $FULLDUMP_MSG "
fi
else
ELF_MSG="($ELF_MSG)"
DIFF_ELF=
FULLDUMP_MSG="($FULLDUMP_MSG)"
DIFF_FULLDUMP=
fi
else
ELF_MSG=" "
DIFF_ELF=
if [[ "$KNOWN_DEP_DIFF $ACCEPTED_DEP_DIFF" = *"$BIN_FILE"* ]]; then
ELF_MSG=" ! "
FULLDUMP_MSG=" "
DIFF_FULLDUMP=
if [[ "$KNOWN_FULLDUMP_DIFF $ACCEPTED_FULLDUMP_DIFF" = *"$BIN_FILE"* ]]; then
FULLDUMP_MSG=" ! "
fi
fi
fi
@@ -845,7 +841,7 @@ compare_bin_file() {
# To get a raw diff with the complete disassembly, set
# DIS_DIFF_FILTER="$CAT"
if [ -z "$DIS_DIFF_FILTER" ]; then
DIS_DIFF_FILTER="$GREP -v ' # .* <.*>$'"
DIS_DIFF_FILTER="$GREP -v ' # .* <.*>$' | $SED -r -e 's/(\b|x)([0-9a-fA-F]+)(\b|:|>)/X/g'"
fi
$DIS_CMD $OTHER_FILE | $GREP -v $NAME | eval "$DIS_DIFF_FILTER" > $WORK_FILE_BASE.dis.other 2>&1
$DIS_CMD $THIS_FILE | $GREP -v $NAME | eval "$DIS_DIFF_FILTER" > $WORK_FILE_BASE.dis.this 2>&1
@@ -877,12 +873,12 @@ compare_bin_file() {
fi
if [ -n "$DIFF_BIN$DIFF_SIZE$DIFF_SYM$DIFF_DEP$DIFF_ELF$DIFF_DIS" ] || [ -n "$VERBOSE" ]; then
if [ -n "$DIFF_BIN$DIFF_SIZE$DIFF_SYM$DIFF_DEP$DIFF_FULLDUMP$DIFF_DIS" ] || [ -n "$VERBOSE" ]; then
if [ -n "$BIN_MSG" ]; then echo -n "$BIN_MSG:"; fi
if [ -n "$SIZE_MSG" ]; then echo -n "$SIZE_MSG:"; fi
if [ -n "$SYM_MSG" ]; then echo -n "$SYM_MSG:"; fi
if [ -n "$DEP_MSG" ]; then echo -n "$DEP_MSG:"; fi
if [ -n "$ELF_MSG" ]; then echo -n "$ELF_MSG:"; fi
if [ -n "$FULLDUMP_MSG" ]; then echo -n "$FULLDUMP_MSG:"; fi
if [ -n "$DIS_MSG" ]; then echo -n "$DIS_MSG:"; fi
echo " $BIN_FILE"
if [ "$SHOW_DIFFS" = "true" ]; then
@@ -1015,6 +1011,9 @@ if [ -z "$1" ] || [ "$1" = "-h" ] || [ "$1" = "-?" ] || [ "$1" = "/h" ] || [ "$1
echo "-vv More verbose output, shows diff output of all comparisons"
echo "-o [OTHER] Compare with build in other directory. Will default to the old build directory"
echo ""
echo "--sort-symbols Sort all symbols before comparing"
echo "--strip Strip all binaries before comparing"
echo ""
echo "[FILTER] List filenames in the image to compare, works for jars, zips, libs and execs"
echo "Example:"
echo "bash ./common/bin/compareimages.sh CodePointIM.jar"
@@ -1107,6 +1106,12 @@ while [ -n "$1" ]; do
shift
shift
;;
--sort-symbols)
SORT_ALL_SYMBOLS=true
;;
--strip)
STRIP_ALL=true
;;
*)
CMP_NAMES=false
CMP_PERMS=false
@@ -1223,7 +1228,7 @@ if [ "$SKIP_DEFAULT" != "true" ]; then
OTHER_JDK_BUNDLE="$OTHER/images/jdk-bundle"
OTHER_JRE_BUNDLE="$OTHER/images/jre-bundle"
fi
echo "Also comparing macosx bundles"
echo "Also comparing jdk macosx bundles"
echo " $THIS_JDK_BUNDLE"
echo " $OTHER_JDK_BUNDLE"
fi

View File

@@ -42,7 +42,6 @@ STRIP_BEFORE_COMPARE="
./demo/jvmti/gctest/lib/libgctest.so
./demo/jvmti/heapTracker/lib/libheapTracker.so
./demo/jvmti/heapViewer/lib/libheapViewer.so
./demo/jvmti/hprof/lib/libhprof.so
./demo/jvmti/minst/lib/libminst.so
./demo/jvmti/mtrace/lib/libmtrace.so
./demo/jvmti/versionCheck/lib/libversionCheck.so
@@ -54,7 +53,6 @@ ACCEPTED_BIN_DIFF="
./demo/jvmti/gctest/lib/libgctest.so
./demo/jvmti/heapTracker/lib/libheapTracker.so
./demo/jvmti/heapViewer/lib/libheapViewer.so
./demo/jvmti/hprof/lib/libhprof.so
./demo/jvmti/minst/lib/libminst.so
./demo/jvmti/mtrace/lib/libmtrace.so
./demo/jvmti/versionCheck/lib/libversionCheck.so
@@ -62,9 +60,7 @@ ACCEPTED_BIN_DIFF="
./lib/i386/client/libjvm.so
./lib/i386/libattach.so
./lib/i386/libdt_socket.so
./lib/i386/libhprof.so
./lib/i386/libinstrument.so
./lib/i386/libjava_crw_demo.so
./lib/i386/libjsdt.so
./lib/i386/libmanagement.so
./lib/i386/libnpt.so
@@ -118,7 +114,6 @@ STRIP_BEFORE_COMPARE="
./demo/jvmti/gctest/lib/libgctest.so
./demo/jvmti/heapTracker/lib/libheapTracker.so
./demo/jvmti/heapViewer/lib/libheapViewer.so
./demo/jvmti/hprof/lib/libhprof.so
./demo/jvmti/minst/lib/libminst.so
./demo/jvmti/mtrace/lib/libmtrace.so
./demo/jvmti/versionCheck/lib/libversionCheck.so
@@ -130,16 +125,13 @@ ACCEPTED_BIN_DIFF="
./demo/jvmti/gctest/lib/libgctest.so
./demo/jvmti/heapTracker/lib/libheapTracker.so
./demo/jvmti/heapViewer/lib/libheapViewer.so
./demo/jvmti/hprof/lib/libhprof.so
./demo/jvmti/minst/lib/libminst.so
./demo/jvmti/mtrace/lib/libmtrace.so
./demo/jvmti/versionCheck/lib/libversionCheck.so
./demo/jvmti/waiters/lib/libwaiters.so
./lib/amd64/libattach.so
./lib/amd64/libdt_socket.so
./lib/amd64/libhprof.so
./lib/amd64/libinstrument.so
./lib/amd64/libjava_crw_demo.so
./lib/amd64/libjsdt.so
./lib/amd64/libjsig.so
./lib/amd64/libmanagement.so
@@ -197,7 +189,6 @@ STRIP_BEFORE_COMPARE="
./demo/jvmti/gctest/lib/libgctest.so
./demo/jvmti/heapTracker/lib/libheapTracker.so
./demo/jvmti/heapViewer/lib/libheapViewer.so
./demo/jvmti/hprof/lib/libhprof.so
./demo/jvmti/minst/lib/libminst.so
./demo/jvmti/mtrace/lib/libmtrace.so
./demo/jvmti/versionCheck/lib/libversionCheck.so
@@ -217,7 +208,6 @@ ACCEPTED_SMALL_SIZE_DIFF="
./demo/jvmti/gctest/lib/libgctest.so
./demo/jvmti/heapTracker/lib/libheapTracker.so
./demo/jvmti/heapViewer/lib/libheapViewer.so
./demo/jvmti/hprof/lib/libhprof.so
./demo/jvmti/minst/lib/libminst.so
./demo/jvmti/mtrace/lib/libmtrace.so
./demo/jvmti/versionCheck/lib/libversionCheck.so
@@ -232,7 +222,6 @@ ACCEPTED_SMALL_SIZE_DIFF="
./lib/amd64/libdcpr.so
./lib/amd64/libdt_socket.so
./lib/amd64/libfontmanager.so
./lib/amd64/libhprof.so
./lib/amd64/libinstrument.so
./lib/amd64/libj2gss.so
./lib/amd64/libj2pcsc.so
@@ -240,7 +229,6 @@ ACCEPTED_SMALL_SIZE_DIFF="
./lib/amd64/libj2ucrypto.so
./lib/amd64/libjaas_unix.so
./lib/amd64/libjava.so
./lib/amd64/libjava_crw_demo.so
./lib/amd64/libjawt.so
./lib/amd64/libjdwp.so
./lib/amd64/libjfr.so
@@ -330,7 +318,6 @@ STRIP_BEFORE_COMPARE="
./demo/jvmti/gctest/lib/libgctest.so
./demo/jvmti/heapTracker/lib/libheapTracker.so
./demo/jvmti/heapViewer/lib/libheapViewer.so
./demo/jvmti/hprof/lib/libhprof.so
./demo/jvmti/minst/lib/libminst.so
./demo/jvmti/mtrace/lib/libmtrace.so
./demo/jvmti/versionCheck/lib/libversionCheck.so
@@ -353,7 +340,6 @@ ACCEPTED_SMALL_SIZE_DIFF="
./demo/jvmti/gctest/lib/libgctest.so
./demo/jvmti/heapTracker/lib/libheapTracker.so
./demo/jvmti/heapViewer/lib/libheapViewer.so
./demo/jvmti/hprof/lib/libhprof.so
./demo/jvmti/minst/lib/libminst.so
./demo/jvmti/mtrace/lib/libmtrace.so
./demo/jvmti/versionCheck/lib/libversionCheck.so
@@ -369,7 +355,6 @@ ACCEPTED_SMALL_SIZE_DIFF="
./lib/sparcv9/libdcpr.so
./lib/sparcv9/libdt_socket.so
./lib/sparcv9/libfontmanager.so
./lib/sparcv9/libhprof.so
./lib/sparcv9/libinstrument.so
./lib/sparcv9/libj2gss.so
./lib/sparcv9/libj2pcsc.so
@@ -377,7 +362,6 @@ ACCEPTED_SMALL_SIZE_DIFF="
./lib/sparcv9/libj2ucrypto.so
./lib/sparcv9/libjaas_unix.so
./lib/sparcv9/libjava.so
./lib/sparcv9/libjava_crw_demo.so
./lib/sparcv9/libjawt.so
./lib/sparcv9/libjdwp.so
./lib/sparcv9/libjfr.so
@@ -473,7 +457,6 @@ ACCEPTED_SMALL_SIZE_DIFF="
./demo/jvmti/heapTracker/lib/heapTracker.dll
./demo/jvmti/minst/lib/minst.dll
./bin/attach.dll
./bin/java_crw_demo.dll
./bin/jsoundds.dll
./bin/server/jvm.dll
./bin/appletviewer.exe
@@ -611,9 +594,7 @@ ACCEPTED_BIN_DIFF="
./Contents/Home/lib/libawt_lwawt.dylib
./Contents/Home/lib/libdeploy.dylib
./Contents/Home/lib/libdt_socket.dylib
./Contents/Home/lib/libhprof.dylib
./Contents/Home/lib/libinstrument.dylib
./Contents/Home/lib/libjava_crw_demo.dylib
./Contents/Home/lib/libjdwp.dylib
./Contents/Home/lib/libjsdt.dylib
./Contents/Home/lib/libjsig.dylib
@@ -635,9 +616,7 @@ ACCEPTED_BIN_DIFF="
./lib/libawt_lwawt.dylib
./lib/libdeploy.dylib
./lib/libdt_socket.dylib
./lib/libhprof.dylib
./lib/libinstrument.dylib
./lib/libjava_crw_demo.dylib
./lib/libjdwp.dylib
./lib/libjsdt.dylib
./lib/libjsig.dylib

View File

@@ -41,5 +41,19 @@ RCDIR=`mktemp -dt jdk-build-logger.tmp.XXXXXX` || exit $?
trap "rm -rf \"$RCDIR\"" EXIT
LOGFILE=$1
shift
# We need to handle command likes like "VAR1=val1 /usr/bin/cmd VAR2=val2".
# Do this by shifting away prepended variable assignments, and export them
# instead.
is_prefix=true
for opt; do
if [[ "$is_prefix" = true && "$opt" =~ ^.*=.*$ ]]; then
export $opt
shift
else
is_prefix=false
fi
done
(exec 3>&1 ; ("$@" 2>&1 1>&3; echo $? > "$RCDIR/rc") | tee -a $LOGFILE 1>&2 ; exec 3>&-) | tee -a $LOGFILE
exit `cat "$RCDIR/rc"`

View File

@@ -319,3 +319,14 @@ f9f3706bd24c42c07cb260fe05730a749b8e52f4 jdk9-b72
622fe934e351e89107edf3c667d6b57f543f58f1 jdk9-b74
960b56805abd8460598897481820bd6a75f979e7 jdk9-b75
d8126bc88fa5cd1ae4e44d86a4b1280ca1c9e2aa jdk9-b76
8bb2441c0fec8b28f7bf11a0ca3ec1642e7ef457 jdk9-b77
182bb7accc5253bcfefd8edc1d4997ec8f9f8694 jdk9-b78
4ab250b8fac66ef8cd15ee78c40f0c651c96e16a jdk9-b79
821a0373ef2d1642a9824facb938b901ad010413 jdk9-b80
45c35b7f5b40d5af0085e4a7b3a4d6e3e0347c35 jdk9-b81
c20d8ebddaa6fb09cc81d3edf3d1d05f4232700a jdk9-b82
ca8a1719588424f6e04e943790c7fcb7cb0b8c8f jdk9-b83
df70bb200356fec686681f0295c50cc3ed43c3b3 jdk9-b84
3ec06af1368924469f7ce60a00324bac55eaeecc jdk9-b85
0a3f0d25c201b40575a7c3920fce4d6f4d3ae310 jdk9-b86
a5c40ac9b916ff44d512ee764fa919ed2097e149 jdk9-b87

View File

@@ -37,9 +37,9 @@ public class ByteBuffer {
protected byte elementData[];
/**
* The number of valid components in this <tt>ByteBuffer</tt> object.
* Components <tt>elementData[0]</tt> through
* <tt>elementData[elementCount-1]</tt> are the actual items.
* The number of valid components in this {@code ByteBuffer} object.
* Components {@code elementData[0]} through
* {@code elementData[elementCount-1]} are the actual items.
*
* @serial
*/
@@ -88,7 +88,7 @@ public class ByteBuffer {
/**
* Constructs an empty ByteBuffer so that its internal data array
* has size <tt>10</tt> and its standard capacity increment is
* has size {@code 10} and its standard capacity increment is
* zero.
*/
public ByteBuffer() {
@@ -99,7 +99,7 @@ public class ByteBuffer {
* Trims the capacity of this ByteBuffer to be the ByteBuffer's current
* size. If the capacity of this cector is larger than its current
* size, then the capacity is changed to equal the size by replacing
* its internal data array, kept in the field <tt>elementData</tt>,
* its internal data array, kept in the field {@code elementData},
* with a smaller one. An application can use this operation to
* minimize the storage of a ByteBuffer.
*/
@@ -138,7 +138,7 @@ public class ByteBuffer {
* Returns the current capacity of this ByteBuffer.
*
* @return the current capacity (the length of its internal
* data arary, kept in the field <tt>elementData</tt>
* data arary, kept in the field {@code elementData}
* of this ByteBuffer.
*/
public int capacity() {
@@ -157,9 +157,9 @@ public class ByteBuffer {
/**
* Tests if this ByteBuffer has no components.
*
* @return <code>true</code> if and only if this ByteBuffer has
* @return {@code true} if and only if this ByteBuffer has
* no components, that is, its size is zero;
* <code>false</code> otherwise.
* {@code false} otherwise.
*/
public boolean isEmpty() {
return elementCount == 0;

View File

@@ -438,11 +438,11 @@ public class Util implements javax.rmi.CORBA.UtilDelegate
}
/**
* Writes a java.lang.Object as a CORBA Object. If <code>obj</code> is
* Writes a java.lang.Object as a CORBA Object. If {@code obj} is
* an exported RMI-IIOP server object, the tie is found
* and wired to <code>obj</code>, then written to <code>out.write_Object(org.omg.CORBA.Object)</code>.
* If <code>obj</code> is a CORBA Object, it is written to
* <code>out.write_Object(org.omg.CORBA.Object)</code>.
* and wired to {@code obj}, then written to {@code out.write_Object(org.omg.CORBA.Object)}.
* If {@code obj} is a CORBA Object, it is written to
* {@code out.write_Object(org.omg.CORBA.Object)}.
* @param out the stream in which to write the object.
* @param obj the object to write.
*/
@@ -457,10 +457,10 @@ public class Util implements javax.rmi.CORBA.UtilDelegate
/**
* Writes a java.lang.Object as either a value or a CORBA Object.
* If <code>obj</code> is a value object or a stub object, it is written to
* <code>out.write_abstract_interface(java.lang.Object)</code>. If <code>obj</code> is an exported
* RMI-IIOP server object, the tie is found and wired to <code>obj</code>,
* then written to <code>out.write_abstract_interface(java.lang.Object)</code>.
* If {@code obj} is a value object or a stub object, it is written to
* {@code out.write_abstract_interface(java.lang.Object)}. If {@code obj} is an exported
* RMI-IIOP server object, the tie is found and wired to {@code obj},
* then written to {@code out.write_abstract_interface(java.lang.Object)}.
* @param out the stream in which to write the object.
* @param obj the object to write.
*/
@@ -595,7 +595,7 @@ public class Util implements javax.rmi.CORBA.UtilDelegate
* the class might be found. May be null.
* @param loader a class whose ClassLoader may be used to
* load the class if all other methods fail.
* @return the <code>Class</code> object representing the loaded class.
* @return the {@code Class} object representing the loaded class.
* @exception ClassNotFoundException if class cannot be loaded.
*/
public Class loadClass( String className, String remoteCodebase,
@@ -605,20 +605,20 @@ public class Util implements javax.rmi.CORBA.UtilDelegate
}
/**
* The <tt>isLocal</tt> method has the same semantics as the
* The {@code isLocal} method has the same semantics as the
* ObjectImpl._is_local method, except that it can throw a RemoteException.
* (no it doesn't but the spec says it should.)
*
* The <tt>_is_local()</tt> method is provided so that stubs may determine
* The {@code _is_local()} method is provided so that stubs may determine
* if a particular object is implemented by a local servant and hence local
* invocation APIs may be used.
*
* @param stub the stub to test.
*
* @return The <tt>_is_local()</tt> method returns true if
* @return The {@code _is_local()} method returns true if
* the servant incarnating the object is located in the same process as
* the stub and they both share the same ORB instance. The <tt>_is_local()</tt>
* method returns false otherwise. The default behavior of <tt>_is_local()</tt> is
* the stub and they both share the same ORB instance. The {@code _is_local()}
* method returns false otherwise. The default behavior of {@code _is_local()} is
* to return false.
*
* @throws RemoteException The Java to IDL specification does to

View File

@@ -93,7 +93,7 @@ public class JNDIStateFactoryImpl implements StateFactory
* @param name Ignored
* @param ctx The non-null CNCtx whose ORB to use.
* @param env Ignored
* @return The CORBA object for <tt>orig</tt> or null.
* @return The CORBA object for {@code orig} or null.
* @exception ConfigurationException If the CORBA object cannot be obtained
* due to configuration problems
* @exception NamingException If some other problem prevented a CORBA

View File

@@ -165,7 +165,7 @@ public interface ORBSocketFactory
* If number is 0 then use an emphemeral port for the listener of
* the associated type. <p>
*
* If number is greater then 0 use that port number. <p>
* If number is greater than 0 use that port number. <p>
*
* An ORB creates a listener socket for each type
* specified by the user by calling

View File

@@ -89,6 +89,9 @@ import com.sun.corba.se.impl.logging.OMGSystemException ;
import com.sun.corba.se.impl.presentation.rmi.PresentationManagerImpl ;
import jdk.internal.misc.JavaAWTAccess;
import jdk.internal.misc.SharedSecrets;
public abstract class ORB extends com.sun.corba.se.org.omg.CORBA.ORB
implements Broker, TypeCodeFactory
{
@@ -202,7 +205,7 @@ public abstract class ORB extends com.sun.corba.se.org.omg.CORBA.ORB
public static PresentationManager getPresentationManager()
{
SecurityManager sm = System.getSecurityManager();
sun.misc.JavaAWTAccess javaAwtAccess = sun.misc.SharedSecrets.getJavaAWTAccess();
JavaAWTAccess javaAwtAccess = SharedSecrets.getJavaAWTAccess();
if (sm != null && javaAwtAccess != null) {
final Object appletContext = javaAwtAccess.getAppletContext();
if (appletContext != null) {

View File

@@ -108,12 +108,12 @@ public class Util {
}
/**
* Writes a java.lang.Object as a CORBA Object. If <code>obj</code> is
* Writes a java.lang.Object as a CORBA Object. If {@code obj} is
* an exported RMI-IIOP server object, the tie is found
* and wired to <code>obj</code>, then written to
<code>out.write_Object(org.omg.CORBA.Object)</code>.
* If <code>obj</code> is a CORBA Object, it is written to
* <code>out.write_Object(org.omg.CORBA.Object)</code>.
* and wired to {@code obj}, then written to
* {@code out.write_Object(org.omg.CORBA.Object)}.
* If {@code obj} is a CORBA Object, it is written to
* {@code out.write_Object(org.omg.CORBA.Object)}.
* @param out the stream in which to write the object.
* @param obj the object to write.
*/
@@ -128,12 +128,11 @@ public class Util {
/**
* Writes a java.lang.Object as either a value or a CORBA Object.
* If <code>obj</code> is a value object or a stub object, it is written to
* <code>out.write_abstract_interface(java.lang.Object)</code>. If <code>obj</code>
is
an exported
* RMI-IIOP server object, the tie is found and wired to <code>obj</code>,
* then written to <code>out.write_abstract_interface(java.lang.Object)</code>.
* If {@code obj} is a value object or a stub object, it is written to
* {@code out.write_abstract_interface(java.lang.Object)}.
* If {@code obj} is an exported
* RMI-IIOP server object, the tie is found and wired to {@code obj},
* then written to {@code out.write_abstract_interface(java.lang.Object)}.
* @param out the stream in which to write the object.
* @param obj the object to write.
*/
@@ -161,8 +160,8 @@ an exported
}
/**
* Removes the associated tie from an internal table and calls {@link
Tie#deactivate}
* Removes the associated tie from an internal table
* and calls {@link Tie#deactivate}
* to deactivate the object.
* @param target the object to unexport.
*/
@@ -219,27 +218,27 @@ Tie#deactivate}
* <P>The spec for this method is the "Java to IDL language
* mapping", ptc/00-01-06.
* <P>In Java SE Platform, this method works as follows:
* <UL><LI>Find the first non-null <tt>ClassLoader</tt> on the
* <UL><LI>Find the first non-null {@code ClassLoader} on the
* call stack and attempt to load the class using this
* <tt>ClassLoader</tt>.
* <LI>If the first step fails, and if <tt>remoteCodebase</tt>
* {@code ClassLoader}.
* <LI>If the first step fails, and if {@code remoteCodebase}
* is non-null and
* <tt>useCodebaseOnly</tt> is false, then call
* <tt>java.rmi.server.RMIClassLoader.loadClass(remoteCodebase, className)</tt>.
* <LI>If <tt>remoteCodebase</tt> is null or <tt>useCodebaseOnly</tt>
* is true, then call <tt>java.rmi.server.RMIClassLoader.loadClass(className)</tt>.
* {@code useCodebaseOnly} is false, then call
* {@code java.rmi.server.RMIClassLoader.loadClass(remoteCodebase, className)}.
* <LI>If {@code remoteCodebase} is null or {@code useCodebaseOnly}
* is true, then call {@code java.rmi.server.RMIClassLoader.loadClass(className)}.
* <LI>If a class was not successfully loaded by step 1, 2, or 3,
* and <tt>loader</tt> is non-null, then call <tt>loader.loadClass(className)</tt>.
* and {@code loader} is non-null, then call {@code loader.loadClass(className)}.
* <LI>If a class was successfully loaded by step 1, 2, 3, or 4, then
* return the loaded class, else throw <tt>ClassNotFoundException</tt>.
* return the loaded class, else throw {@code ClassNotFoundException}.
* </UL>
*
* @param className the name of the class.
* @param remoteCodebase a space-separated list of URLs at which
* the class might be found. May be null.
* @param loader a <tt>ClassLoader</tt> that may be used to
* @param loader a {@code ClassLoader} that may be used to
* load the class if all other methods fail.
* @return the <code>Class</code> object representing the loaded class.
* @return the {@code Class} object representing the loaded class.
* @exception ClassNotFoundException if class cannot be loaded.
*/
public static Class loadClass(String className,
@@ -254,24 +253,24 @@ Tie#deactivate}
/**
* The <tt>isLocal</tt> method has the same semantics as the
* <tt>ObjectImpl._is_local</tt>
* method, except that it can throw a <tt>RemoteException</tt>.
* The {@code isLocal} method has the same semantics as the
* {@code ObjectImpl._is_local}
* method, except that it can throw a {@code RemoteException}.
*
* The <tt>_is_local()</tt> method is provided so that stubs may determine if a
* The {@code _is_local()} method is provided so that stubs may determine if a
* particular object is implemented by a local servant and hence local
* invocation APIs may be used.
*
* @param stub the stub to test.
*
* @return The <tt>_is_local()</tt> method returns true if
* @return The {@code _is_local()} method returns true if
* the servant incarnating the object is located in the same process as
* the stub and they both share the same ORB instance. The <tt>_is_local()</tt>
* method returns false otherwise. The default behavior of <tt>_is_local()</tt> is
* the stub and they both share the same ORB instance. The {@code _is_local()}
* method returns false otherwise. The default behavior of {@code _is_local()} is
* to return false.
*
* @throws RemoteException The Java to IDL specification does not
* specify the conditions that cause a <tt>RemoteException</tt> to be thrown.
* specify the conditions that cause a {@code RemoteException} to be thrown.
*/
public static boolean isLocal(Stub stub) throws RemoteException {

View File

@@ -30,52 +30,52 @@ import org.omg.CORBA.portable.InputStream;
import org.omg.CORBA.portable.OutputStream;
/**
* The Holder for <tt>Any</tt>. For more information on
* The Holder for {@code Any}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* A Holder class for <code>Any</code> objects
* A Holder class for {@code Any} objects
* that is used to store "out" and "inout" parameters in IDL methods.
* If an IDL method signature has an IDL <code>any</code> as an "out"
* If an IDL method signature has an IDL {@code any} as an "out"
* or "inout" parameter, the programmer must pass an instance of
* <code>AnyHolder</code> as the corresponding
* {@code AnyHolder} as the corresponding
* parameter in the method invocation; for "inout" parameters, the programmer
* must also fill the "in" value to be sent to the server.
* Before the method invocation returns, the ORB will fill in the
* value corresponding to the "out" value returned from the server.
* <P>
* If <code>myAnyHolder</code> is an instance of <code>AnyHolder</code>,
* the value stored in its <code>value</code> field can be accessed with
* <code>myAnyHolder.value</code>.
* If {@code myAnyHolder} is an instance of {@code AnyHolder},
* the value stored in its {@code value} field can be accessed with
* {@code myAnyHolder.value}.
*
* @since JDK1.2
*/
public final class AnyHolder implements Streamable {
/**
* The <code>Any</code> value held by this <code>AnyHolder</code> object.
* The {@code Any} value held by this {@code AnyHolder} object.
*/
public Any value;
/**
* Constructs a new <code>AnyHolder</code> object with its
* <code>value</code> field initialized to <code>null</code>.
* Constructs a new {@code AnyHolder} object with its
* {@code value} field initialized to {@code null}.
*/
public AnyHolder() {
}
/**
* Constructs a new <code>AnyHolder</code> object for the given
* <code>Any</code> object.
* @param initial the <code>Any</code> object with which to initialize
* the <code>value</code> field of the new
* <code>AnyHolder</code> object
* Constructs a new {@code AnyHolder} object for the given
* {@code Any} object.
* @param initial the {@code Any} object with which to initialize
* the {@code value} field of the new
* {@code AnyHolder} object
*/
public AnyHolder(Any initial) {
value = initial;
}
/**
* Reads from <code>input</code> and initalizes the value in the Holder
* Reads from {@code input} and initalizes the value in the Holder
* with the unmarshalled data.
*
* @param input the InputStream containing CDR formatted data from the wire.
@@ -85,8 +85,8 @@ public final class AnyHolder implements Streamable {
}
/**
* Marshals to <code>output</code> the value in
* this <code>AnyHolder</code> object.
* Marshals to {@code output} the value in
* this {@code AnyHolder} object.
*
* @param output the OutputStream which will contain the CDR formatted data.
*/
@@ -95,11 +95,11 @@ public final class AnyHolder implements Streamable {
}
/**
* Returns the <code>TypeCode</code> object corresponding to the value
* held in this <code>AnyHolder</code> object.
* Returns the {@code TypeCode} object corresponding to the value
* held in this {@code AnyHolder} object.
*
* @return the TypeCode of the value held in
* this <code>AnyHolder</code> object
* this {@code AnyHolder} object
*/
public TypeCode _type() {
return ORB.init().get_primitive_tc(TCKind.tk_any);

View File

@@ -26,26 +26,26 @@ package org.omg.CORBA;
/**
* The Helper for <tt>AnySeq</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/AnySeqHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*
* The class definition has been modified to conform to the following
* OMG specifications :
* <ul>
* <li> ORB core as defined by CORBA 2.3.1
* (<a href="http://www.omg.org/cgi-bin/doc?formal/99-10-07">formal/99-10-07</a>)
* </li>
*
* <li> IDL/Java Language Mapping as defined in
* <a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">ptc/00-01-08</a>
* </li>
* </ul>
*/
* The Helper for {@code AnySeq}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/AnySeqHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*
* The class definition has been modified to conform to the following
* OMG specifications :
* <ul>
* <li> ORB core as defined by CORBA 2.3.1
* (<a href="http://www.omg.org/cgi-bin/doc?formal/99-10-07">formal/99-10-07</a>)
* </li>
*
* <li> IDL/Java Language Mapping as defined in
* <a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">ptc/00-01-08</a>
* </li>
* </ul>
*/
public abstract class AnySeqHelper
{

View File

@@ -26,14 +26,14 @@ package org.omg.CORBA;
/**
* The Holder for <tt>AnySeq</tt>. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/AnySeqHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*/
* The Holder for {@code AnySeq}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/AnySeqHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*/
public final class AnySeqHolder implements org.omg.CORBA.portable.Streamable
{

View File

@@ -25,8 +25,8 @@
package org.omg.CORBA;
/**
* A <tt>PolicyErrorCode</tt> which would be filled in
* the <tt>PolicyError</tt> exception.
* A {@code PolicyErrorCode} which would be filled in
* the {@code PolicyError} exception.
*
* @author rip-dev
*/

View File

@@ -26,8 +26,8 @@
package org.omg.CORBA;
/**
* A <tt>PolicyErrorCode</tt> which would be filled in
* the <tt>PolicyError</tt> exception.
* A {@code PolicyErrorCode} which would be filled in
* the {@code PolicyError} exception.
*
* @author rip-dev
*/

View File

@@ -27,7 +27,7 @@ package org.omg.CORBA;
/**
* Exception thrown when the ORB has encountered a malformed type code
* (for example, a type code with an invalid <tt>TCKind</tt> value).<P>
* (for example, a type code with an invalid {@code TCKind} value).<P>
* It contains a minor code, which gives more detailed information about
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
@@ -40,7 +40,7 @@ package org.omg.CORBA;
public final class BAD_TYPECODE extends SystemException {
/**
* Constructs a <code>BAD_TYPECODE</code> exception with a default
* Constructs a {@code BAD_TYPECODE} exception with a default
* minor code of 0 and a completion state of COMPLETED_NO.
*/
public BAD_TYPECODE() {
@@ -48,7 +48,7 @@ public final class BAD_TYPECODE extends SystemException {
}
/**
* Constructs a <code>BAD_TYPECODE</code> exception with the specified detail,
* Constructs a {@code BAD_TYPECODE} exception with the specified detail,
* a minor code of 0, and a completion state of COMPLETED_NO.
*
* @param s the String containing a detail message
@@ -58,10 +58,10 @@ public final class BAD_TYPECODE extends SystemException {
}
/**
* Constructs a <code>BAD_TYPECODE</code> exception with the specified
* Constructs a {@code BAD_TYPECODE} exception with the specified
* minor code and completion status.
* @param minor the minor code
* @param completed an instance of <code>CompletionStatus</code> indicating
* @param completed an instance of {@code CompletionStatus} indicating
* the completion status
*/
public BAD_TYPECODE(int minor, CompletionStatus completed) {
@@ -69,12 +69,12 @@ public final class BAD_TYPECODE extends SystemException {
}
/**
* Constructs a <code>BAD_TYPECODE</code> exception with the specified detail
* Constructs a {@code BAD_TYPECODE} exception with the specified detail
* message, minor code, and completion status.
* A detail message is a String that describes this particular exception.
* @param s the String containing a detail message
* @param minor the minor code
* @param completed an instance of <code>CompletionStatus</code> indicating
* @param completed an instance of {@code CompletionStatus} indicating
* the completion status
*/
public BAD_TYPECODE(String s, int minor, CompletionStatus completed) {

View File

@@ -30,56 +30,56 @@ import org.omg.CORBA.portable.OutputStream;
/**
* The Holder for <tt>Boolean</tt>. For more information on
* The Holder for {@code Boolean}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* A Holder class for a <code>boolean</code>
* A Holder class for a {@code boolean}
* that is used to store "out" and "inout" parameters in IDL methods.
* If an IDL method signature has an IDL <code>boolean</code> as an "out"
* If an IDL method signature has an IDL {@code boolean} as an "out"
* or "inout" parameter, the programmer must pass an instance of
* <code>BooleanHolder</code> as the corresponding
* {@code BooleanHolder} as the corresponding
* parameter in the method invocation; for "inout" parameters, the programmer
* must also fill the "in" value to be sent to the server.
* Before the method invocation returns, the ORB will fill in the
* value corresponding to the "out" value returned from the server.
* <P>
* If <code>myBooleanHolder</code> is an instance of <code>BooleanHolder</code>,
* the value stored in its <code>value</code> field can be accessed with
* <code>myBooleanHolder.value</code>.
* If {@code myBooleanHolder} is an instance of {@code BooleanHolder},
* the value stored in its {@code value} field can be accessed with
* {@code myBooleanHolder.value}.
*
* @since JDK1.2
*/
public final class BooleanHolder implements Streamable {
/**
* The <code>boolean</code> value held by this <code>BooleanHolder</code>
* The {@code boolean} value held by this {@code BooleanHolder}
* object.
*/
public boolean value;
/**
* Constructs a new <code>BooleanHolder</code> object with its
* <code>value</code> field initialized to <code>false</code>.
* Constructs a new {@code BooleanHolder} object with its
* {@code value} field initialized to {@code false}.
*/
public BooleanHolder() {
}
/**
* Constructs a new <code>BooleanHolder</code> object with its
* <code>value</code> field initialized with the given <code>boolean</code>.
* @param initial the <code>boolean</code> with which to initialize
* the <code>value</code> field of the newly-created
* <code>BooleanHolder</code> object
* Constructs a new {@code BooleanHolder} object with its
* {@code value} field initialized with the given {@code boolean}.
* @param initial the {@code boolean} with which to initialize
* the {@code value} field of the newly-created
* {@code BooleanHolder} object
*/
public BooleanHolder(boolean initial) {
value = initial;
}
/**
* Reads unmarshalled data from <code>input</code> and assigns it to this
* <code>BooleanHolder</code> object's <code>value</code> field.
* Reads unmarshalled data from {@code input} and assigns it to this
* {@code BooleanHolder} object's {@code value} field.
*
* @param input the <code>InputStream</code> object containing
* @param input the {@code InputStream} object containing
* CDR formatted data from the wire
*/
public void _read(InputStream input) {
@@ -87,8 +87,8 @@ public final class BooleanHolder implements Streamable {
}
/**
* Marshals the value in this <code>BooleanHolder</code> object's
* <code>value</code> field to the output stream <code>output</code>.
* Marshals the value in this {@code BooleanHolder} object's
* {@code value} field to the output stream {@code output}.
*
* @param output the OutputStream which will contain the CDR formatted data
*/
@@ -97,11 +97,11 @@ public final class BooleanHolder implements Streamable {
}
/**
* Retrieves the <code>TypeCode</code> object that corresponds to the
* value held in this <code>BooleanHolder</code> object.
* Retrieves the {@code TypeCode} object that corresponds to the
* value held in this {@code BooleanHolder} object.
*
* @return the <code>TypeCode</code> for the value held
* in this <code>BooleanHolder</code> object
* @return the {@code TypeCode} for the value held
* in this {@code BooleanHolder} object
*/
public TypeCode _type() {
return ORB.init().get_primitive_tc(TCKind.tk_boolean);

View File

@@ -26,26 +26,26 @@ package org.omg.CORBA;
/**
* The Helper for <tt>BooleanSeq</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/BooleanSeqHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*
* The class definition has been modified to conform to the following
* OMG specifications :
* <ul>
* <li> ORB core as defined by CORBA 2.3.1
* (<a href="http://www.omg.org/cgi-bin/doc?formal/99-10-07">formal/99-10-07</a>)
* </li>
*
* <li> IDL/Java Language Mapping as defined in
* <a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">ptc/00-01-08</a>
* </li>
* </ul>
*/
* The Helper for {@code BooleanSeq}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/BooleanSeqHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*
* The class definition has been modified to conform to the following
* OMG specifications :
* <ul>
* <li> ORB core as defined by CORBA 2.3.1
* (<a href="http://www.omg.org/cgi-bin/doc?formal/99-10-07">formal/99-10-07</a>)
* </li>
*
* <li> IDL/Java Language Mapping as defined in
* <a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">ptc/00-01-08</a>
* </li>
* </ul>
*/
public abstract class BooleanSeqHelper
{

View File

@@ -26,14 +26,14 @@ package org.omg.CORBA;
/**
* The Holder for <tt>BooleanSeq</tt>. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/BooleanSeqHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*/
* The Holder for {@code BooleanSeq}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/BooleanSeqHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*/
public final class BooleanSeqHolder implements org.omg.CORBA.portable.Streamable
{

View File

@@ -31,54 +31,54 @@ import org.omg.CORBA.portable.InputStream;
import org.omg.CORBA.portable.OutputStream;
/**
* The Holder for <tt>Byte</tt>. For more information on
* The Holder for {@code Byte}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* A Holder class for a <code>byte</code>
* A Holder class for a {@code byte}
* that is used to store "out" and "inout" parameters in IDL methods.
* If an IDL method signature has an IDL <code>octet</code> as an "out"
* If an IDL method signature has an IDL {@code octet} as an "out"
* or "inout" parameter, the programmer must pass an instance of
* <code>ByteHolder</code> as the corresponding
* {@code ByteHolder} as the corresponding
* parameter in the method invocation; for "inout" parameters, the programmer
* must also fill the "in" value to be sent to the server.
* Before the method invocation returns, the ORB will fill in the
* value corresponding to the "out" value returned from the server.
* <P>
* If <code>myByteHolder</code> is an instance of <code>ByteHolder</code>,
* the value stored in its <code>value</code> field can be accessed with
* <code>myByteHolder.value</code>.
* If {@code myByteHolder} is an instance of {@code ByteHolder},
* the value stored in its {@code value} field can be accessed with
* {@code myByteHolder.value}.
*
* @since JDK1.2
*/
public final class ByteHolder implements Streamable {
/**
* The <code>byte</code> value held by this <code>ByteHolder</code>
* The {@code byte} value held by this {@code ByteHolder}
* object.
*/
public byte value;
/**
* Constructs a new <code>ByteHolder</code> object with its
* <code>value</code> field initialized to 0.
* Constructs a new {@code ByteHolder} object with its
* {@code value} field initialized to 0.
*/
public ByteHolder() {
}
/**
* Constructs a new <code>ByteHolder</code> object for the given
* <code>byte</code>.
* @param initial the <code>byte</code> with which to initialize
* the <code>value</code> field of the new
* <code>ByteHolder</code> object
* Constructs a new {@code ByteHolder} object for the given
* {@code byte}.
* @param initial the {@code byte} with which to initialize
* the {@code value} field of the new
* {@code ByteHolder} object
*/
public ByteHolder(byte initial) {
value = initial;
}
/**
* Reads from <code>input</code> and initalizes the value in
* this <code>ByteHolder</code> object
* Reads from {@code input} and initalizes the value in
* this {@code ByteHolder} object
* with the unmarshalled data.
*
* @param input the InputStream containing CDR formatted data from the wire.
@@ -88,8 +88,8 @@ public final class ByteHolder implements Streamable {
}
/**
* Marshals to <code>output</code> the value in
* this <code>ByteHolder</code> object.
* Marshals to {@code output} the value in
* this {@code ByteHolder} object.
*
* @param output the OutputStream which will contain the CDR formatted data.
*/
@@ -99,10 +99,10 @@ public final class ByteHolder implements Streamable {
/**
* Returns the TypeCode corresponding to the value held in
* this <code>ByteHolder</code> object.
* this {@code ByteHolder} object.
*
* @return the TypeCode of the value held in
* this <code>ByteHolder</code> object
* @return the TypeCode of the value held in
* this {@code ByteHolder} object
*/
public org.omg.CORBA.TypeCode _type() {
return ORB.init().get_primitive_tc(TCKind.tk_octet);

View File

@@ -31,54 +31,54 @@ import org.omg.CORBA.portable.InputStream;
import org.omg.CORBA.portable.OutputStream;
/**
* The Holder for <tt>Char</tt>. For more information on
* The Holder for {@code Char}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* A Holder class for a <code>char</code>
* A Holder class for a {@code char}
* that is used to store "out" and "inout" parameters in IDL methods.
* If an IDL method signature has an IDL <code>char</code> as an "out"
* If an IDL method signature has an IDL {@code char} as an "out"
* or "inout" parameter, the programmer must pass an instance of
* <code>CharHolder</code> as the corresponding
* {@code CharHolder} as the corresponding
* parameter in the method invocation; for "inout" parameters, the programmer
* must also fill the "in" value to be sent to the server.
* Before the method invocation returns, the ORB will fill in the
* value corresponding to the "out" value returned from the server.
* <P>
* If <code>myCharHolder</code> is an instance of <code>CharHolder</code>,
* the value stored in its <code>value</code> field can be accessed with
* <code>myCharHolder.value</code>.
* If {@code myCharHolder} is an instance of {@code CharHolder},
* the value stored in its {@code value} field can be accessed with
* {@code myCharHolder.value}.
*
* @since JDK1.2
*/
public final class CharHolder implements Streamable {
/**
* The <code>char</code> value held by this <code>CharHolder</code>
* The {@code char} value held by this {@code CharHolder}
* object.
*/
public char value;
/**
* Constructs a new <code>CharHolder</code> object with its
* <code>value</code> field initialized to <code>0</code>.
* Constructs a new {@code CharHolder} object with its
* {@code value} field initialized to {@code 0}.
*/
public CharHolder() {
}
/**
* Constructs a new <code>CharHolder</code> object for the given
* <code>char</code>.
* @param initial the <code>char</code> with which to initialize
* the <code>value</code> field of the new
* <code>CharHolder</code> object
* Constructs a new {@code CharHolder} object for the given
* {@code char}.
* @param initial the {@code char} with which to initialize
* the {@code value} field of the new
* {@code CharHolder} object
*/
public CharHolder(char initial) {
value = initial;
}
/**
* Reads from <code>input</code> and initalizes the value in
* this <code>CharHolder</code> object
* Reads from {@code input} and initalizes the value in
* this {@code CharHolder} object
* with the unmarshalled data.
*
* @param input the InputStream containing CDR formatted data from the wire
@@ -88,8 +88,8 @@ public final class CharHolder implements Streamable {
}
/**
* Marshals to <code>output</code> the value in
* this <code>CharHolder</code> object.
* Marshals to {@code output} the value in
* this {@code CharHolder} object.
*
* @param output the OutputStream which will contain the CDR formatted data
*/
@@ -98,12 +98,12 @@ public final class CharHolder implements Streamable {
}
/**
* Returns the <code>TypeCode</code> object corresponding
* Returns the {@code TypeCode} object corresponding
* to the value held in
* this <code>CharHolder</code> object.
* this {@code CharHolder} object.
*
* @return the TypeCode of the value held in
* this <code>CharHolder</code> object
* this {@code CharHolder} object
*/
public org.omg.CORBA.TypeCode _type() {
return ORB.init().get_primitive_tc(TCKind.tk_char);

View File

@@ -26,26 +26,26 @@ package org.omg.CORBA;
/**
* The Helper for <tt>CharSeq</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/CharSeqHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*
* The class definition has been modified to conform to the following
* OMG specifications :
* <ul>
* <li> ORB core as defined by CORBA 2.3.1
* (<a href="http://www.omg.org/cgi-bin/doc?formal/99-10-07">formal/99-10-07</a>)
* </li>
*
* <li> IDL/Java Language Mapping as defined in
* <a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">ptc/00-01-08</a>
* </li>
* </ul>
*/
* The Helper for {@code CharSeq}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/CharSeqHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*
* The class definition has been modified to conform to the following
* OMG specifications :
* <ul>
* <li> ORB core as defined by CORBA 2.3.1
* (<a href="http://www.omg.org/cgi-bin/doc?formal/99-10-07">formal/99-10-07</a>)
* </li>
*
* <li> IDL/Java Language Mapping as defined in
* <a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">ptc/00-01-08</a>
* </li>
* </ul>
*/
public abstract class CharSeqHelper
{

View File

@@ -26,14 +26,14 @@ package org.omg.CORBA;
/**
* The Holder for <tt>CharSeq</tt>. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/CharSeqHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*/
* The Holder for {@code CharSeq}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/CharSeqHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*/
public final class CharSeqHolder implements org.omg.CORBA.portable.Streamable
{

View File

@@ -26,13 +26,13 @@ package org.omg.CORBA;
/**
* The Helper for <tt>CompletionStatus</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/CompletionStatusHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* 03 June 1999 11:52:03 o'clock GMT+00:00
*/
* The Helper for {@code CompletionStatus}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/CompletionStatusHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* 03 June 1999 11:52:03 o'clock GMT+00:00
*/
abstract public class CompletionStatusHelper
{

View File

@@ -26,16 +26,16 @@ package org.omg.CORBA;
/**
* Interfaces derived from the <tt>Current</tt> interface enable ORB and CORBA
* Interfaces derived from the {@code Current} interface enable ORB and CORBA
* services to provide access to information (context) associated with
* the thread of execution in which they are running. This information
* is accessed in a structured manner using interfaces derived from the
* <tt>Current</tt> interface defined in the CORBA module.
* {@code Current} interface defined in the CORBA module.
*
* <P>Each ORB or CORBA service that needs its own context derives an
* interface from the CORBA module's <tt>Current</tt>. Users of the
* service can obtain an instance of the appropriate <tt>Current</tt>
* interface by invoking <tt>ORB::resolve_initial_references</tt>.<P>
* interface from the CORBA module's {@code Current}. Users of the
* service can obtain an instance of the appropriate {@code Current}
* interface by invoking {@code ORB::resolve_initial_references}.<P>
*
* org/omg/CORBA/Current.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"

View File

@@ -26,14 +26,14 @@ package org.omg.CORBA;
/**
* The Helper for <tt>Current</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/CurrentHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl
* Saturday, July 17, 1999 12:26:21 AM PDT
*/
* The Helper for {@code Current}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/CurrentHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl
* Saturday, July 17, 1999 12:26:21 AM PDT
*/
abstract public class CurrentHelper
{

View File

@@ -25,14 +25,14 @@
package org.omg.CORBA;
/**
* The Holder for <tt>Current</tt>. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/CurrentHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl
* Saturday, July 17, 1999 12:26:21 AM PDT
*/
* The Holder for {@code Current}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/CurrentHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl
* Saturday, July 17, 1999 12:26:21 AM PDT
*/
public final class CurrentHolder implements org.omg.CORBA.portable.Streamable
{

View File

@@ -26,15 +26,15 @@ package org.omg.CORBA;
/**
* The interface for <tt>Current</tt>. For more information on
* Operations interfaces, see <a href="doc-files/generatedfiles.html">
* "Generated Files"</a>.
*
* org/omg/CORBA/CurrentOperations.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl
* Saturday, July 17, 1999 12:26:21 AM PDT.
*/
* The interface for {@code Current}. For more information on
* Operations interfaces, see <a href="doc-files/generatedfiles.html">
* "Generated Files"</a>.
*
* org/omg/CORBA/CurrentOperations.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl
* Saturday, July 17, 1999 12:26:21 AM PDT.
*/
public interface CurrentOperations
{

View File

@@ -34,7 +34,7 @@ import org.omg.CORBA.DataInputStream;
* as a custom value type's implicit base class, although the custom
* valuetype does not actually inherit it in IDL. The implementer
* of a custom value type shall provide an implementation of the
* <tt>CustomMarshal</tt> operations. The manner in which this is done is
* {@code CustomMarshal} operations. The manner in which this is done is
* specified in the IDL to Java langauge mapping. Each custom
* marshaled value type shall have its own implementation.
* @see DataInputStream

View File

@@ -26,14 +26,14 @@ package org.omg.CORBA;
/**
* The Helper for <tt>DefinitionKind</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/DefinitionKindHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ir.idl
* 03 June 1999 11:33:43 o'clock GMT+00:00
*/
* The Helper for {@code DefinitionKind}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/DefinitionKindHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ir.idl
* 03 June 1999 11:33:43 o'clock GMT+00:00
*/
abstract public class DefinitionKindHelper
{

View File

@@ -25,11 +25,12 @@
package org.omg.CORBA;
/** Provides mechanisms for establishing and navigating relationships to
/**
* Provides mechanisms for establishing and navigating relationships to
* superior and subordinate domains, as well as for creating and accessing
* policies. The <tt>DomainManager</tt> has associated with it the policy
* objects for a
* particular domain. The domain manager also records the membership of
* policies. The {@code DomainManager} has associated with it the policy
* objects for a particular domain.
* The domain manager also records the membership of
* the domain and provides the means to add and remove members. The domain
* manager is itself a member of a domain, possibly the domain it manages.
* The domain manager provides mechanisms for establishing and navigating

View File

@@ -26,9 +26,9 @@
package org.omg.CORBA;
/**
* Provides the <tt>DomainManager</tt> with the means to access policies.
* Provides the {@code DomainManager} with the means to access policies.
* <P>
* The <tt>DomainManager</tt> has associated with it the policy objects for a
* The {@code DomainManager} has associated with it the policy objects for a
* particular domain. The domain manager also records the membership of
* the domain and provides the means to add and remove members. The domain
* manager is itself a member of a domain, possibly the domain it manages.
@@ -39,11 +39,12 @@ package org.omg.CORBA;
public interface DomainManagerOperations
{
/** This returns the policy of the specified type for objects in
/**
* This returns the policy of the specified type for objects in
* this domain. The types of policies available are domain specific.
* See the CORBA specification for a list of standard ORB policies.
*
*@param policy_type Type of policy to request
* @param policy_type Type of policy to request
*/
public org.omg.CORBA.Policy get_domain_policy(int policy_type);
}

View File

@@ -30,47 +30,47 @@ import org.omg.CORBA.portable.InputStream;
import org.omg.CORBA.portable.OutputStream;
/**
* The Holder for <tt>Double</tt>. For more information on
* The Holder for {@code Double}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* A Holder class for a <code>double</code>
* A Holder class for a {@code double}
* that is used to store "out" and "inout" parameters in IDL methods.
* If an IDL method signature has an IDL <code>double</code> as an "out"
* If an IDL method signature has an IDL {@code double} as an "out"
* or "inout" parameter, the programmer must pass an instance of
* <code>DoubleHolder</code> as the corresponding
* {@code DoubleHolder} as the corresponding
* parameter in the method invocation; for "inout" parameters, the programmer
* must also fill the "in" value to be sent to the server.
* Before the method invocation returns, the ORB will fill in the
* value corresponding to the "out" value returned from the server.
* <P>
* If <code>myDoubleHolder</code> is an instance of <code>DoubleHolder</code>,
* the value stored in its <code>value</code> field can be accessed with
* <code>myDoubleHolder.value</code>.
* If {@code myDoubleHolder} is an instance of {@code DoubleHolder},
* the value stored in its {@code value} field can be accessed with
* {@code myDoubleHolder.value}.
*
* @since JDK1.2
*/
public final class DoubleHolder implements Streamable {
/**
* The <code>double</code> value held by this <code>DoubleHolder</code>
* The {@code double} value held by this {@code DoubleHolder}
* object.
*/
public double value;
/**
* Constructs a new <code>DoubleHolder</code> object with its
* <code>value</code> field initialized to 0.0.
* Constructs a new {@code DoubleHolder} object with its
* {@code value} field initialized to 0.0.
*/
public DoubleHolder() {
}
/**
* Constructs a new <code>DoubleHolder</code> object for the given
* <code>double</code>.
* @param initial the <code>double</code> with which to initialize
* the <code>value</code> field of the new
* <code>DoubleHolder</code> object
* Constructs a new {@code DoubleHolder} object for the given
* {@code double}.
* @param initial the {@code double} with which to initialize
* the {@code value} field of the new
* {@code DoubleHolder} object
*/
public DoubleHolder(double initial) {
value = initial;
@@ -80,7 +80,7 @@ public final class DoubleHolder implements Streamable {
* Read a double value from the input stream and store it in the
* value member.
*
* @param input the <code>InputStream</code> to read from.
* @param input the {@code InputStream} to read from.
*/
public void _read(InputStream input) {
value = input.read_double();
@@ -88,18 +88,18 @@ public final class DoubleHolder implements Streamable {
/**
* Write the double value stored in this holder to an
* <code>OutputStream</code>.
* {@code OutputStream}.
*
* @param output the <code>OutputStream</code> to write into.
* @param output the {@code OutputStream} to write into.
*/
public void _write(OutputStream output) {
output.write_double(value);
}
/**
* Return the <code>TypeCode</code> of this holder object.
* Return the {@code TypeCode} of this holder object.
*
* @return the <code>TypeCode</code> object.
* @return the {@code TypeCode} object.
*/
public org.omg.CORBA.TypeCode _type() {
return ORB.init().get_primitive_tc(TCKind.tk_double);

View File

@@ -26,26 +26,26 @@ package org.omg.CORBA;
/**
* The Helper for <tt>DoubleSeq</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/DoubleSeqHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:37 o'clock GMT+00:00
*
* The class definition has been modified to conform to the following
* OMG specifications :
* <ul>
* <li> ORB core as defined by CORBA 2.3.1
* (<a href="http://www.omg.org/cgi-bin/doc?formal/99-10-07">formal/99-10-07</a>)
* </li>
*
* <li> IDL/Java Language Mapping as defined in
* <a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">ptc/00-01-08</a>
* </li>
* </ul>
*/
* The Helper for {@code DoubleSeq}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/DoubleSeqHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:37 o'clock GMT+00:00
*
* The class definition has been modified to conform to the following
* OMG specifications :
* <ul>
* <li> ORB core as defined by CORBA 2.3.1
* (<a href="http://www.omg.org/cgi-bin/doc?formal/99-10-07">formal/99-10-07</a>)
* </li>
*
* <li> IDL/Java Language Mapping as defined in
* <a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">ptc/00-01-08</a>
* </li>
* </ul>
*/
public abstract class DoubleSeqHelper
{

View File

@@ -26,14 +26,14 @@ package org.omg.CORBA;
/**
* The Holder for <tt>DoubleSeq</tt>. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/DoubleSeqHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:37 o'clock GMT+00:00
*/
* The Holder for {@code DoubleSeq}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/DoubleSeqHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:37 o'clock GMT+00:00
*/
public final class DoubleSeqHolder implements org.omg.CORBA.portable.Streamable
{

View File

@@ -27,367 +27,368 @@
package org.omg.CORBA;
/** Enables <tt>org.omg.CORBA.Any</tt> values to be dynamically
/**
* Enables {@code org.omg.CORBA.Any} values to be dynamically
* interpreted (traversed) and
* constructed. A <tt>DynAny</tt> object is associated with a data value
* which may correspond to a copy of the value inserted into an <tt>Any</tt>.
* The <tt>DynAny</tt> APIs enable traversal of the data value associated with an
* Any at runtime and extraction of the primitive constituents of the
* data value.
* constructed. A {@code DynAny} object is associated with a data value
* which may correspond to a copy of the value inserted into an {@code Any}.
* The {@code DynAny} APIs enable traversal of the data value associated with an
* Any at runtime and extraction of the primitive constituents of the
* data value.
* @deprecated Use the new <a href="../DynamicAny/DynAny.html">DynAny</a> instead
*/
@Deprecated
public interface DynAny extends org.omg.CORBA.Object
{
/**
* Returns the <code>TypeCode</code> of the object inserted into
* this <code>DynAny</code>.
* Returns the {@code TypeCode} of the object inserted into
* this {@code DynAny}.
*
* @return the <code>TypeCode</code> object.
* @return the {@code TypeCode} object.
*/
public org.omg.CORBA.TypeCode type() ;
/**
* Copy the contents from one Dynamic Any into another.
*
* @param dyn_any the <code>DynAny</code> object whose contents
* are assigned to this <code>DynAny</code>.
* @param dyn_any the {@code DynAny} object whose contents
* are assigned to this {@code DynAny}.
* @throws org.omg.CORBA.DynAnyPackage.Invalid if the source
* <code>DynAny</code> is invalid
* {@code DynAny} is invalid
*/
public void assign(org.omg.CORBA.DynAny dyn_any)
throws org.omg.CORBA.DynAnyPackage.Invalid;
/**
* Make a <code>DynAny</code> object from an <code>Any</code>
* Make a {@code DynAny} object from an {@code Any}
* object.
*
* @param value the <code>Any</code> object.
* @param value the {@code Any} object.
* @throws org.omg.CORBA.DynAnyPackage.Invalid if the source
* <code>Any</code> object is empty or bad
* {@code Any} object is empty or bad
*/
public void from_any(org.omg.CORBA.Any value)
throws org.omg.CORBA.DynAnyPackage.Invalid;
/**
* Convert a <code>DynAny</code> object to an <code>Any</code>
* Convert a {@code DynAny} object to an {@code Any}
* object.
*
* @return the <code>Any</code> object.
* @return the {@code Any} object.
* @throws org.omg.CORBA.DynAnyPackage.Invalid if this
* <code>DynAny</code> is empty or bad.
* {@code DynAny} is empty or bad.
* created or does not contain a meaningful value
*/
public org.omg.CORBA.Any to_any()
throws org.omg.CORBA.DynAnyPackage.Invalid;
/**
* Destroys this <code>DynAny</code> object and frees any resources
* Destroys this {@code DynAny} object and frees any resources
* used to represent the data value associated with it. This method
* also destroys all <code>DynAny</code> objects obtained from it.
* also destroys all {@code DynAny} objects obtained from it.
* <p>
* Destruction of <code>DynAny</code> objects should be handled with
* Destruction of {@code DynAny} objects should be handled with
* care, taking into account issues dealing with the representation of
* data values associated with <code>DynAny</code> objects. A programmer
* who wants to destroy a <code>DynAny</code> object but still be able
* data values associated with {@code DynAny} objects. A programmer
* who wants to destroy a {@code DynAny} object but still be able
* to manipulate some component of the data value associated with it,
* should first create a <code>DynAny</code> object for the component
* and then make a copy of the created <code>DynAny</code> object.
* should first create a {@code DynAny} object for the component
* and then make a copy of the created {@code DynAny} object.
*/
public void destroy() ;
/**
* Clones this <code>DynAny</code> object.
* Clones this {@code DynAny} object.
*
* @return a copy of this <code>DynAny</code> object
* @return a copy of this {@code DynAny} object
*/
public org.omg.CORBA.DynAny copy() ;
/**
* Inserts the given <code>boolean</code> as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code boolean} as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>boolean</code> to insert into this
* <code>DynAny</code> object
* @param value the {@code boolean} to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_boolean(boolean value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
/**
* Inserts the given <code>byte</code> as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code byte} as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>byte</code> to insert into this
* <code>DynAny</code> object
* @param value the {@code byte} to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_octet(byte value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
/**
* Inserts the given <code>char</code> as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code char} as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>char</code> to insert into this
* <code>DynAny</code> object
* @param value the {@code char} to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_char(char value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
/**
* Inserts the given <code>short</code> as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code short} as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>short</code> to insert into this
* <code>DynAny</code> object
* @param value the {@code short} to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_short(short value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
/**
* Inserts the given <code>short</code> as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code short} as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>short</code> to insert into this
* <code>DynAny</code> object
* @param value the {@code short} to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_ushort(short value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
/**
* Inserts the given <code>int</code> as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code int} as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>int</code> to insert into this
* <code>DynAny</code> object
* @param value the {@code int} to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_long(int value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
/**
* Inserts the given <code>int</code> as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code int} as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>int</code> to insert into this
* <code>DynAny</code> object
* @param value the {@code int} to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_ulong(int value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
/**
* Inserts the given <code>float</code> as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code float} as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>float</code> to insert into this
* <code>DynAny</code> object
* @param value the {@code float} to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_float(float value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
/**
* Inserts the given <code>double</code> as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code double} as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>double</code> to insert into this
* <code>DynAny</code> object
* @param value the {@code double} to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_double(double value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
/**
* Inserts the given <code>String</code> object as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code String} object as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>String</code> to insert into this
* <code>DynAny</code> object
* @param value the {@code String} to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_string(String value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
/**
* Inserts the given <code>org.omg.CORBA.Object</code> as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code org.omg.CORBA.Object} as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>org.omg.CORBA.Object</code> to insert into this
* <code>DynAny</code> object
* @param value the {@code org.omg.CORBA.Object} to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_reference(org.omg.CORBA.Object value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
/**
* Inserts the given <code>org.omg.CORBA.TypeCode</code> as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code org.omg.CORBA.TypeCode} as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>org.omg.CORBA.TypeCode</code> to insert into this
* <code>DynAny</code> object
* @param value the {@code org.omg.CORBA.TypeCode} to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_typecode(org.omg.CORBA.TypeCode value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
/**
* Inserts the given <code>long</code> as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code long} as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>long</code> to insert into this
* <code>DynAny</code> object
* @param value the {@code long} to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_longlong(long value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
/**
* Inserts the given <code>long</code> as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code long} as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>long</code> to insert into this
* <code>DynAny</code> object
* @param value the {@code long} to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_ulonglong(long value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
/**
* Inserts the given <code>char</code> as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code char} as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>char</code> to insert into this
* <code>DynAny</code> object
* @param value the {@code char} to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_wchar(char value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
/**
* Inserts the given <code>String</code> as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code String} as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>String</code> to insert into this
* <code>DynAny</code> object
* @param value the {@code String} to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_wstring(String value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
/**
* Inserts the given <code>org.omg.CORBA.Any</code> object as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code org.omg.CORBA.Any} object as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>org.omg.CORBA.Any</code> object to insert into this
* <code>DynAny</code> object
* @param value the {@code org.omg.CORBA.Any} object to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_any(org.omg.CORBA.Any value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
@@ -395,32 +396,32 @@ public interface DynAny extends org.omg.CORBA.Object
// orbos 98-01-18: Objects By Value -- begin
/**
* Inserts the given <code>java.io.Serializable</code> object as the value for this
* <code>DynAny</code> object.
* Inserts the given {@code java.io.Serializable} object as the value for this
* {@code DynAny} object.
*
* <p> If this method is called on a constructed <code>DynAny</code>
* <p> If this method is called on a constructed {@code DynAny}
* object, it initializes the next component of the constructed data
* value associated with this <code>DynAny</code> object.
* value associated with this {@code DynAny} object.
*
* @param value the <code>java.io.Serializable</code> object to insert into this
* <code>DynAny</code> object
* @param value the {@code java.io.Serializable} object to insert into this
* {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.InvalidValue
* if the value inserted is not consistent with the type
* of the accessed component in this <code>DynAny</code> object
* of the accessed component in this {@code DynAny} object
*/
public void insert_val(java.io.Serializable value)
throws org.omg.CORBA.DynAnyPackage.InvalidValue;
/**
* Retrieves the <code>java.io.Serializable</code> object contained
* in this <code>DynAny</code> object.
* Retrieves the {@code java.io.Serializable} object contained
* in this {@code DynAny} object.
*
* @return the <code>java.io.Serializable</code> object that is the
* value for this <code>DynAny</code> object
* @return the {@code java.io.Serializable} object that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for a <code>java.io.Serializable</code> object
* {@code DynAny} object is not equivalent to
* the type code for a {@code java.io.Serializable} object
*/
public java.io.Serializable get_val()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
@@ -428,284 +429,284 @@ public interface DynAny extends org.omg.CORBA.Object
// orbos 98-01-18: Objects By Value -- end
/**
* Retrieves the <code>boolean</code> contained
* in this <code>DynAny</code> object.
* Retrieves the {@code boolean} contained
* in this {@code DynAny} object.
*
* @return the <code>boolean</code> that is the
* value for this <code>DynAny</code> object
* @return the {@code boolean} that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for a <code>boolean</code>
* {@code DynAny} object is not equivalent to
* the type code for a {@code boolean}
*/
public boolean get_boolean()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
/**
* Retrieves the <code>byte</code> contained
* in this <code>DynAny</code> object.
* Retrieves the {@code byte} contained
* in this {@code DynAny} object.
*
* @return the <code>byte</code> that is the
* value for this <code>DynAny</code> object
* @return the {@code byte} that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for a <code>byte</code>
* {@code DynAny} object is not equivalent to
* the type code for a {@code byte}
*/
public byte get_octet()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
/**
* Retrieves the <code>char</code> contained
* in this <code>DynAny</code> object.
* Retrieves the {@code char} contained
* in this {@code DynAny} object.
*
* @return the <code>char</code> that is the
* value for this <code>DynAny</code> object
* @return the {@code char} that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for a <code>char</code>
* {@code DynAny} object is not equivalent to
* the type code for a {@code char}
*/
public char get_char()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
/**
* Retrieves the <code>short</code> contained
* in this <code>DynAny</code> object.
* Retrieves the {@code short} contained
* in this {@code DynAny} object.
*
* @return the <code>short</code> that is the
* value for this <code>DynAny</code> object
* @return the {@code short} that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for a <code>short</code>
* {@code DynAny} object is not equivalent to
* the type code for a {@code short}
*/
public short get_short()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
/**
* Retrieves the <code>short</code> contained
* in this <code>DynAny</code> object.
* Retrieves the {@code short} contained
* in this {@code DynAny} object.
*
* @return the <code>short</code> that is the
* value for this <code>DynAny</code> object
* @return the {@code short} that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for a <code>short</code>
* {@code DynAny} object is not equivalent to
* the type code for a {@code short}
*/
public short get_ushort()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
/**
* Retrieves the <code>int</code> contained
* in this <code>DynAny</code> object.
* Retrieves the {@code int} contained
* in this {@code DynAny} object.
*
* @return the <code>int</code> that is the
* value for this <code>DynAny</code> object
* @return the {@code int} that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for a <code>int</code>
* {@code DynAny} object is not equivalent to
* the type code for a {@code int}
*/
public int get_long()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
/**
* Retrieves the <code>int</code> contained
* in this <code>DynAny</code> object.
* Retrieves the {@code int} contained
* in this {@code DynAny} object.
*
* @return the <code>int</code> that is the
* value for this <code>DynAny</code> object
* @return the {@code int} that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for a <code>int</code>
* {@code DynAny} object is not equivalent to
* the type code for a {@code int}
*/
public int get_ulong()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
/**
* Retrieves the <code>float</code> contained
* in this <code>DynAny</code> object.
* Retrieves the {@code float} contained
* in this {@code DynAny} object.
*
* @return the <code>float</code> that is the
* value for this <code>DynAny</code> object
* @return the {@code float} that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for a <code>float</code>
* {@code DynAny} object is not equivalent to
* the type code for a {@code float}
*/
public float get_float()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
/**
* Retrieves the <code>double</code> contained
* in this <code>DynAny</code> object.
* Retrieves the {@code double} contained
* in this {@code DynAny} object.
*
* @return the <code>double</code> that is the
* value for this <code>DynAny</code> object
* @return the {@code double} that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for a <code>double</code>
* {@code DynAny} object is not equivalent to
* the type code for a {@code double}
*/
public double get_double()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
/**
* Retrieves the <code>String</code> contained
* in this <code>DynAny</code> object.
* Retrieves the {@code String} contained
* in this {@code DynAny} object.
*
* @return the <code>String</code> that is the
* value for this <code>DynAny</code> object
* @return the {@code String} that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for a <code>String</code>
* {@code DynAny} object is not equivalent to
* the type code for a {@code String}
*/
public String get_string()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
/**
* Retrieves the <code>org.omg.CORBA.Other</code> contained
* in this <code>DynAny</code> object.
* Retrieves the {@code org.omg.CORBA.Other} contained
* in this {@code DynAny} object.
*
* @return the <code>org.omg.CORBA.Other</code> that is the
* value for this <code>DynAny</code> object
* @return the {@code org.omg.CORBA.Other} that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for an <code>org.omg.CORBA.Other</code>
* {@code DynAny} object is not equivalent to
* the type code for an {@code org.omg.CORBA.Other}
*/
public org.omg.CORBA.Object get_reference()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
/**
* Retrieves the <code>org.omg.CORBA.TypeCode</code> contained
* in this <code>DynAny</code> object.
* Retrieves the {@code org.omg.CORBA.TypeCode} contained
* in this {@code DynAny} object.
*
* @return the <code>org.omg.CORBA.TypeCode</code> that is the
* value for this <code>DynAny</code> object
* @return the {@code org.omg.CORBA.TypeCode} that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for a <code>org.omg.CORBA.TypeCode</code>
* {@code DynAny} object is not equivalent to
* the type code for a {@code org.omg.CORBA.TypeCode}
*/
public org.omg.CORBA.TypeCode get_typecode()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
/**
* Retrieves the <code>long</code> contained
* in this <code>DynAny</code> object.
* Retrieves the {@code long} contained
* in this {@code DynAny} object.
*
* @return the <code>long</code> that is the
* value for this <code>DynAny</code> object
* @return the {@code long} that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for a <code>long</code>
* {@code DynAny} object is not equivalent to
* the type code for a {@code long}
*/
public long get_longlong()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
/**
* Retrieves the <code>long</code> contained
* in this <code>DynAny</code> object.
* Retrieves the {@code long} contained
* in this {@code DynAny} object.
*
* @return the <code>long</code> that is the
* value for this <code>DynAny</code> object
* @return the {@code long} that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for a <code>long</code>
* {@code DynAny} object is not equivalent to
* the type code for a {@code long}
*/
public long get_ulonglong()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
/**
* Retrieves the <code>char</code> contained
* in this <code>DynAny</code> object.
* Retrieves the {@code char} contained
* in this {@code DynAny} object.
*
* @return the <code>char</code> that is the
* value for this <code>DynAny</code> object
* @return the {@code char} that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for a <code>char</code>
* {@code DynAny} object is not equivalent to
* the type code for a {@code char}
*/
public char get_wchar()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
/**
* Retrieves the <code>String</code> contained
* in this <code>DynAny</code> object.
* Retrieves the {@code String} contained
* in this {@code DynAny} object.
*
* @return the <code>String</code> that is the
* value for this <code>DynAny</code> object
* @return the {@code String} that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for a <code>String</code>
* {@code DynAny} object is not equivalent to
* the type code for a {@code String}
*/
public String get_wstring()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
/**
* Retrieves the <code>org.omg.CORBA.Any</code> contained
* in this <code>DynAny</code> object.
* Retrieves the {@code org.omg.CORBA.Any} contained
* in this {@code DynAny} object.
*
* @return the <code>org.omg.CORBA.Any</code> that is the
* value for this <code>DynAny</code> object
* @return the {@code org.omg.CORBA.Any} that is the
* value for this {@code DynAny} object
* @throws org.omg.CORBA.DynAnyPackage.TypeMismatch
* if the type code of the accessed component in this
* <code>DynAny</code> object is not equivalent to
* the type code for an <code>org.omg.CORBA.Any</code>
* {@code DynAny} object is not equivalent to
* the type code for an {@code org.omg.CORBA.Any}
*/
public org.omg.CORBA.Any get_any()
throws org.omg.CORBA.DynAnyPackage.TypeMismatch;
/**
* Returns a <code>DynAny</code> object reference that can
* Returns a {@code DynAny} object reference that can
* be used to get/set the value of the component currently accessed.
* The appropriate <code>insert</code> method
* can be called on the resulting <code>DynAny</code> object
* The appropriate {@code insert} method
* can be called on the resulting {@code DynAny} object
* to initialize the component.
* The appropriate <code>get</code> method
* can be called on the resulting <code>DynAny</code> object
* The appropriate {@code get} method
* can be called on the resulting {@code DynAny} object
* to extract the value of the component.
*
* @return a <code>DynAny</code> object reference that can be
* @return a {@code DynAny} object reference that can be
* used to retrieve or set the value of the component currently
* accessed
*/
public org.omg.CORBA.DynAny current_component() ;
/**
* Moves to the next component of this <code>DynAny</code> object.
* Moves to the next component of this {@code DynAny} object.
* This method is used for iterating through the components of
* a constructed type, effectively moving a pointer from one
* component to the next. The pointer starts out on the first
* component when a <code>DynAny</code> object is created.
* component when a {@code DynAny} object is created.
*
* @return <code>true</code> if the pointer points to a component;
* <code>false</code> if there are no more components or this
* <code>DynAny</code> is associated with a basic type rather than
* @return {@code true} if the pointer points to a component;
* {@code false} if there are no more components or this
* {@code DynAny} is associated with a basic type rather than
* a constructed type
*/
public boolean next() ;
@@ -714,12 +715,12 @@ public interface DynAny extends org.omg.CORBA.Object
* Moves the internal pointer to the given index. Logically, this method
* sets a new offset for this pointer.
*
* @param index an <code>int</code> indicating the position to which
* @param index an {@code int} indicating the position to which
* the pointer should move. The first position is 0.
* @return <code>true</code> if the pointer points to a component;
* <code>false</code> if there is no component at the designated
* index. If this <code>DynAny</code> object is associated with a
* basic type, this method returns <code>false</code> for any index
* @return {@code true} if the pointer points to a component;
* {@code false} if there is no component at the designated
* index. If this {@code DynAny} object is associated with a
* basic type, this method returns {@code false} for any index
* other than 0.
*/
public boolean seek(int index) ;

View File

@@ -27,8 +27,9 @@
package org.omg.CORBA;
/** Represents a <tt>DynAny</tt> object associated
* with an array.
/**
* Represents a {@code DynAny} object associated with an array.
*
* @deprecated Use the new <a href="../DynamicAny/DynArray.html">DynArray</a> instead
*/
@Deprecated

View File

@@ -26,8 +26,9 @@
package org.omg.CORBA;
/** Represents a <tt>DynAny</tt> object associated
* with an IDL enum.
/**
* Represents a {@code DynAny} object associated with an IDL enum.
*
* @deprecated Use the new <a href="../DynamicAny/DynEnum.html">DynEnum</a> instead
*/
@Deprecated
@@ -35,14 +36,14 @@ public interface DynEnum extends org.omg.CORBA.Object, org.omg.CORBA.DynAny
{
/**
* Return the value of the IDL enum stored in this
* <code>DynEnum</code> as a string.
* {@code DynEnum} as a string.
*
* @return the stringified value.
*/
public String value_as_string();
/**
* Set a particular enum in this <code>DynEnum</code>.
* Set a particular enum in this {@code DynEnum}.
*
* @param arg the string corresponding to the value.
*/

View File

@@ -26,13 +26,13 @@ package org.omg.CORBA;
/**
* The Helper for <tt>FieldName</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/FieldNameHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* 03 June 1999 11:52:03 o'clock GMT+00:00
*/
* The Helper for {@code FieldName}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/FieldNameHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* 03 June 1999 11:52:03 o'clock GMT+00:00
*/
abstract public class FieldNameHelper
{

View File

@@ -31,7 +31,7 @@ import org.omg.CORBA.portable.OutputStream;
/**
* The Holder for <tt>Fixed</tt>. For more information on
* The Holder for {@code Fixed}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* FixedHolder is a container class for values of IDL type "fixed",
@@ -69,7 +69,7 @@ public final class FixedHolder implements Streamable {
* Read a fixed point value from the input stream and store it in
* the value member.
*
* @param input the <code>InputStream</code> to read from.
* @param input the {@code InputStream} to read from.
*/
public void _read(InputStream input) {
value = input.read_fixed();
@@ -77,9 +77,9 @@ public final class FixedHolder implements Streamable {
/**
* Write the fixed point value stored in this holder to an
* <code>OutputStream</code>.
* {@code OutputStream}.
*
* @param output the <code>OutputStream</code> to write into.
* @param output the {@code OutputStream} to write into.
*/
public void _write(OutputStream output) {
output.write_fixed(value);
@@ -87,9 +87,9 @@ public final class FixedHolder implements Streamable {
/**
* Return the <code>TypeCode</code> of this holder object.
* Return the {@code TypeCode} of this holder object.
*
* @return the <code>TypeCode</code> object.
* @return the {@code TypeCode} object.
*/
public org.omg.CORBA.TypeCode _type() {
return ORB.init().get_primitive_tc(TCKind.tk_fixed);

View File

@@ -31,45 +31,45 @@ import org.omg.CORBA.portable.OutputStream;
/**
* The Holder for <tt>Float</tt>. For more information on
* The Holder for {@code Float}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* A Holder class for a <code>float</code>
* A Holder class for a {@code float}
* that is used to store "out" and "inout" parameters in IDL methods.
* If an IDL method signature has an IDL <code>float</code> as an "out"
* If an IDL method signature has an IDL {@code float} as an "out"
* or "inout" parameter, the programmer must pass an instance of
* <code>FloatHolder</code> as the corresponding
* {@code FloatHolder} as the corresponding
* parameter in the method invocation; for "inout" parameters, the programmer
* must also fill the "in" value to be sent to the server.
* Before the method invocation returns, the ORB will fill in the
* value corresponding to the "out" value returned from the server.
* <P>
* If <code>myFloatHolder</code> is an instance of <code>FloatHolder</code>,
* the value stored in its <code>value</code> field can be accessed with
* <code>myFloatHolder.value</code>.
* If {@code myFloatHolder} is an instance of {@code FloatHolder},
* the value stored in its {@code value} field can be accessed with
* {@code myFloatHolder.value}.
*
* @since JDK1.2
*/
public final class FloatHolder implements Streamable {
/**
* The <code>float</code> value held by this <code>FloatHolder</code>
* The {@code float} value held by this {@code FloatHolder}
* object.
*/
public float value;
/**
* Constructs a new <code>FloatHolder</code> object with its
* <code>value</code> field initialized to 0.0.
* Constructs a new {@code FloatHolder} object with its
* {@code value} field initialized to 0.0.
*/
public FloatHolder() {
}
/**
* Constructs a new <code>FloatHolder</code> object for the given
* <code>float</code>.
* @param initial the <code>float</code> with which to initialize
* the <code>value</code> field of the new
* <code>FloatHolder</code> object
* Constructs a new {@code FloatHolder} object for the given
* {@code float}.
* @param initial the {@code float} with which to initialize
* the {@code value} field of the new
* {@code FloatHolder} object
*/
public FloatHolder(float initial) {
value = initial;
@@ -79,7 +79,7 @@ public final class FloatHolder implements Streamable {
* Read a float from an input stream and initialize the value
* member with the float value.
*
* @param input the <code>InputStream</code> to read from.
* @param input the {@code InputStream} to read from.
*/
public void _read(InputStream input) {
value = input.read_float();
@@ -88,16 +88,16 @@ public final class FloatHolder implements Streamable {
/**
* Write the float value into an output stream.
*
* @param output the <code>OutputStream</code> to write into.
* @param output the {@code OutputStream} to write into.
*/
public void _write(OutputStream output) {
output.write_float(value);
}
/**
* Return the <code>TypeCode</code> of this Streamable.
* Return the {@code TypeCode} of this Streamable.
*
* @return the <code>TypeCode</code> object.
* @return the {@code TypeCode} object.
*/
public org.omg.CORBA.TypeCode _type() {
return ORB.init().get_primitive_tc(TCKind.tk_float);

View File

@@ -26,26 +26,26 @@ package org.omg.CORBA;
/**
* The Helper for <tt>FloatSeq</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/FloatSeqHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:37 o'clock GMT+00:00
*
* The class definition has been modified to conform to the following
* OMG specifications :
* <ul>
* <li> ORB core as defined by CORBA 2.3.1
* (<a href="http://www.omg.org/cgi-bin/doc?formal/99-10-07">formal/99-10-07</a>)
* </li>
*
* <li> IDL/Java Language Mapping as defined in
* <a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">ptc/00-01-08</a>
* </li>
* </ul>
*/
* The Helper for {@code FloatSeq}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/FloatSeqHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:37 o'clock GMT+00:00
*
* The class definition has been modified to conform to the following
* OMG specifications :
* <ul>
* <li> ORB core as defined by CORBA 2.3.1
* (<a href="http://www.omg.org/cgi-bin/doc?formal/99-10-07">formal/99-10-07</a>)
* </li>
*
* <li> IDL/Java Language Mapping as defined in
* <a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">ptc/00-01-08</a>
* </li>
* </ul>
*/
public abstract class FloatSeqHelper
{

View File

@@ -26,14 +26,14 @@ package org.omg.CORBA;
/**
* The Holder for <tt>FloatSeq</tt>. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/FloatSeqHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:37 o'clock GMT+00:00
*/
* The Holder for {@code FloatSeq}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/FloatSeqHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:37 o'clock GMT+00:00
*/
public final class FloatSeqHolder implements org.omg.CORBA.portable.Streamable
{

View File

@@ -26,14 +26,14 @@ package org.omg.CORBA;
/**
* The Helper for <tt>IDLType</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/IDLTypeHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ir.idl
* 03 June 1999 11:33:44 o'clock GMT+00:00
*/
* The Helper for {@code IDLType}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/IDLTypeHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ir.idl
* 03 June 1999 11:33:44 o'clock GMT+00:00
*/
abstract public class IDLTypeHelper
{

View File

@@ -25,10 +25,10 @@
package org.omg.CORBA;
/**
* The interface for <tt>IDLType</tt>. For more information on
* Operations interfaces, see <a href="doc-files/generatedfiles.html#operations">
* "Generated Files: Operations files"</a>.
*/
* The interface for {@code IDLType}. For more information on
* Operations interfaces, see <a href="doc-files/generatedfiles.html#operations">
* "Generated Files: Operations files"</a>.
*/
/*
tempout/org/omg/CORBA/IDLTypeOperations.java
@@ -51,8 +51,8 @@ public interface IDLTypeOperations extends org.omg.CORBA.IRObjectOperations
{
/**
* The type attribute describes the type defined by an object
* derived from <code>IDLType</code>.
* @return the <code>TypeCode</code> defined by this object.
* derived from {@code IDLType}.
* @return the {@code TypeCode} defined by this object.
*/
org.omg.CORBA.TypeCode type ();
} // interface IDLTypeOperations

View File

@@ -32,7 +32,7 @@ package org.omg.CORBA;
* exception is raised by ORB::string_to_object if the passed
* string does not decode correctly. An ORB may choose to detect
* calls via nil references (but is not obliged to do detect them).
* <tt>INV_OBJREF</tt> is used to indicate this.<P>
* {@code INV_OBJREF} is used to indicate this.<P>
* It contains a minor code, which gives more detailed information about
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
@@ -47,7 +47,7 @@ package org.omg.CORBA;
public final class INV_OBJREF extends SystemException {
/**
* Constructs an <code>INV_OBJREF</code> exception with a default
* Constructs an {@code INV_OBJREF} exception with a default
* minor code of 0 and a completion state of COMPLETED_NO.
*/
public INV_OBJREF() {
@@ -55,7 +55,7 @@ public final class INV_OBJREF extends SystemException {
}
/**
* Constructs an <code>INV_OBJREF</code> exception with the specified detail
* Constructs an {@code INV_OBJREF} exception with the specified detail
* message, a minor code of 0, and a completion state of COMPLETED_NO.
* @param s the String containing a detail message
*/
@@ -64,10 +64,10 @@ public final class INV_OBJREF extends SystemException {
}
/**
* Constructs an <code>INV_OBJREF</code> exception with the specified
* Constructs an {@code INV_OBJREF} exception with the specified
* minor code and completion status.
* @param minor the minor code
* @param completed a <code>CompletionStatus</code> instance indicating
* @param completed a {@code CompletionStatus} instance indicating
* the completion status
*/
public INV_OBJREF(int minor, CompletionStatus completed) {
@@ -75,12 +75,12 @@ public final class INV_OBJREF extends SystemException {
}
/**
* Constructs an <code>INV_OBJREF</code> exception with the specified detail
* Constructs an {@code INV_OBJREF} exception with the specified detail
* message, minor code, and completion status.
* A detail message is a String that describes this particular exception.
* @param s the String containing a detail message
* @param minor the minor code
* @param completed a <code>CompletionStatus</code> instance indicating
* @param completed a {@code CompletionStatus} instance indicating
* the completion status
*/
public INV_OBJREF(String s, int minor, CompletionStatus completed) {

View File

@@ -28,7 +28,7 @@ package org.omg.CORBA;
/**
* Standard exception thrown
* when an invocation cannot be made because of an incompatibility between
* <tt>Policy</tt> overrides that apply to the particular invocation.
* {@code Policy} overrides that apply to the particular invocation.
* It contains a minor code, which gives more detailed information about
* what caused the exception, and a completion status. It may also contain
* a string describing the exception.
@@ -39,7 +39,7 @@ package org.omg.CORBA;
public final class INV_POLICY extends SystemException {
/**
* Constructs a <code>INV_POLICY</code> exception with a default minor code
* Constructs a {@code INV_POLICY} exception with a default minor code
* of 0, a completion state of CompletionStatus.COMPLETED_NO,
* and a null description.
*/
@@ -48,7 +48,7 @@ public final class INV_POLICY extends SystemException {
}
/**
* Constructs a <code>INV_POLICY</code> exception with the
* Constructs a {@code INV_POLICY} exception with the
* specified description message,
* a minor code of 0, and a completion state of COMPLETED_NO.
* @param s the String containing a detail message
@@ -58,7 +58,7 @@ public final class INV_POLICY extends SystemException {
}
/**
* Constructs a <code>INV_POLICY</code> exception with the specified
* Constructs a {@code INV_POLICY} exception with the specified
* minor code and completion status.
* @param minor the minor code
* @param completed the completion status
@@ -68,7 +68,7 @@ public final class INV_POLICY extends SystemException {
}
/**
* Constructs a <code>INV_POLICY</code> exception with the
* Constructs a {@code INV_POLICY} exception with the
* specified description message, minor code, and completion status.
* @param s the String containing a description message
* @param minor the minor code

View File

@@ -26,10 +26,10 @@ package org.omg.CORBA;
/**
* The interface for <tt>IRObject</tt>. For more information on
* Operations interfaces, see <a href="doc-files/generatedfiles.html#operations">
* "Generated Files: Operations files"</a>.
*/
* The interface for {@code IRObject}. For more information on
* Operations interfaces, see <a href="doc-files/generatedfiles.html#operations">
* "Generated Files: Operations files"</a>.
*/
/*
tempout/org/omg/CORBA/IRObjectOperations.java
@@ -39,7 +39,7 @@ package org.omg.CORBA;
*/
/**
* This is the Operations interface for the mapping from <tt>IRObject</tt>.
* This is the Operations interface for the mapping from {@code IRObject}.
* Several interfaces are used as base interfaces for objects in
* the Interface Repository (IR). These base interfaces are not instantiable.
* A common set of operations is used to locate objects within the
@@ -59,8 +59,8 @@ public interface IRObjectOperations
// read interface
/**
* Returns the <code>DefinitionKind</code> corresponding to this Interface Repository object.
* @return the <code>DefinitionKind</code> corresponding to this Interface Repository object.
* Returns the {@code DefinitionKind} corresponding to this Interface Repository object.
* @return the {@code DefinitionKind} corresponding to this Interface Repository object.
*/
org.omg.CORBA.DefinitionKind def_kind ();
@@ -70,13 +70,13 @@ public interface IRObjectOperations
* this method is applied to all its contents. If the object contains an IDLType
* attribute for an anonymous type, that IDLType is destroyed.
* If the object is currently contained in some other object, it is removed.
* If the method is invoked on a <code>Repository</code> or on a <code>PrimitiveDef</code>
* then the <code>BAD_INV_ORDER</code> exception is raised with minor value 2.
* If the method is invoked on a {@code Repository} or on a {@code PrimitiveDef}
* then the {@code BAD_INV_ORDER} exception is raised with minor value 2.
* An attempt to destroy an object that would leave the repository in an
* incoherent state causes <code>BAD_INV_ORDER</code> exception to be raised
* incoherent state causes {@code BAD_INV_ORDER} exception to be raised
* with the minor code 1.
* @exception BAD_INV_ORDER if this method is invoked on a repository or
* <code>PrimitiveDef</code>, or if an attempt to destroy an
* {@code PrimitiveDef}, or if an attempt to destroy an
* object would leave the repository in an incoherent state
*/
void destroy ();

View File

@@ -26,14 +26,14 @@ package org.omg.CORBA;
/**
* The Helper for <tt>Identifier</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/IdentifierHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ir.idl
* 03 June 1999 11:33:42 o'clock GMT+00:00
*/
* The Helper for {@code Identifier}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/IdentifierHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ir.idl
* 03 June 1999 11:33:42 o'clock GMT+00:00
*/
abstract public class IdentifierHelper
{

View File

@@ -30,57 +30,57 @@ import org.omg.CORBA.portable.InputStream;
import org.omg.CORBA.portable.OutputStream;
/**
* The Holder for <tt>Int</tt>. For more information on
* The Holder for {@code Int}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* A Holder class for an <code>int</code>
* A Holder class for an {@code int}
* that is used to store "out" and "inout" parameters in IDL methods.
* If an IDL method signature has an IDL <code>long</code> as an "out"
* If an IDL method signature has an IDL {@code long} as an "out"
* or "inout" parameter, the programmer must pass an instance of
* <code>IntHolder</code> as the corresponding
* {@code IntHolder} as the corresponding
* parameter in the method invocation; for "inout" parameters, the programmer
* must also fill the "in" value to be sent to the server.
* Before the method invocation returns, the ORB will fill in the
* value corresponding to the "out" value returned from the server.
* <P>
* If <code>myIntHolder</code> is an instance of <code>IntHolder</code>,
* the value stored in its <code>value</code> field can be accessed with
* <code>myIntHolder.value</code>.
* If {@code myIntHolder} is an instance of {@code IntHolder},
* the value stored in its {@code value} field can be accessed with
* {@code myIntHolder.value}.
*
* @since JDK1.2
*/
public final class IntHolder implements Streamable {
/**
* The <code>int</code> value held by this <code>IntHolder</code>
* object in its <code>value</code> field.
* The {@code int} value held by this {@code IntHolder}
* object in its {@code value} field.
*/
public int value;
/**
* Constructs a new <code>IntHolder</code> object with its
* <code>value</code> field initialized to <code>0</code>.
* Constructs a new {@code IntHolder} object with its
* {@code value} field initialized to {@code 0}.
*/
public IntHolder() {
}
/**
* Constructs a new <code>IntHolder</code> object with its
* <code>value</code> field initialized to the given
* <code>int</code>.
* @param initial the <code>int</code> with which to initialize
* the <code>value</code> field of the newly-created
* <code>IntHolder</code> object
* Constructs a new {@code IntHolder} object with its
* {@code value} field initialized to the given
* {@code int}.
* @param initial the {@code int} with which to initialize
* the {@code value} field of the newly-created
* {@code IntHolder} object
*/
public IntHolder(int initial) {
value = initial;
}
/**
* Reads unmarshalled data from <code>input</code> and assigns it to
* the <code>value</code> field in this <code>IntHolder</code> object.
* Reads unmarshalled data from {@code input} and assigns it to
* the {@code value} field in this {@code IntHolder} object.
*
* @param input the <code>InputStream</code> object containing CDR
* @param input the {@code InputStream} object containing CDR
* formatted data from the wire
*/
public void _read(InputStream input) {
@@ -88,10 +88,10 @@ public final class IntHolder implements Streamable {
}
/**
* Marshals the value in this <code>IntHolder</code> object's
* <code>value</code> field to the output stream <code>output</code>.
* Marshals the value in this {@code IntHolder} object's
* {@code value} field to the output stream {@code output}.
*
* @param output the <code>OutputStream</code> object that will contain
* @param output the {@code OutputStream} object that will contain
* the CDR formatted data
*/
public void _write(OutputStream output) {
@@ -99,11 +99,11 @@ public final class IntHolder implements Streamable {
}
/**
* Retrieves the <code>TypeCode</code> object that corresponds
* to the value held in this <code>IntHolder</code> object's
* <code>value</code> field.
* Retrieves the {@code TypeCode} object that corresponds
* to the value held in this {@code IntHolder} object's
* {@code value} field.
*
* @return the type code for the value held in this <code>IntHolder</code>
* @return the type code for the value held in this {@code IntHolder}
* object
*/
public org.omg.CORBA.TypeCode _type() {

View File

@@ -30,26 +30,26 @@ import org.omg.CORBA.portable.*;
/**
* Used as a base class for implementation of a local IDL interface in the
* Java language mapping. It is a class which implements all the operations
* in the <tt>org.omg.CORBA.Object</tt> interface.
* in the {@code org.omg.CORBA.Object} interface.
* <P>Local interfaces are implemented by using CORBA::LocalObject
* to provide implementations of <code>Object</code> pseudo
* operations and any other ORB-specific support mechanisms that are
* appropriate for such objects. Object implementation techniques are
* inherently language-mapping specific. Therefore, the
* <code>LocalObject</code> type is not defined in IDL, but is specified
* in each language mapping.
* <P>Methods that do not apply to local objects throw
* an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with the message,
* "This is a locally contrained object." Attempting to use a
* <TT>LocalObject</TT> to create a DII request results in NO_IMPLEMENT
* system exception. Attempting to marshal or stringify a
* <TT>LocalObject</TT> results in a MARSHAL system exception. Narrowing
* and widening references to <TT>LocalObjects</TT> must work as for regular
* object references.
* <P><code>LocalObject</code> is to be used as the base class of locally
* constrained objects, such as those in the PortableServer module.
* The specification here is based on the CORBA Components
* Volume I - orbos/99-07-01
* to provide implementations of {@code Object} pseudo
* operations and any other ORB-specific support mechanisms that are
* appropriate for such objects. Object implementation techniques are
* inherently language-mapping specific. Therefore, the
* {@code LocalObject} type is not defined in IDL, but is specified
* in each language mapping.
* <P>Methods that do not apply to local objects throw
* an {@code org.omg.CORBA.NO_IMPLEMENT} exception with the message,
* "This is a locally contrained object." Attempting to use a
* {@code LocalObject} to create a DII request results in NO_IMPLEMENT
* system exception. Attempting to marshal or stringify a
* {@code LocalObject} results in a MARSHAL system exception. Narrowing
* and widening references to {@code LocalObjects} must work as for regular
* object references.
* <P>{@code LocalObject} is to be used as the base class of locally
* constrained objects, such as those in the PortableServer module.
* The specification here is based on the CORBA Components
* Volume I - orbos/99-07-01
*
* @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
* comments for unimplemented features</a>
@@ -60,7 +60,7 @@ public class LocalObject implements org.omg.CORBA.Object
private static String reason = "This is a locally constrained object.";
/**
* Constructs a default <code>LocalObject</code> instance.
* Constructs a default {@code LocalObject} instance.
*/
public LocalObject() {}
@@ -75,9 +75,9 @@ public class LocalObject implements org.omg.CORBA.Object
* <P>Default implementation of the org.omg.CORBA.Object method.
*
* @param that the object reference with which to check for equivalence
* @return <code>true</code> if this object reference is known to be
* @return {@code true} if this object reference is known to be
* equivalent to the given object reference.
* Note that <code>false</code> indicates only that the two
* Note that {@code false} indicates only that the two
* object references are distinct, not necessarily that
* they reference distinct objects.
*/
@@ -86,11 +86,11 @@ public class LocalObject implements org.omg.CORBA.Object
}
/**
* Always returns <code>false</code>.
* Always returns {@code false}.
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
*
* @return <code>false</code>
* @return {@code false}
*/
public boolean _non_existent() {
return false;
@@ -100,9 +100,9 @@ public class LocalObject implements org.omg.CORBA.Object
* Returns a hash value that is consistent for the
* lifetime of the object, using the given number as the maximum.
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
*
* @param maximum an <code>int</code> identifying maximum value of
* @param maximum an {@code int} identifying maximum value of
* the hashcode
* @return this instance's hashcode
*/
@@ -111,13 +111,13 @@ public class LocalObject implements org.omg.CORBA.Object
}
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object." This method
* does not apply to local objects and is therefore not implemented.
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
*
* @param repository_id a <code>String</code>
* @param repository_id a {@code String}
* @return NO_IMPLEMENT because this is a locally constrained object
* and this method does not apply to local objects
* @exception NO_IMPLEMENT because this is a locally constrained object
@@ -130,12 +130,12 @@ public class LocalObject implements org.omg.CORBA.Object
}
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object."
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
*
* @return a duplicate of this <code>LocalObject</code> instance.
* @return a duplicate of this {@code LocalObject} instance.
* @exception NO_IMPLEMENT
* @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
* comments for unimplemented features</a>
@@ -145,10 +145,10 @@ public class LocalObject implements org.omg.CORBA.Object
}
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object."
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
*
* @exception NO_IMPLEMENT
* @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
@@ -159,14 +159,14 @@ public class LocalObject implements org.omg.CORBA.Object
}
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object."
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
*
* @param operation a <code>String</code> giving the name of an operation
* @param operation a {@code String} giving the name of an operation
* to be performed by the request that is returned
* @return a <code>Request</code> object with the given operation
* @return a {@code Request} object with the given operation
* @exception NO_IMPLEMENT
* @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
* comments for unimplemented features</a>
@@ -176,20 +176,20 @@ public class LocalObject implements org.omg.CORBA.Object
}
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object."
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
*
* @param ctx a <code>Context</code> object containing
* @param ctx a {@code Context} object containing
* a list of properties
* @param operation the <code>String</code> representing the name of the
* @param operation the {@code String} representing the name of the
* method to be invoked
* @param arg_list an <code>NVList</code> containing the actual arguments
* @param arg_list an {@code NVList} containing the actual arguments
* to the method being invoked
* @param result a <code>NamedValue</code> object to serve as a
* @param result a {@code NamedValue} object to serve as a
* container for the method's return value
* @return a new <code>Request</code> object initialized with the given
* @return a new {@code Request} object initialized with the given
* arguments
* @exception NO_IMPLEMENT
* @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
@@ -203,25 +203,25 @@ public class LocalObject implements org.omg.CORBA.Object
}
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object."
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
*
* @param ctx a <code>Context</code> object containing
* @param ctx a {@code Context} object containing
* a list of properties
* @param operation the name of the method to be invoked
* @param arg_list an <code>NVList</code> containing the actual arguments
* @param arg_list an {@code NVList} containing the actual arguments
* to the method being invoked
* @param result a <code>NamedValue</code> object to serve as a
* @param result a {@code NamedValue} object to serve as a
* container for the method's return value
* @param exceptions an <code>ExceptionList</code> object containing a
* @param exceptions an {@code ExceptionList} object containing a
* list of possible exceptions the method can throw
* @param contexts a <code>ContextList</code> object containing a list of
* @param contexts a {@code ContextList} object containing a list of
* context strings that need to be resolved and sent
* with the
* <code>Request</code> instance
* @return the new <code>Request</code> object initialized with the given
* {@code Request} instance
* @return the new {@code Request} object initialized with the given
* arguments
* @exception NO_IMPLEMENT
* @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
@@ -237,11 +237,11 @@ public class LocalObject implements org.omg.CORBA.Object
}
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object." This method
* does not apply to local objects and is therefore not implemented.
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
*
* @return NO_IMPLEMENT because this is a locally constrained object
* and this method does not apply to local objects
@@ -256,10 +256,10 @@ public class LocalObject implements org.omg.CORBA.Object
}
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object."
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
*
* @exception NO_IMPLEMENT
* @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
@@ -278,12 +278,12 @@ public class LocalObject implements org.omg.CORBA.Object
}
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object."
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
* @return the ORB instance that created the Delegate contained in this
* <code>ObjectImpl</code>
* {@code ObjectImpl}
* @exception NO_IMPLEMENT
* @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
* comments for unimplemented features</a>
@@ -293,13 +293,13 @@ public class LocalObject implements org.omg.CORBA.Object
}
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object." This method
* does not apply to local objects and is therefore not implemented.
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
*
* @param policy_type an <code>int</code>
* @param policy_type an {@code int}
* @return NO_IMPLEMENT because this is a locally constrained object
* and this method does not apply to local objects
* @exception NO_IMPLEMENT because this is a locally constrained object
@@ -313,11 +313,11 @@ public class LocalObject implements org.omg.CORBA.Object
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object." This method
* does not apply to local objects and is therefore not implemented.
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
*
* @exception NO_IMPLEMENT
* @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
@@ -328,11 +328,11 @@ public class LocalObject implements org.omg.CORBA.Object
}
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object." This method
* does not apply to local objects and is therefore not implemented.
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
*
* @param policies an array
* @param set_add a flag
@@ -351,13 +351,13 @@ public class LocalObject implements org.omg.CORBA.Object
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object."
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.<P>
* Returns <code>true</code> for this <code>LocalObject</code> instance.
* {@code org.omg.CORBA.Object} method.<P>
* Returns {@code true} for this {@code LocalObject} instance.
*
* @return <code>true</code> always
* @return {@code true} always
* @exception NO_IMPLEMENT
* @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
* comments for unimplemented features</a>
@@ -367,12 +367,12 @@ public class LocalObject implements org.omg.CORBA.Object
}
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object."
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
*
* @param operation a <code>String</code> indicating which operation
* @param operation a {@code String} indicating which operation
* to preinvoke
* @param expectedType the class of the type of operation mentioned above
* @return NO_IMPLEMENT because this is a locally constrained object
@@ -388,10 +388,10 @@ public class LocalObject implements org.omg.CORBA.Object
}
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object."
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
*
* @param servant the servant object on which to post-invoke
* @exception NO_IMPLEMENT
@@ -408,17 +408,17 @@ public class LocalObject implements org.omg.CORBA.Object
*/
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object."
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
* <P>Called by a stub to obtain an OutputStream for
* marshaling arguments. The stub must supply the operation name,
* and indicate if a response is expected (i.e is this a oneway call).
*
* @param operation the name of the operation being requested
* @param responseExpected <code>true</code> if a response is expected,
* <code>false</code> if it is a one-way call
* @param responseExpected {@code true} if a response is expected,
* {@code false} if it is a one-way call
* @return NO_IMPLEMENT because this is a locally constrained object
* and this method does not apply to local objects
* @exception NO_IMPLEMENT because this is a locally constrained object
@@ -432,32 +432,32 @@ public class LocalObject implements org.omg.CORBA.Object
}
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object."
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
* <P>Called to invoke an operation. The stub provides an
* <code>OutputStream</code> that was previously returned by a
* <code>_request()</code>
* call. <code>_invoke</code> returns an <code>InputStream</code> which
* {@code OutputStream} that was previously returned by a
* {@code _request()}
* call. {@code _invoke} returns an {@code InputStream} which
* contains the
* marshaled reply. If an exception occurs, <code>_invoke</code> may throw an
* <code>ApplicationException</code> object which contains an
* <code>InputStream</code> from
* marshaled reply. If an exception occurs, {@code _invoke} may throw an
* {@code ApplicationException} object which contains an
* {@code InputStream} from
* which the user exception state may be unmarshaled.
*
* @param output the <code>OutputStream</code> to invoke
* @param output the {@code OutputStream} to invoke
* @return NO_IMPLEMENT because this is a locally constrained object
* and this method does not apply to local objects
* @throws ApplicationException If an exception occurs,
* <code>_invoke</code> may throw an
* <code>ApplicationException</code> object which contains
* an <code>InputStream</code> from
* {@code _invoke} may throw an
* {@code ApplicationException} object which contains
* an {@code InputStream} from
* which the user exception state may be unmarshaled.
* @throws RemarshalException If an exception occurs,
* <code>_invoke</code> may throw an
* <code>ApplicationException</code> object which contains
* an <code>InputStream</code> from
* {@code _invoke} may throw an
* {@code ApplicationException} object which contains
* an {@code InputStream} from
* which the user exception state may be unmarshaled.
* @exception NO_IMPLEMENT because this is a locally constrained object
* and this method does not apply to local objects
@@ -471,17 +471,17 @@ public class LocalObject implements org.omg.CORBA.Object
}
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object."
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
* <P>May optionally be called by a stub to release a
* reply stream back to the ORB when the unmarshaling has
* completed. The stub passes the <code>InputStream</code> returned by
* <code>_invoke()</code> or
* <code>ApplicationException.getInputStream()</code>.
* completed. The stub passes the {@code InputStream} returned by
* {@code _invoke()} or
* {@code ApplicationException.getInputStream()}.
* A null
* value may also be passed to <code>_releaseReply</code>, in which case the
* value may also be passed to {@code _releaseReply}, in which case the
* method is a no-op.
*
* @param input the reply stream back to the ORB or null
@@ -494,11 +494,11 @@ public class LocalObject implements org.omg.CORBA.Object
}
/**
* Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
* Throws an {@code org.omg.CORBA.NO_IMPLEMENT} exception with
* the message "This is a locally constrained object." This method
* does not apply to local objects and is therefore not implemented.
* This method is the default implementation of the
* <code>org.omg.CORBA.Object</code> method.
* {@code org.omg.CORBA.Object} method.
*
* @return NO_IMPLEMENT because this is a locally constrained object
* and this method does not apply to local objects

View File

@@ -30,54 +30,54 @@ import org.omg.CORBA.portable.InputStream;
import org.omg.CORBA.portable.OutputStream;
/**
* The Holder for <tt>Long</tt>. For more information on
* The Holder for {@code Long}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* A Holder class for a <code>long</code>
* A Holder class for a {@code long}
* that is used to store "out" and "inout" parameters in IDL methods.
* If an IDL method signature has an IDL <code>long long</code> as an "out"
* If an IDL method signature has an IDL {@code long long} as an "out"
* or "inout" parameter, the programmer must pass an instance of
* <code>LongHolder</code> as the corresponding
* {@code LongHolder} as the corresponding
* parameter in the method invocation; for "inout" parameters, the programmer
* must also fill the "in" value to be sent to the server.
* Before the method invocation returns, the ORB will fill in the
* value corresponding to the "out" value returned from the server.
* <P>
* If <code>myLongHolder</code> is an instance of <code>LongHolder</code>,
* the value stored in its <code>value</code> field can be accessed with
* <code>myLongHolder.value</code>.
* If {@code myLongHolder} is an instance of {@code LongHolder},
* the value stored in its {@code value} field can be accessed with
* {@code myLongHolder.value}.
*
* @since JDK1.2
*/
public final class LongHolder implements Streamable {
/**
* The <code>long</code> value held by this <code>LongHolder</code>
* The {@code long} value held by this {@code LongHolder}
* object.
*/
public long value;
/**
* Constructs a new <code>LongHolder</code> object with its
* <code>value</code> field initialized to <code>0</code>.
* Constructs a new {@code LongHolder} object with its
* {@code value} field initialized to {@code 0}.
*/
public LongHolder() {
}
/**
* Constructs a new <code>LongHolder</code> object with its
* <code>value</code> field initialized to the given
* <code>long</code>.
* @param initial the <code>long</code> with which to initialize
* the <code>value</code> field of the newly-created
* <code>LongHolder</code> object
* Constructs a new {@code LongHolder} object with its
* {@code value} field initialized to the given
* {@code long}.
* @param initial the {@code long} with which to initialize
* the {@code value} field of the newly-created
* {@code LongHolder} object
*/
public LongHolder(long initial) {
value = initial;
}
/**
* Reads from <code>input</code> and initalizes the value in the Holder
* Reads from {@code input} and initalizes the value in the Holder
* with the unmarshalled data.
*
* @param input the InputStream containing CDR formatted data from the wire
@@ -87,7 +87,7 @@ public final class LongHolder implements Streamable {
}
/**
* Marshals to <code>output</code> the value in the Holder.
* Marshals to {@code output} the value in the Holder.
*
* @param output the OutputStream which will contain the CDR formatted data
*/
@@ -96,7 +96,7 @@ public final class LongHolder implements Streamable {
}
/**
* Returns the <code>TypeCode</code> object
* Returns the {@code TypeCode} object
* corresponding to the value held in the Holder.
*
* @return the TypeCode of the value held in the holder

View File

@@ -26,26 +26,26 @@ package org.omg.CORBA;
/**
* The Helper for <tt>LongLongSeq</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/LongLongSeqHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:37 o'clock GMT+00:00
*
* The class definition has been modified to conform to the following
* OMG specifications :
* <ul>
* <li> ORB core as defined by CORBA 2.3.1
* (<a href="http://www.omg.org/cgi-bin/doc?formal/99-10-07">formal/99-10-07</a>)
* </li>
*
* <li> IDL/Java Language Mapping as defined in
* <a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">ptc/00-01-08</a>
* </li>
* </ul>
*/
* The Helper for {@code LongLongSeq}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/LongLongSeqHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:37 o'clock GMT+00:00
*
* The class definition has been modified to conform to the following
* OMG specifications :
* <ul>
* <li> ORB core as defined by CORBA 2.3.1
* (<a href="http://www.omg.org/cgi-bin/doc?formal/99-10-07">formal/99-10-07</a>)
* </li>
*
* <li> IDL/Java Language Mapping as defined in
* <a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">ptc/00-01-08</a>
* </li>
* </ul>
*/
public abstract class LongLongSeqHelper
{

View File

@@ -26,14 +26,14 @@ package org.omg.CORBA;
/**
* The Holder for <tt>LongLongSeq</tt>. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/LongLongSeqHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*/
* The Holder for {@code LongLongSeq}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/LongLongSeqHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*/
public final class LongLongSeqHolder implements org.omg.CORBA.portable.Streamable
{

View File

@@ -26,26 +26,26 @@ package org.omg.CORBA;
/**
* The Helper for <tt>LongSeqHelper</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/LongSeqHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*
* The class definition has been modified to conform to the following
* OMG specifications :
* <ul>
* <li> ORB core as defined by CORBA 2.3.1
* (<a href="http://www.omg.org/cgi-bin/doc?formal/99-10-07">formal/99-10-07</a>)
* </li>
*
* <li> IDL/Java Language Mapping as defined in
* <a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">ptc/00-01-08</a>
* </li>
* </ul>
*/
* The Helper for {@code LongSeqHelper}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/LongSeqHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*
* The class definition has been modified to conform to the following
* OMG specifications :
* <ul>
* <li> ORB core as defined by CORBA 2.3.1
* (<a href="http://www.omg.org/cgi-bin/doc?formal/99-10-07">formal/99-10-07</a>)
* </li>
*
* <li> IDL/Java Language Mapping as defined in
* <a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">ptc/00-01-08</a>
* </li>
* </ul>
*/
public abstract class LongSeqHelper
{

View File

@@ -26,14 +26,14 @@ package org.omg.CORBA;
/**
* The Holder for <tt>LongSeq</tt>. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/LongSeqHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*/
* The Holder for {@code LongSeq}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/LongSeqHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*/
public final class LongSeqHolder implements org.omg.CORBA.portable.Streamable
{

View File

@@ -31,7 +31,7 @@ package org.omg.CORBA;
* or server-side run time. For example, if a reply from the server
* indicates that the message contains 1000 bytes, but the actual
* message is shorter or longer than 1000 bytes, the ORB raises
* this exception. <tt>MARSHAL</tt> can also be caused by using
* this exception. {@code MARSHAL} can also be caused by using
* the DII or DSI incorrectly, for example, if the type of the
* actual parameters sent does not agree with IDL signature of an
* operation.<P>
@@ -47,7 +47,7 @@ package org.omg.CORBA;
public final class MARSHAL extends SystemException {
/**
* Constructs a <code>MARSHAL</code> exception with a default minor code
* Constructs a {@code MARSHAL} exception with a default minor code
* of 0, a completion state of CompletionStatus.COMPLETED_NO,
* and a null description.
*/
@@ -56,7 +56,7 @@ public final class MARSHAL extends SystemException {
}
/**
* Constructs a <code>MARSHAL</code> exception with the specified description message,
* Constructs a {@code MARSHAL} exception with the specified description message,
* a minor code of 0, and a completion state of COMPLETED_NO.
* @param s the String containing a description of the exception
*/
@@ -65,7 +65,7 @@ public final class MARSHAL extends SystemException {
}
/**
* Constructs a <code>MARSHAL</code> exception with the specified
* Constructs a {@code MARSHAL} exception with the specified
* minor code and completion status.
* @param minor the minor code
* @param completed the completion status
@@ -75,7 +75,7 @@ public final class MARSHAL extends SystemException {
}
/**
* Constructs a <code>MARSHAL</code> exception with the specified description
* Constructs a {@code MARSHAL} exception with the specified description
* message, minor code, and completion status.
* @param s the String containing a description message
* @param minor the minor code

View File

@@ -28,7 +28,7 @@ package org.omg.CORBA;
/**
* This exception indicates that even though the operation that
* was invoked exists (it has an IDL definition), no implementation
* for that operation exists. <tt>NO_IMPLEMENT</tt> can, for
* for that operation exists. {@code NO_IMPLEMENT} can, for
* example, be raised by an ORB if a client asks for an object's
* type definition from the interface repository, but no interface
* repository is provided by the ORB.<P>
@@ -44,7 +44,7 @@ package org.omg.CORBA;
public final class NO_IMPLEMENT extends SystemException {
/**
* Constructs a <code>NO_IMPLEMENT</code> exception with a default minor code
* Constructs a {@code NO_IMPLEMENT} exception with a default minor code
* of 0, a completion state of CompletionStatus.COMPLETED_NO,
* and a null description.
*/
@@ -53,7 +53,7 @@ public final class NO_IMPLEMENT extends SystemException {
}
/**
* Constructs a <code>NO_IMPLEMENT</code> exception with the specified description message,
* Constructs a {@code NO_IMPLEMENT} exception with the specified description message,
* a minor code of 0, and a completion state of COMPLETED_NO.
* @param s the String containing a description of the exception
*/
@@ -62,10 +62,10 @@ public final class NO_IMPLEMENT extends SystemException {
}
/**
* Constructs a <code>NO_IMPLEMENT</code> exception with the specified
* Constructs a {@code NO_IMPLEMENT} exception with the specified
* minor code and completion status.
* @param minor an <code>int</code> specifying the minor code
* @param completed a <code>CompletionStatus</code> instance indicating
* @param minor an {@code int} specifying the minor code
* @param completed a {@code CompletionStatus} instance indicating
* the completion status
*/
public NO_IMPLEMENT(int minor, CompletionStatus completed) {
@@ -73,11 +73,11 @@ public final class NO_IMPLEMENT extends SystemException {
}
/**
* Constructs a <code>NO_IMPLEMENT</code> exception with the specified description
* Constructs a {@code NO_IMPLEMENT} exception with the specified description
* message, minor code, and completion status.
* @param s the String containing a description message
* @param minor an <code>int</code> specifying the minor code
* @param completed a <code>CompletionStatus</code> instance indicating
* @param minor an {@code int} specifying the minor code
* @param completed a {@code CompletionStatus} instance indicating
* the completion status
*/
public NO_IMPLEMENT(String s, int minor, CompletionStatus completed) {

View File

@@ -28,33 +28,33 @@ package org.omg.CORBA;
/**
* Associates a name with a value that is an
* attribute of an IDL struct, and is used in the <tt>DynStruct</tt> APIs.
* attribute of an IDL struct, and is used in the {@code DynStruct} APIs.
*/
public final class NameValuePair implements org.omg.CORBA.portable.IDLEntity {
/**
* The name to be associated with a value by this <code>NameValuePair</code> object.
* The name to be associated with a value by this {@code NameValuePair} object.
*/
public String id;
/**
* The value to be associated with a name by this <code>NameValuePair</code> object.
* The value to be associated with a name by this {@code NameValuePair} object.
*/
public org.omg.CORBA.Any value;
/**
* Constructs an empty <code>NameValuePair</code> object.
* Constructs an empty {@code NameValuePair} object.
* To associate a name with a value after using this constructor, the fields
* of this object have to be accessed individually.
*/
public NameValuePair() { }
/**
* Constructs a <code>NameValuePair</code> object that associates
* the given name with the given <code>org.omg.CORBA.Any</code> object.
* @param __id the name to be associated with the given <code>Any</code> object
* @param __value the <code>Any</code> object to be associated with the given name
* Constructs a {@code NameValuePair} object that associates
* the given name with the given {@code org.omg.CORBA.Any} object.
* @param __id the name to be associated with the given {@code Any} object
* @param __value the {@code Any} object to be associated with the given name
*/
public NameValuePair(String __id, org.omg.CORBA.Any __value) {
id = __id;

View File

@@ -26,13 +26,13 @@ package org.omg.CORBA;
/**
* The Helper for <tt>NameValuePair</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/NameValuePairHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* 03 June 1999 11:52:03 o'clock GMT+00:00
*/
* The Helper for {@code NameValuePair}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/NameValuePairHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* 03 June 1999 11:52:03 o'clock GMT+00:00
*/
abstract public class NameValuePairHelper
{

File diff suppressed because it is too large Load Diff

View File

@@ -24,10 +24,10 @@
*/
/**
* The Helper for <tt>Object</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
*/
* The Helper for {@code Object}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
*/
/*
* Licensed Materials - Property of IBM

View File

@@ -31,55 +31,55 @@ import org.omg.CORBA.portable.OutputStream;
/**
* The Holder for <tt>Object</tt>. For more information on
* The Holder for {@code Object}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* A Holder class for a CORBA object reference (a value of type
* <code>org.omg.CORBA.Object</code>). It is usually
* {@code org.omg.CORBA.Object}). It is usually
* used to store "out" and "inout" parameters in IDL methods.
* If an IDL method signature has a CORBA Object reference as an "out"
* or "inout" parameter, the programmer must pass an instance of
* <code>ObjectHolder</code> as the corresponding
* {@code ObjectHolder} as the corresponding
* parameter in the method invocation; for "inout" parameters, the programmer
* must also fill the "in" value to be sent to the server.
* Before the method invocation returns, the ORB will fill in the
* value corresponding to the "out" value returned from the server.
* <P>
* If <code>myObjectHolder</code> is an instance of <code>ObjectHolder</code>,
* the value stored in its <code>value</code> field can be accessed with
* <code>myObjectHolder.value</code>.
* If {@code myObjectHolder} is an instance of {@code ObjectHolder},
* the value stored in its {@code value} field can be accessed with
* {@code myObjectHolder.value}.
*
* @since JDK1.2
*/
public final class ObjectHolder implements Streamable {
/**
* The <code>Object</code> value held by this <code>ObjectHolder</code>
* The {@code Object} value held by this {@code ObjectHolder}
* object.
*/
public Object value;
/**
* Constructs a new <code>ObjectHolder</code> object with its
* <code>value</code> field initialized to <code>null</code>.
* Constructs a new {@code ObjectHolder} object with its
* {@code value} field initialized to {@code null}.
*/
public ObjectHolder() {
}
/**
* Constructs a new <code>ObjectHolder</code> object with its
* <code>value</code> field initialized to the given
* <code>Object</code>.
* @param initial the <code>Object</code> with which to initialize
* the <code>value</code> field of the newly-created
* <code>ObjectHolder</code> object
* Constructs a new {@code ObjectHolder} object with its
* {@code value} field initialized to the given
* {@code Object}.
* @param initial the {@code Object} with which to initialize
* the {@code value} field of the newly-created
* {@code ObjectHolder} object
*/
public ObjectHolder(Object initial) {
value = initial;
}
/**
* Reads from <code>input</code> and initalizes the value in
* this <code>ObjectHolder</code> object
* Reads from {@code input} and initalizes the value in
* this {@code ObjectHolder} object
* with the unmarshalled data.
*
* @param input the InputStream containing CDR formatted data from the wire.
@@ -89,8 +89,8 @@ public final class ObjectHolder implements Streamable {
}
/**
* Marshals to <code>output</code> the value in
* this <code>ObjectHolder</code> object.
* Marshals to {@code output} the value in
* this {@code ObjectHolder} object.
*
* @param output the OutputStream which will contain the CDR formatted data.
*/
@@ -100,10 +100,10 @@ public final class ObjectHolder implements Streamable {
/**
* Returns the TypeCode corresponding to the value held in
* this <code>ObjectHolder</code> object
* this {@code ObjectHolder} object
*
* @return the TypeCode of the value held in
* this <code>ObjectHolder</code> object
* this {@code ObjectHolder} object
*/
public org.omg.CORBA.TypeCode _type() {
return org.omg.CORBA.ORB.init().get_primitive_tc(TCKind.tk_objref);

View File

@@ -26,26 +26,26 @@ package org.omg.CORBA;
/**
* The Helper for <tt>OctetSeq</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/OctetSeqHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*
* The class definition has been modified to conform to the following
* OMG specifications :
* <ul>
* <li> ORB core as defined by CORBA 2.3.1
* (<a href="http://www.omg.org/cgi-bin/doc?formal/99-10-07">formal/99-10-07</a>)
* </li>
*
* <li> IDL/Java Language Mapping as defined in
* <a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">ptc/00-01-08</a>
* </li>
* </ul>
*/
* The Helper for {@code OctetSeq}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/OctetSeqHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*
* The class definition has been modified to conform to the following
* OMG specifications :
* <ul>
* <li> ORB core as defined by CORBA 2.3.1
* (<a href="http://www.omg.org/cgi-bin/doc?formal/99-10-07">formal/99-10-07</a>)
* </li>
*
* <li> IDL/Java Language Mapping as defined in
* <a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">ptc/00-01-08</a>
* </li>
* </ul>
*/
public abstract class OctetSeqHelper
{

View File

@@ -26,14 +26,14 @@ package org.omg.CORBA;
/**
* The Holder for <tt>OctetSeq</tt>. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/OctetSeqHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*/
* The Holder for {@code OctetSeq}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/OctetSeqHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from streams.idl
* 13 May 1999 22:41:36 o'clock GMT+00:00
*/
public final class OctetSeqHolder implements org.omg.CORBA.portable.Streamable
{

View File

@@ -26,21 +26,21 @@ package org.omg.CORBA;
/**
* Interfaces derived from the <tt>Policy</tt> interface allow an
* ORB or CORBA service access to certain choices that affect
* its operation. This information is accessed in a structured
* manner using interfaces derived from the <tt>Policy</tt>
* interface defined in the CORBA module. A CORBA service does not
* have to use this method of accessing operating options, but
* may choose to do so. The Security Service in particular uses
* this technique for associating Security Policy with objects
* in the system.
* An interface generated by the IDL-to-Java compiler.
* org/omg/CORBA/Policy.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl
* Saturday, July 17, 1999 12:26:20 AM PDT
*/
* Interfaces derived from the {@code Policy} interface allow an
* ORB or CORBA service access to certain choices that affect
* its operation. This information is accessed in a structured
* manner using interfaces derived from the {@code Policy}
* interface defined in the CORBA module. A CORBA service does not
* have to use this method of accessing operating options, but
* may choose to do so. The Security Service in particular uses
* this technique for associating Security Policy with objects
* in the system.
* An interface generated by the IDL-to-Java compiler.
* org/omg/CORBA/Policy.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl
* Saturday, July 17, 1999 12:26:20 AM PDT
*/
public interface Policy extends PolicyOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity
{

View File

@@ -26,14 +26,14 @@ package org.omg.CORBA;
/**
* The Helper for <tt>Policy</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/PolicyHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl
* Saturday, July 17, 1999 12:26:20 AM PDT
*/
* The Helper for {@code Policy}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/PolicyHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl
* Saturday, July 17, 1999 12:26:20 AM PDT
*/
abstract public class PolicyHelper
{

View File

@@ -25,14 +25,14 @@
package org.omg.CORBA;
/**
* The Holder for <tt>Policy</tt>. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/PolicyHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl
* Saturday, July 17, 1999 12:26:20 AM PDT
*/
* The Holder for {@code Policy}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/PolicyHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl
* Saturday, July 17, 1999 12:26:20 AM PDT
*/
public final class PolicyHolder implements org.omg.CORBA.portable.Streamable
{

View File

@@ -26,14 +26,14 @@ package org.omg.CORBA;
/**
* The Helper for <tt>PolicyList</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/PolicyListHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl
* Saturday, July 17, 1999 12:26:21 AM PDT
*/
* The Helper for {@code PolicyList}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/PolicyListHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl
* Saturday, July 17, 1999 12:26:21 AM PDT
*/
abstract public class PolicyListHelper
{

View File

@@ -26,14 +26,14 @@ package org.omg.CORBA;
/**
* The Holder for <tt>PolicyList</tt>. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/PolicyListHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl
* Saturday, July 17, 1999 12:26:21 AM PDT
*/
* The Holder for {@code PolicyList}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* org/omg/CORBA/PolicyListHolder.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl
* Saturday, July 17, 1999 12:26:21 AM PDT
*/
public final class PolicyListHolder implements org.omg.CORBA.portable.Streamable
{

View File

@@ -26,18 +26,18 @@ package org.omg.CORBA;
/**
* The interface for <tt>Policy</tt>. For more information on
* Operations interfaces, see <a href="doc-files/generatedfiles.html#operations">
* "Generated Files: Operations files"</a>.
*<P>
* org/omg/CORBA/PolicyOperations.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl
* Saturday, July 17, 1999 12:26:20 AM PDT
*/
* The interface for {@code Policy}. For more information on
* Operations interfaces, see <a href="doc-files/generatedfiles.html#operations">
* "Generated Files: Operations files"</a>.
* <P>
* org/omg/CORBA/PolicyOperations.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl
* Saturday, July 17, 1999 12:26:20 AM PDT
*/
/**
* Provides the operations for a <code>Policy</code> object.
* Provides the operations for a {@code Policy} object.
*/
public interface PolicyOperations
{
@@ -57,16 +57,16 @@ public interface PolicyOperations
int policy_type ();
/**
* Returns a copy of the <code>Policy</code> object. The copy does not retain
* Returns a copy of the {@code Policy} object. The copy does not retain
* any relationships that the policy had with any domain or object.
*
* @return a copy of the <code>Policy</code> object
* @return a copy of the {@code Policy} object
*/
org.omg.CORBA.Policy copy ();
/**
* Destroys the <code>Policy</code> object. It is the responsibility of
* the <code>Policy</code> object to determine whether it can be destroyed.
* Destroys the {@code Policy} object. It is the responsibility of
* the {@code Policy} object to determine whether it can be destroyed.
*/
void destroy ();
} // interface PolicyOperations

View File

@@ -26,14 +26,14 @@ package org.omg.CORBA;
/**
* The Helper for <tt>PolicyType</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/PolicyTypeHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl
* Saturday, July 17, 1999 12:26:20 AM PDT
*/
* The Helper for {@code PolicyType}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/PolicyTypeHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl
* Saturday, July 17, 1999 12:26:20 AM PDT
*/
// basic Policy definition

View File

@@ -31,22 +31,22 @@ import org.omg.CORBA.portable.OutputStream;
/**
* The Holder for <tt>Principal</tt>. For more information on
* The Holder for {@code Principal}. For more information on
* Holder files, see <a href="doc-files/generatedfiles.html#holder">
* "Generated Files: Holder Files"</a>.<P>
* A container class for values of type <code>Principal</code>
* A container class for values of type {@code Principal}
* that is used to store "out" and "inout" parameters in IDL methods.
* If an IDL method signature has an IDL <code>Principal</code> as an "out"
* If an IDL method signature has an IDL {@code Principal} as an "out"
* or "inout" parameter, the programmer must pass an instance of
* <code>PrincipalHolder</code> as the corresponding
* {@code PrincipalHolder} as the corresponding
* parameter in the method invocation; for "inout" parameters, the programmer
* must also fill the "in" value to be sent to the server.
* Before the method invocation returns, the ORB will fill in the
* value corresponding to the "out" value returned from the server.
* <P>
* If <code>myPrincipalHolder</code> is an instance of <code>PrincipalHolder</code>,
* the value stored in its <code>value</code> field can be accessed with
* <code>myPrincipalHolder.value</code>.
* If {@code myPrincipalHolder} is an instance of {@code PrincipalHolder},
* the value stored in its {@code value} field can be accessed with
* {@code myPrincipalHolder.value}.
*
* @since JDK1.2
* @deprecated Deprecated by CORBA 2.2.
@@ -54,25 +54,25 @@ import org.omg.CORBA.portable.OutputStream;
@Deprecated
public final class PrincipalHolder implements Streamable {
/**
* The <code>Principal</code> value held by this <code>PrincipalHolder</code>
* The {@code Principal} value held by this {@code PrincipalHolder}
* object.
*/
public Principal value;
/**
* Constructs a new <code>PrincipalHolder</code> object with its
* <code>value</code> field initialized to <code>null</code>.
* Constructs a new {@code PrincipalHolder} object with its
* {@code value} field initialized to {@code null}.
*/
public PrincipalHolder() {
}
/**
* Constructs a new <code>PrincipalHolder</code> object with its
* <code>value</code> field initialized to the given
* <code>Principal</code> object.
* @param initial the <code>Principal</code> with which to initialize
* the <code>value</code> field of the newly-created
* <code>PrincipalHolder</code> object
* Constructs a new {@code PrincipalHolder} object with its
* {@code value} field initialized to the given
* {@code Principal} object.
* @param initial the {@code Principal} with which to initialize
* the {@code value} field of the newly-created
* {@code PrincipalHolder} object
*/
public PrincipalHolder(Principal initial) {
value = initial;

View File

@@ -26,15 +26,15 @@ package org.omg.CORBA;
/**
* The Helper for <tt>RepositoryId</tt>. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
* org/omg/CORBA/RepositoryIdHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ir.idl
* 03 June 1999 11:33:43 o'clock GMT+00:00
*/
* The Helper for {@code RepositoryId}. For more information on
* Helper files, see <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.<P>
*
* org/omg/CORBA/RepositoryIdHelper.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from ir.idl
* 03 June 1999 11:33:43 o'clock GMT+00:00
*/
abstract public class RepositoryIdHelper
{

Some files were not shown because too many files have changed in this diff Show More