Compare commits

...

686 Commits

Author SHA1 Message Date
J. Duke
ef28a587f7 Merge 2017-07-05 20:33:55 +02:00
J. Duke
4c392be479 Merge 2017-07-05 20:33:50 +02:00
J. Duke
c07a51a28d Merge 2017-07-05 20:33:45 +02:00
J. Duke
b0fb6e8669 Merge 2017-07-05 20:33:41 +02:00
J. Duke
0f434665b0 Merge 2017-07-05 20:33:35 +02:00
J. Duke
286f91a526 Merge 2017-07-05 20:33:28 +02:00
J. Duke
b07d166138 Merge 2017-07-05 20:33:23 +02:00
J. Duke
5dcf5e769c Merge 2017-07-05 20:33:06 +02:00
J. Duke
77a753da21 Added tag jdk9-b64 for changeset 8ffdeabc7c2b 2017-07-05 20:32:49 +02:00
J. Duke
bd394344b3 Merge 2017-07-05 20:32:48 +02:00
J. Duke
090b93a158 Merge 2017-07-05 20:32:43 +02:00
J. Duke
85ec7fee85 Merge 2017-07-05 20:32:36 +02:00
J. Duke
9e99923017 Merge 2017-07-05 20:32:31 +02:00
J. Duke
6820f6bc3c Merge 2017-07-05 20:32:26 +02:00
J. Duke
ef00a71b84 Merge 2017-07-05 20:32:21 +02:00
J. Duke
cd66c479d1 Merge 2017-07-05 20:32:16 +02:00
J. Duke
3f834b3fcc Merge 2017-07-05 20:31:58 +02:00
J. Duke
ae938ff132 Added tag jdk9-b63 for changeset 989253a902c3 2017-07-05 20:31:06 +02:00
J. Duke
cbb7a567ca Merge 2017-07-05 20:31:05 +02:00
J. Duke
549e22fc90 Merge 2017-07-05 20:31:01 +02:00
J. Duke
ee04c5414a Merge 2017-07-05 20:30:53 +02:00
J. Duke
84371ae0b4 Merge 2017-07-05 20:30:49 +02:00
J. Duke
363c2c8116 Merge 2017-07-05 20:30:45 +02:00
J. Duke
4cc3a4c666 Merge 2017-07-05 20:30:39 +02:00
J. Duke
328a653b20 Merge 2017-07-05 20:30:34 +02:00
J. Duke
d43b3be664 Merge 2017-07-05 20:30:27 +02:00
J. Duke
f7fcffccd1 Added tag jdk9-b62 for changeset e7dbbef69d12 2017-07-05 20:30:12 +02:00
J. Duke
18bafb792c Merge 2017-07-05 20:30:11 +02:00
J. Duke
a1b3e2a77f Merge 2017-07-05 20:30:08 +02:00
J. Duke
835f5cc00c Merge 2017-07-05 20:30:02 +02:00
J. Duke
7c2815165a Merge 2017-07-05 20:29:56 +02:00
J. Duke
6407ee25ed Merge 2017-07-05 20:29:49 +02:00
J. Duke
455272b6b7 Merge 2017-07-05 20:29:43 +02:00
J. Duke
8e64919bc3 Merge 2017-07-05 20:29:40 +02:00
J. Duke
de5b4c6db3 Merge 2017-07-05 20:29:34 +02:00
J. Duke
95c5aa2ef1 Added tag jdk9-b61 for changeset ac3f5a39d4ff 2017-07-05 20:29:23 +02:00
J. Duke
7cbdcf978d Merge 2017-07-05 20:29:22 +02:00
J. Duke
d59f56e8a0 Merge 2017-07-05 20:29:18 +02:00
J. Duke
79883805e2 Merge 2017-07-05 20:29:12 +02:00
J. Duke
13666bd31b Merge 2017-07-05 20:29:06 +02:00
J. Duke
dd21caa0dd Merge 2017-07-05 20:28:59 +02:00
J. Duke
4c6b313f24 Merge 2017-07-05 20:28:54 +02:00
J. Duke
39517460b3 Merge 2017-07-05 20:28:49 +02:00
J. Duke
d17ad2f817 Merge 2017-07-05 20:28:36 +02:00
J. Duke
6f44cda10b Added tag jdk9-b60 for changeset 38f98cb6b335 2017-07-05 20:28:21 +02:00
Lana Steuck
abc09bccdb Merge 2015-05-14 20:17:02 -07:00
Lana Steuck
e2f7063479 Merge 2015-05-14 20:15:26 -07:00
Lana Steuck
6f98c532c5 Merge 2015-05-14 20:14:57 -07:00
Lana Steuck
372c3a8c86 Merge 2015-05-14 20:14:44 -07:00
Lana Steuck
893b7b77e5 Merge 2015-05-14 20:14:11 -07:00
Lana Steuck
0dea34e198 Merge 2015-05-14 20:14:02 -07:00
Valerie Peng
d296137c20 8038084: CertStore needs a way to add new CertStore types
Removed internal helper classes and reflection usage for LDAP CertStore.

Reviewed-by: mullan
2015-05-15 01:14:25 +00:00
Stuart Marks
9af3729cc7 8078463: TEST_BUG: optimize java/util/Map/Collisions.java
Reviewed-by: martin, chegar, dfuchs
2015-05-14 13:52:05 -07:00
David Katleman
24c78d855c Added tag jdk9-b64 for changeset 8b01824b0cbb 2015-05-14 12:38:15 -07:00
David Katleman
84e174a9f6 Added tag jdk9-b64 for changeset 47d774ef3c19 2015-05-14 12:38:14 -07:00
David Katleman
0e4d07e88b Added tag jdk9-b64 for changeset aca452591e50 2015-05-14 12:38:11 -07:00
David Katleman
9143fb4ddb Added tag jdk9-b64 for changeset 3901aa49fb70 2015-05-14 12:38:10 -07:00
David Katleman
1bf9b9d315 Added tag jdk9-b64 for changeset 8a60622f2e7a 2015-05-14 12:38:09 -07:00
David Katleman
bf1a7f5339 Added tag jdk9-b64 for changeset 1dbddb2a1971 2015-05-14 12:38:07 -07:00
David Katleman
32c20c0bd6 Added tag jdk9-b64 for changeset febd2373771c 2015-05-14 12:38:07 -07:00
David Katleman
b1f245e3a3 Added tag jdk9-b64 for changeset 16659396d71f 2015-05-14 12:38:06 -07:00
Naoto Sato
8f571ff813 8080342: Incorrect GPL header causes RE script to miss swap to commercial header for licensee source bundle
Reviewed-by: lancea
2015-05-14 09:50:30 -07:00
Joe Wang
6c916eb061 8080344: Incorrect GPL header causes RE script to miss swap to commercial header for licensee source bundle
Reviewed-by: lancea
2015-05-14 09:38:53 -07:00
Alan Bateman
dd45b6e84f 8080330: (cs) Charset.availableCharsets failing with NPE on several platforms
Reviewed-by: chegar
2015-05-14 13:45:23 +01:00
Joe Darcy
d95bfcad3e 8075771: Enable "missing" doclint check in build of the java.desktop module
Reviewed-by: ihse
2015-05-13 15:48:24 -07:00
Phil Race
7a78b8bd4c 8080317: Disable warning treated as error for signed/unsigned comparison in building splashscreen
Reviewed-by: ddehaven
2015-05-13 14:16:46 -07:00
Phil Race
95cc940989 Merge 2015-05-13 08:37:34 -07:00
Phil Race
da66049814 Merge 2015-05-13 08:37:17 -07:00
Attila Szegedi
68085fd188 8080295: Need to adjust test output for 8067931
Reviewed-by: jlaskey, sundar
2015-05-13 10:01:37 -05:00
Attila Szegedi
0f400ba879 8067931: Improve error message when with statement is passed a POJO
Reviewed-by: lagergren, sundar
2015-05-13 09:38:59 -05:00
Michael Haupt
538f0b4f06 8080286: use path separator setting consistently in Nashorn project properties
Replace uses of ":" with platform-independent path separator property

Reviewed-by: hannesw, sundar
2015-05-13 15:41:46 +02:00
Vinnie Ryan
b0a84916a2 8068180: sun/security/pkcs11 tests are still in ProblemList.txt
Reviewed-by: mullan
2015-05-13 13:06:37 +01:00
Pooja Chopra
42e679312b 8079428: [TEST_BUG] Test javax/swing/plaf/windows/6921687/bug6921687.java fails
Reviewed-by: serb, azvegint
2015-05-13 13:54:49 +03:00
Athijegannathan Sundararajan
c8dc03d400 8080182: Array.prototype.sort throws IAE on inconsistent comparison
Reviewed-by: lagergren, hannesw
2015-05-13 12:45:14 +05:30
Jeremy Manson
292354a1fe 8079841: Buffer underflow with empty zip entry names
Check for zero-length entry name before accessing "last" byte

Reviewed-by: sherman, martin
2015-05-12 14:39:36 -07:00
Bhavesh Patel
a33f1ed55d 8065077: MethodTypes are not localized
Reviewed-by: ksrini
2015-05-12 12:02:48 -07:00
Sean Mullan
5dbc7756f6 8075706: Policy implementation does not allow policy.provider to be on the class path
Reviewed-by: alanb, mchung
2015-05-12 13:13:06 -04:00
Ed Nevill
a65f9f9589 8079203: AARCH64: Need to cater for different partner implementations
Parse /proc/cpuinfo to derive implementation specific info

Reviewed-by: kvn
2015-05-12 13:58:42 +00:00
Pavel Rappo
431c16c78d 8029689: (spec) Reader.read(char[], int, int) throws unspecified IndexOutOfBoundsException
Reviewed-by: chegar, lancea
2015-05-12 13:59:31 +01:00
Daniel Fuchs
04f236baec 8079773: java/util/logging/LogManager/TestLoggerNames.java
Fixed a race condition in the test which was responsible of the intermittent failure.

Reviewed-by: mchung
2015-05-12 14:32:50 +02:00
Magnus Ihse Bursie
62836eec59 8080082: configure fails if you create an empty directory and then run configure from it
Reviewed-by: dholmes, erikj
2015-05-12 13:24:34 +02:00
Paul Sandoz
0e7987c721 8078645: removeIf(filter) in ConcurrentHashMap removes entries for which filter is false
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: martin, dholmes
2015-05-12 10:50:40 +02:00
Athijegannathan Sundararajan
ee03c0e102 8080090: -d option should dump script source as well
Reviewed-by: hannesw, lagergren
2015-05-12 12:40:33 +05:30
Erik Joelsson
02a2d027b7 8039426: gcc can target wrong instruction set when building JDK native code
Reviewed-by: ihse, dholmes
2015-05-12 09:08:03 +02:00
Joe Darcy
7ceb605aa6 8053918: make the spec for @Documented comprehensible
Reviewed-by: jjg, abuckley
2015-05-11 17:54:03 -07:00
Athijegannathan Sundararajan
fd0591c105 8080042: can't build nashorn.jar from jdk9-dev/nashorn using jdk8 installation as JAVA_HOME
Reviewed-by: lagergren, jlaskey
2015-05-11 22:57:24 +05:30
Magnus Ihse Bursie
d31d389d15 8080013: OpenJDK windows build fails due to warning in libfontmanager
Reviewed-by: erikj
2015-05-11 14:15:48 +02:00
Magnus Ihse Bursie
7fb09ab821 8079891: Store configure log in $BUILD/configure.log
Reviewed-by: erikj
2015-05-11 13:45:39 +02:00
Athijegannathan Sundararajan
6ede1d2199 8079900: javadoc is missing for jdk.nashorn.api.tree package
Reviewed-by: lagergren, erikj
2015-05-11 16:39:31 +05:30
Sean Mullan
96b94e09d7 8034820: Wrong isAssignableFrom test when adding Principal to Subject
Reviewed-by: valeriep
2015-05-11 07:03:24 -04:00
Sean Mullan
fee090c692 6470634: Typos in CardTerminals.list(CardTerminals.State) javadoc
Reviewed-by: xuelei
2015-05-08 09:05:15 -04:00
Chris Hegarty
008fee0591 8079782: RandomFactory should be in the jdk.testlibrary package
Reviewed-by: bpb
2015-05-08 11:02:33 +01:00
Amy Lu
94dbab9120 8079651: (dc) Promiscuous.java fails with NumberFormatException due to network interference
Reviewed-by: alanb, chegar
2015-05-08 10:22:18 +01:00
Magnus Ihse Bursie
723a1a75aa 8074859: Turn on warnings as error
Reviewed-by: erikj
2015-05-08 10:37:14 +02:00
Magnus Ihse Bursie
7ec9ed5041 8074859: Turn on warnings as error
Reviewed-by: erikj
2015-05-08 10:37:13 +02:00
Aleksei Efimov
4b9b3c027f 8062518: AIOBE occurs when accessing to document function in extended function in JAXP
Reviewed-by: joehw
2015-05-08 11:07:35 +03:00
Magnus Ihse Bursie
4f0d955e38 8079771: Fix SoundLibraries.gmk mismerge after JDK-8072665
Reviewed-by: dholmes, erikj
2015-05-08 09:42:36 +02:00
Lana Steuck
bd76b11aed Merge 2015-05-07 20:51:12 -07:00
Lana Steuck
a82a4a967e Merge 2015-05-07 20:50:57 -07:00
Lana Steuck
6bccaed81e Merge 2015-05-07 20:50:49 -07:00
Lana Steuck
8bfa00092c Merge 2015-05-07 20:50:07 -07:00
Lana Steuck
dbb8e5a9d8 Merge 2015-05-07 20:49:48 -07:00
Lana Steuck
349a50ce11 Merge 2015-05-07 20:49:31 -07:00
Brian Burkhalter
c0d7208b4b 8065109: (fs spec) Files.newBufferedWriter doesn't specify SecurityException for DELETE_ON_CLOSE option
Add to specification of newBufferedWriter() and write() methods that the DELETE_ON_CLOSE option triggers invoking checkDelete().

Reviewed-by: alanb
2015-05-07 16:12:10 -07:00
David Katleman
2595eb3a91 Added tag jdk9-b63 for changeset 3564e7eeaead 2015-05-07 10:19:37 -07:00
David Katleman
99ef3918ed Added tag jdk9-b63 for changeset 06dd4411e4ca 2015-05-07 10:19:37 -07:00
David Katleman
4e66b46f21 Added tag jdk9-b63 for changeset adea7866d41a 2015-05-07 10:19:34 -07:00
David Katleman
01ebe283c1 Added tag jdk9-b63 for changeset fe75ee04f0d5 2015-05-07 10:19:33 -07:00
David Katleman
58af4a9436 Added tag jdk9-b63 for changeset 3efcc9d8fe88 2015-05-07 10:19:33 -07:00
David Katleman
e23b8ed0b7 Added tag jdk9-b63 for changeset 8245edf58a44 2015-05-07 10:19:31 -07:00
David Katleman
cc141f492d Added tag jdk9-b63 for changeset 7a3b72d2f7e4 2015-05-07 10:19:31 -07:00
David Katleman
df185a6167 Added tag jdk9-b63 for changeset b8951994eaee 2015-05-07 10:19:30 -07:00
Naoto Sato
9a104f4c57 8079186: Add 'localeServiceProvider' target in the class description of RuntimePermission
Reviewed-by: mullan
2015-05-07 08:55:17 -07:00
Volker Simonis
4fcd8e1b26 8079510: AIX: fix build after '8042901: Allow com.sun.management to be in a different module...'
Reviewed-by: goetz
2015-05-07 17:29:05 +02:00
Ed Nevill
69aa7ea566 8079507: aarch64: fails to build due to changes to template interpreter
Fix by merging in changes from fix for 8074345

Reviewed-by: kvn
2015-05-07 13:58:57 +00:00
Katja Kantserova
549731dc2f 8078896: Add @modules as needed to the jdk_svc tests
Reviewed-by: alanb, mchung
2015-05-07 09:11:49 +02:00
Joe Darcy
709770f935 8079544: Mark java/util/regex/RegExTest.java as failing intermittently
Reviewed-by: sherman
2015-05-06 16:00:15 -07:00
Alexander Stepanov
1e20f048f1 8079478: some docs cleanup for sun.security
Some docs cleanup

Reviewed-by: weijun
2015-05-06 21:15:07 +04:00
Sergey Bylokhov
bcbb909487 6206437: Typo in JInternalFrame setDefaultCloseOperation() doc (WindowClosing --> internalFrameClosing)
Reviewed-by: alexsch, azvegint
2015-05-06 18:30:31 +03:00
Attila Szegedi
3ac44fdc58 8066751: Remove casts redundant with Java 9 buffer APIs
Reviewed-by: hannesw, sundar
2015-05-06 16:48:31 +02:00
Athijegannathan Sundararajan
b9fbd2d32d 8079470: Misleading error message when explicit signature constructor is called with wrong arguments
Reviewed-by: jlaskey, hannesw
2015-05-06 20:04:42 +05:30
Sergey Bylokhov
8003b33919 8079217: JRE installation is stuck at Progress dialog : redux
Reviewed-by: prr, ant
2015-05-06 17:31:48 +03:00
Hannes Wallnöfer
a2301acb62 8066237: Fuzzing bug: Parser error on optimistic recompilation
Reviewed-by: lagergren, attila
2015-05-06 16:22:22 +02:00
Attila Szegedi
421b276f85 8079362: Enforce best practices for Node token API usage
Reviewed-by: hannesw, sundar
2015-05-06 15:46:54 +02:00
Magnus Ihse Bursie
45c77a184b 8078046: Remove MCS post-processing on Solaris
Reviewed-by: dholmes
2015-05-06 15:30:51 +02:00
Attila Szegedi
79086bc842 8079349: Eliminate dead code around Nashorn code generator
Reviewed-by: hannesw, lagergren
2015-05-06 13:36:42 +02:00
Alexander Stepanov
f1ceebf3a5 8079342: some docs cleanup for CORBA - part 2
Some fixes for CORBA docs

Reviewed-by: lancea
2015-05-06 15:10:46 +04:00
Erik Joelsson
0cd8ff5e10 8079344: Allow custom or platform specific java source to automatically override shared source
Reviewed-by: ihse
2015-05-06 11:15:27 +02:00
Magnus Ihse Bursie
50d1f86836 8078058: Clean up mac bundles logic
Reviewed-by: erikj
2015-05-06 10:47:21 +02:00
Magnus Ihse Bursie
968a4d3e25 8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
Reviewed-by: mchung
2015-05-06 10:26:10 +02:00
Michael Fang
ffa8bcf6ef 8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
Reviewed-by: mchung
2015-05-06 10:25:51 +02:00
Daniel D. Daugherty
a692523e95 8079359: disable JDK-8061553 optimization while JDK-8077392 is resolved
Borrow an unused SyncFlags value to disable the "fast enter" optimization.

Reviewed-by: lana, dsamersoff, amurillo
2015-05-05 18:57:57 -07:00
Artem Smotrakov
ccb64b56b2 8076486: [TESTBUG] javax/security/auth/Subject/doAs/NestedActions.java fails if extra VM options are given
Reviewed-by: weijun
2015-05-06 09:22:03 +08:00
Kumar Srinivasan
e4df48efea 8078225: tools/launcher/FXLauncherTest.java fails intermittently (win)
Reviewed-by: darcy
2015-05-05 18:18:06 -07:00
Joe Darcy
3830136846 8079419: Update to RegEx test to use random number library
Reviewed-by: sherman
2015-05-05 15:34:22 -07:00
Jason Uh
53ae2943eb 8058543: Certificate returns null Subject Alternative Name if it is an X400Address type
Reviewed-by: weijun
2015-05-05 14:44:39 -07:00
Phil Race
b8cf472fe8 Merge 2015-05-05 13:29:31 -07:00
Phil Race
63d4368f9d Merge 2015-05-05 13:29:12 -07:00
Vinnie Ryan
99e090089e 8079129: NullPointerException in PKCS#12 Keystore in PKCS12KeyStore.java
Reviewed-by: weijun
2015-05-05 17:55:16 +01:00
Attila Szegedi
dbcd4aef5f 8079269: Optimistic rewrite in object literal causes ArrayIndexOutOfBoundsException
Reviewed-by: hannesw, lagergren
2015-05-05 18:35:29 +02:00
Alejandro Murillo
951a720756 Merge 2015-05-05 08:11:41 -07:00
Alejandro Murillo
bc6eae682e Merge 2015-05-05 08:11:41 -07:00
Alejandro Murillo
2d0057c754 Merge 2015-05-05 08:11:39 -07:00
Andreas Lundblad
560419ac2f 8079335: The field Gen.stringBufferType is no longer needed (and not always initialized properly)
Removed Gen.stringBufferType field.

Reviewed-by: jlahoda, mcimadamore
2015-05-05 15:47:38 +02:00
Hannes Wallnöfer
08e8a63ab5 8078612: Persistent code cache should support more configurations
Reviewed-by: lagergren, attila
2015-05-05 14:30:00 +02:00
Hannes Wallnöfer
b3fa231c01 8078049: Nashorn crashes when attempting to start TypeScript compiler
Reviewed-by: lagergren, attila
2015-05-05 14:23:43 +02:00
Alexander Stepanov
9e57400034 8079075: some docs cleanup for CORBA - part 1
Some fix for CORBA docs

Reviewed-by: rriggs
2015-05-05 15:17:13 +04:00
Erik Joelsson
363a7c515f 8079087: Add support for Cygwin 2.0
Reviewed-by: tbell
2015-05-05 12:45:54 +02:00
Ed Nevill
45ae6536d6 8078245: AARCH64: JDK fails to build due to undefined symbol in libpng
Add -DPNG_ARM_NEON_OPT=0 to LIBSPLASHSCREEN_CFLAGS flags

Reviewed-by: dholmes, ihse, erikj
2015-05-05 09:08:20 +00:00
Weijun Wang
3db31d77fc 8078439: SPNEGO auth fails if client proposes MS krb5 OID
Reviewed-by: valeriep
2015-05-05 21:14:12 +08:00
Erik Joelsson
9caa55bf9c 8077422: hprof agent: Build failed with VS2013 Update 4
Reviewed-by: sla, tbell
2015-05-05 12:49:11 +02:00
Weijun Wang
b4dc8b67ff 8078495: End time checking for native TGT is wrong
Reviewed-by: xuelei
2015-05-04 17:56:33 +08:00
Staffan Larsen
4385df0f3d 8079248: JDK fails with "jdk\\bin\\management_ext.dll: The specified procedure could not be found"
Reviewed-by: jbachorik, dholmes, erikj, ihse
2015-05-04 11:35:10 +02:00
Peter Levart
b308a894cf 8074003: java.time.zone.ZoneRules.getOffset(java.time.Instant) can be optimized
Make epochSecond part of ZoneOffsetTransition so it doesn't have to be recomputed frequently

Reviewed-by: scolebourne, rriggs
2015-05-04 10:13:19 +02:00
Aleksei Efimov
c565cf62f8 8077685: (tz) Support tzdata2015d
Reviewed-by: okutsu
2015-05-02 22:51:45 +03:00
Alejandro Murillo
40dd1bad2c Merge 2015-05-02 00:16:29 -07:00
Jon Masamitsu
4d62005c68 8079235: quarantine TestLargePageUseForAuxMemory.java
Reviewed-by: kvn
2015-05-01 16:22:41 -07:00
Vladimir Kozlov
a8e9687134 8079231: quarantine compiler/jsr292/CallSiteDepContextTest.java
Reviewed-by: dlong
2015-05-01 14:23:42 -07:00
Alejandro Murillo
b085289954 Merge 2015-05-01 03:56:04 -07:00
Alejandro Murillo
c185e9a5bf Merge 2015-05-01 03:56:04 -07:00
Alejandro Murillo
1f1263c18d Merge 2015-05-01 03:56:01 -07:00
Alejandro Murillo
d83bdb4157 Merge 2015-05-01 03:56:01 -07:00
Jonathan Gibbons
6bed31f1c5 8079191: remove remaining references to "cp -p" from langtools/test
Reviewed-by: vromero
2015-04-30 17:35:03 -07:00
Lana Steuck
34a831bf70 Merge 2015-04-30 17:21:28 -07:00
Lana Steuck
381737a6a5 Merge 2015-04-30 17:21:20 -07:00
Lana Steuck
13e3d56103 Merge 2015-04-30 17:20:49 -07:00
Lana Steuck
b117b46c29 Merge 2015-04-30 17:20:25 -07:00
Lana Steuck
083bc08074 Merge 2015-04-30 17:20:04 -07:00
Joe Darcy
7dfccc294e 8079107: Update TestKeyPairGenerator.java to use random number generator library
Reviewed-by: mullan
2015-04-30 16:51:53 -07:00
Bharadwaj Yadavalli
9e764c9abf Merge 2015-04-30 18:15:01 -04:00
Bharadwaj Yadavalli
f8d0a6ff28 Merge 2015-04-30 18:14:58 -04:00
David Katleman
5697364521 Added tag jdk9-b62 for changeset 2ae39df23f8e 2015-04-30 13:02:10 -07:00
David Katleman
2c9b2f1c5a Added tag jdk9-b62 for changeset e36081ad2470 2015-04-30 13:02:09 -07:00
David Katleman
f2b1241b66 Added tag jdk9-b62 for changeset d7b621c7a8d5 2015-04-30 13:02:06 -07:00
David Katleman
035753322e Added tag jdk9-b62 for changeset 2c8ff5cb2faa 2015-04-30 13:02:05 -07:00
David Katleman
98e86b9fc4 Added tag jdk9-b62 for changeset db70d6ebfa97 2015-04-30 13:02:05 -07:00
David Katleman
33e151add2 Added tag jdk9-b62 for changeset d9c8742b7f8a 2015-04-30 13:02:03 -07:00
David Katleman
7064ad9b78 Added tag jdk9-b62 for changeset 27f6a088fa6a 2015-04-30 13:02:02 -07:00
David Katleman
e792edab0c Added tag jdk9-b62 for changeset 4440a52322d5 2015-04-30 13:02:01 -07:00
Andrew Brygin
3034b7f80b 8073001: Java's system LnF on OS X: editable JComboBoxes are being rendered incorrectly
Reviewed-by: alexp, serb
2015-04-30 16:47:05 +03:00
Alexander Zvegintsev
71bcae933a 8077982: GIFLIB upgrade
Reviewed-by: ant, serb
2015-04-30 16:02:42 +03:00
Andreas Lundblad
bd17f06ead 8044196: Incorrect applying of repeatable annotations with incompatible target to type parameter
Additional applicability checks added.

Reviewed-by: jlahoda
2015-04-30 12:21:50 +02:00
Victor Dyakov
f97624c3a6 8078614: WindowsClassicLookAndFeel MetalComboBoxUI.getbaseLine fails with IllegalArgumentException
Reviewed-by: serb, azvegint, alexsch
2015-04-30 14:04:39 +04:00
Brian Burkhalter
30e8183ee8 8078672: Print and allow setting by Java property seeds used to initialize Random instances in java.lang numerics tests
Add ability to initial the random number generator from the system property "seed" and print to STDOUT the seed value actually used.

Reviewed-by: darcy
2015-04-29 16:34:49 -07:00
Andrew Dinn
c9ba8831c6 8078654: CloseTTFontFileFunc callback should be removed
Reviewed-by: prr, martin
2015-04-29 16:02:57 -07:00
Jonathan Gibbons
8c93ae0560 8078054: [TESTBUG] tools/javac/Paths/wcMineField.sh failed with "operation not permitted"
Reviewed-by: darcy
2015-04-29 15:05:33 -07:00
Roland Westrelin
3cdae26a75 8078426: mb/jvm/compiler/InterfaceCalls/testAC2 - assert(predicate_proj == 0L) failed: only one predicate entry expected
Split if finds predicates on several incoming paths when unswitched's loops are optimized out

Reviewed-by: kvn
2015-04-29 14:43:12 -07:00
Erik Joelsson
20afeb9907 8078437: Enable use of devkits for Windows
Reviewed-by: ihse
2015-04-29 22:33:42 +02:00
Phil Race
722ec3f5ed 8079067: New version string scheme - Java2D
Reviewed-by: serb, jgodinez, iris
2015-04-29 12:57:24 -07:00
Severin Gehwolf
add46c476a 8078666: JVM fastdebug build compiled with GCC 5 asserts with "widen increases"
Do the math on the unsigned type where overflows are well defined

Reviewed-by: kvn, aph
2015-04-29 12:23:48 -07:00
Naoto Sato
ae93bb2873 8075545: Add permission check for locale service provider implementations
Reviewed-by: mchung, alanb
2015-04-29 11:03:56 -07:00
Joe Darcy
86c109e149 8078334: Mark regression tests using randomness
Reviewed-by: xuelei, alanb
2015-04-29 10:25:53 -07:00
Phil Race
b61e85156e 8076979: DebugFonts.java fails with stackoverflow error
Reviewed-by: serb, jgodinez
2015-04-29 10:25:49 -07:00
Phil Race
5e68af873f 8078331: Upgrade JDK to use LittleCMS 2.7
Reviewed-by: serb, bae
2015-04-29 10:22:54 -07:00
Phil Race
e8787ce018 Merge 2015-04-29 09:44:24 -07:00
Sergey Bylokhov
56e9125ea4 8078216: JRE installation is stuck at Progress dialog
Reviewed-by: prr, ddehaven
2015-04-29 19:43:55 +03:00
Victor Dyakov
a7ad7b97e2 8031109: Rendering HTML code in JEditorPane throws NumberFormatException
Reviewed-by: azvegint, alexsch
2015-04-29 20:06:35 +04:00
Phil Race
60bb43ad32 Merge 2015-04-29 08:52:47 -07:00
Joe Darcy
84bc5a8a04 8078880: Mark a few more intermittently failuring security-libs
Reviewed-by: xuelei
2015-04-29 08:37:57 -07:00
Alexander Stepanov
86a3e55dec 8078528: clean out tidy warnings from security.auth
Some HTML markup fixes for docs

Reviewed-by: xuelei
2015-04-29 17:29:14 +04:00
Alexander Zvegintsev
70a2e7923c 8051617: Fullscreen mode is not working properly on Xorg
Reviewed-by: alexsch, serb
2015-04-29 12:54:36 +03:00
Jonathan Gibbons
74169dee6e 8078861: tools/javac/classfiles/attributes/Synthetic/PackageInfoTest.java fails on Windows
Reviewed-by: vromero
2015-04-28 18:57:51 -07:00
Coleen Phillimore
01aedea8fc Merge 2015-04-29 02:35:29 +02:00
Sergey Bylokhov
324b186f1b 4703110: java.awt.Canvas(GraphicaConfiguration): null reaction
Reviewed-by: azvegint, ant
2015-04-29 02:55:39 +03:00
Nils Eliasson
fae244a8b0 8077590: windows_i586_6.2-product-c2-runThese8_Xcomp_vm failing after win compiler upgrade
Add /arch:IA32 flag to windows ia32 builds to force x87 codepath

Reviewed-by: kvn, dholmes
2015-04-28 14:46:19 -07:00
Christian Tornqvist
8923c30225 8077994: [TESTBUG] Exclude compiler/floatingpoint/ModNaN.java
Reviewed-by: hseigel, ccheung
2015-04-28 14:45:57 -07:00
Laurent Bourgès
e41e267848 8078464: Path2D storage growth algorithms should be less linear
Reviewed-by: flar
2015-04-28 14:23:03 -07:00
Coleen Phillimore
d380c068d5 Merge 2015-04-28 23:04:16 +02:00
Coleen Phillimore
8a788d57db 8068352: Move virtualspace.* out of src/share/vm/runtime to memory directory
Move virtualspace.* out of src/share/vm/runtime to memory directory

Reviewed-by: brutisso, sgehwolf, stefank, sspitsyn
2015-04-28 16:46:39 -04:00
Andreas Lundblad
4c307784ae 8078600: Infinite loop when compiling annotations with -XDcompletionDeps
Added Completer::isTerminal and added NULL_COMPLETER.

Reviewed-by: jlahoda, mcimadamore
2015-04-28 22:25:36 +02:00
Brian Burkhalter
6929be6fff 8075156: (prefs) get*() and remove() should disallow the use of the null control character '\u0000' as key
Extend disallowing null control character key to remove()

Reviewed-by: rriggs, alanb
2015-04-28 11:10:45 -07:00
Alexander Stepanov
0bdbfa87dc 8076224: some tidy warnings from core libs
Minor HTML markup fix

Reviewed-by: rriggs, lancea
2015-04-28 21:30:10 +04:00
Brian Burkhalter
d44ef60eb0 8024086: (fs) AtomicMoveNotSupportedException allows reason to be null
Modify javadoc specification of 'reason' parameter to allow null

Reviewed-by: alanb
2015-04-28 10:12:15 -07:00
Alexander Scherbatiy
6dd76600b3 8044444: The output's 'Page-n' footer does not show completely
Reviewed-by: prr, serb
2015-04-28 19:32:50 +04:00
Roger Riggs
41b36c4295 8078826: Add diagnostic info for java/lang/Runtime/exec/LotsOfOutput.java fails intermittently
Add debugging output for diagnose intermittent failure

Reviewed-by: chegar, joehw
2015-04-28 09:28:24 -04:00
Sergey Bylokhov
aca583b3e9 8077267: Typo in the test on JavaBean
Reviewed-by: alexsch, malenkov
2015-04-28 16:24:04 +03:00
Yasumasa Suenaga
649f4e881e 8076212: AllocateHeap() and ReallocateHeap() should be inlined
NMT with detail option reports incorrect caller address on Linux.

Reviewed-by: dholmes, coleenp
2015-04-28 19:04:39 +09:00
Srikanth Adayapalam
0b27399a55 8076279: Refactor Attr.check* methods to receive/handle a CheckMode enumeration
Internal cleanup to Attr.check to make use of a new abstraction CheckMode

Reviewed-by: mcimadamore
2015-04-28 15:20:25 +05:30
Andrei Eremeev
153dc079bb 8044537: Implement classfile tests for Synthetic attribute
Reviewed-by: jjg, shurailine, anazarov
2015-04-28 11:08:25 +03:00
Goetz Lindenmaier
ad5f4f4f84 8078595: [TESTBUG] Fix runtime/StackGuardPages/testme.sh to deal with 64k pages
Reviewed-by: dholmes
2015-04-28 03:27:10 -04:00
Serguei Spitsyn
f7c143cbb2 8073705: more performance issues in class redefinition
Optimize the method pointer adjustments for prev klass versions and MNT

Reviewed-by: dcubed, coleenp
2015-04-27 19:51:00 -07:00
Roger Riggs
642e0ac6f1 8078369: [testbug] java/time/tck/java/time/TCKOffsetTime[now] fails on slow devices
Increase the tolerance between successive calls to now() to 20sec

Reviewed-by: scolebourne, sherman, dfuchs
2015-04-27 16:31:47 -04:00
Phil Race
440ee25928 Merge 2015-04-27 09:17:48 -07:00
Phil Race
96700da961 Merge 2015-04-27 09:17:39 -07:00
Christian Thalinger
8abeeabcef 8022853: add ability to load uncompressed object and Klass references in a compressed environment to Unsafe
Reviewed-by: coleenp, jrose, kvn
2015-04-27 09:02:48 -07:00
Christian Thalinger
8cb760c280 8022853: add ability to load uncompressed object and Klass references in a compressed environment to Unsafe
Reviewed-by: coleenp, jrose, kvn
2015-04-27 09:02:41 -07:00
Jan Lahoda
b97b136530 8077605: Initializing static fields causes unbounded recursion in javac
Improving detection of potential constant variable initializers; preventing infinite recursion on exception during Attr.visitLambda.

Reviewed-by: mcimadamore, vromero
2015-04-27 16:31:29 +02:00
Artem Smotrakov
64969c0889 8075007: Additional tests for krb5-related cipher suites with unbound server
Reviewed-by: weijun
2015-04-27 21:02:40 +08:00
Christian Tornqvist
f3d9ccc4af Merge 2015-04-27 14:41:49 +02:00
Christian Tornqvist
021adf731b Merge 2015-04-27 14:41:49 +02:00
Srikanth Adayapalam
e57ef90dd9 8078473: javac diamond finder crashes when used to build java.base module
Reviewed-by: mcimadamore
2015-04-27 17:36:20 +05:30
Hannes Wallnöfer
c8634327e8 8053905: Eager code generation fails for earley boyer with split threshold set to 1000
Reviewed-by: attila, lagergren
2015-04-27 12:50:21 +02:00
Hannes Wallnöfer
9becc306ef 8066407: Function with same body not reparsed after SyntaxError
Reviewed-by: attila, lagergren
2015-04-27 12:27:33 +02:00
Jaroslav Bachorik
a79d202015 8076971: sun/management/jmxremote/startstop/JMXStatusTest.java failed with AssertionError
Reviewed-by: sla, dholmes
2015-04-27 10:13:21 +02:00
Jaroslav Bachorik
883ba19236 8077402: JMXStartStopTest fails intermittently on slow hosts
Reviewed-by: sla, dholmes
2015-04-27 10:12:56 +02:00
Srikanth Adayapalam
f2ee4e4240 8078592: Compiler fails to reject erroneous use of diamond with anonymous classes involving "fresh" type variables
Reviewed-by: mcimadamore
2015-04-25 15:59:54 +05:30
Alexander Stepanov
a4a2831215 8078622: remove tidy warnings from JPDA docs
Minor HTML markup fix

Reviewed-by: lancea
2015-04-24 20:51:41 +04:00
Andrew Haley
a4c5e8666b 8078621: AARCH64: Fails to build without precompiled headers
Fix #includes.

Reviewed-by: kvn
2015-04-24 16:28:29 +01:00
Andrew Haley
d432c4f177 Merge 2015-04-24 16:19:59 +01:00
Doug Lea
37fbfc1a3d 8078490: Missed submissions in ForkJoinPool
Reviewed-by: psandoz, shade, martin, chegar
2015-04-24 15:39:41 +02:00
Andrew Brygin
82a710eb0f 8076455: IME Composition Window is displayed on incorrect position
Reviewed-by: serb, azvegint
2015-04-24 15:45:25 +03:00
Ed Nevill
650d8b7cb6 8075930: AARCH64: Use FP Register in C2
Modify to allow C2 to allocate FP (R29) as a general register

Reviewed-by: aph, kvn, dlong
2015-04-24 11:01:37 +00:00
Staffan Larsen
07f28ae897 8078519: Can't run SA tools from a non-images build
Reviewed-by: mchung, alanb, dsamersoff
2015-04-24 09:07:21 +02:00
Joe Darcy
2be6b496fa 8078560: The crash reporting URL listed by javac needs to be updated
Reviewed-by: mcimadamore
2015-04-23 18:21:26 -07:00
Lana Steuck
3a0c5d5da2 Merge 2015-04-23 16:12:25 -07:00
Lana Steuck
c3d9eb46c4 Merge 2015-04-23 16:12:16 -07:00
Lana Steuck
91b8b03052 Merge 2015-04-23 16:12:01 -07:00
Lana Steuck
7247553019 Merge 2015-04-23 16:11:17 -07:00
Lana Steuck
bee048a2b7 Merge 2015-04-23 16:10:59 -07:00
Lana Steuck
cc3a5f23de Merge 2015-04-23 16:10:19 -07:00
Lana Steuck
346465f50d Merge 2015-04-23 16:09:35 -07:00
Calvin Cheung
22611f6936 Merge 2015-04-23 14:09:59 -07:00
Christian Tornqvist
82cffb6a3a 8078383: [TESTBUG] Merge hotspot_runtime and hotspot_runtime_closed in jprt test set
Reviewed-by: mseledtsov, dholmes
2015-04-23 12:47:56 -07:00
Christian Tornqvist
b650eebda9 8078383: [TESTBUG] Merge hotspot_runtime and hotspot_runtime_closed in jprt test set
Reviewed-by: mseledtsov, dholmes
2015-04-23 12:47:23 -07:00
Christian Tornqvist
2c1171b8f4 8078435: [TESTBUG] runtime/CommandLine/TestVMOptions.java fails when running with an OpenJDK build
Reviewed-by: mseledtsov, hseigel
2015-04-23 12:46:42 -07:00
Stanislav Baiduzhyi
fc822a824b 8074761: Empty optional parameters of LDAP query are not interpreted as empty
Reviewed-by: vinnie
2015-04-23 13:48:02 -04:00
David Katleman
ea43882328 Added tag jdk9-b61 for changeset 3fd41cdba15e 2015-04-23 10:43:39 -07:00
David Katleman
a833fc7f0b Added tag jdk9-b61 for changeset a136157ff9ef 2015-04-23 10:43:38 -07:00
David Katleman
0a989f81f2 Added tag jdk9-b61 for changeset d729bb3d4ba9 2015-04-23 10:43:35 -07:00
David Katleman
b88568f8f3 Added tag jdk9-b61 for changeset c1d81046cbc7 2015-04-23 10:43:34 -07:00
David Katleman
ad144404c6 Added tag jdk9-b61 for changeset 2146836f6f52 2015-04-23 10:43:34 -07:00
David Katleman
c9fe7f285d Added tag jdk9-b61 for changeset c4d54ad0280d 2015-04-23 10:43:31 -07:00
David Katleman
605f7470bd Added tag jdk9-b61 for changeset 09af07f9398c 2015-04-23 10:43:31 -07:00
David Katleman
455b12614b Added tag jdk9-b61 for changeset a074643872c1 2015-04-23 10:43:30 -07:00
Andrew Dinn
294d9dce7f 8078263: AARCH64: Volatile fields should be accessed with ldar and stlr
Ad file rules now generate load acquire and store release for volatile accesses

Reviewed-by: kvn
2015-04-23 17:53:38 +01:00
Joe Darcy
d112215fc2 8078467: Update core libraries to use diamond with anonymous classes
Reviewed-by: mchung, alanb
2015-04-23 09:32:35 -07:00
Severin Gehwolf
f381346db0 8078504: Zero fails to build
Reviewed-by: kvn, simonis
2015-04-23 17:42:06 +02:00
Vladimir Ivanov
7840b0e7c1 8059455: LambdaForm.prepare() does unnecessary work for cached LambdaForms
Reviewed-by: psandoz
2015-04-23 18:01:38 +03:00
Volker Simonis
476d962701 8078520: [TESTBUG] fix 'test/tools/launcher/ExecutionEnvironment.java' to run on arbitrary *nix systems
Reviewed-by: ksrini
2015-04-24 09:37:06 +02:00
Joe Darcy
dd2c3d1c22 8078468: Update security libraries to use diamond with anonymous classes
Reviewed-by: weijun
2015-04-23 18:51:18 -07:00
Roland Westrelin
cb19c4b63a 8078444: compiler/arraycopy/TestArrayCopyNoInitDeopt.java fails with exception 'm2 not deoptimized'
Some platform don't have speculative types

Reviewed-by: kvn
2015-04-23 16:38:08 +02:00
Zoltan Majo
4a038936e3 Merge 2015-04-27 11:01:29 +02:00
Zoltan Majo
a452b030ce 8068945: Use RBP register as proper frame pointer in JIT compiled code on x86
Introduce the PreserveFramePointer flag to control if RBP is used as the frame pointer or as a general purpose register.

Reviewed-by: kvn, roland, dlong, enevill, shade
2015-04-27 10:49:43 +02:00
Anton Nashatyrev
2c3844609c 8078165: [macosx] NPE when attempting to get image from toolkit
Reviewed-by: serb, alexp
2015-04-23 17:33:19 +03:00
Jesper Wilhelmsson
e8a6f321c1 Merge 2015-04-23 16:09:21 +02:00
Sergey Bylokhov
e75b6c9ab8 6829245: Reg test: java/awt/Component/isLightweightCrash/StubPeerCrash.java fails
Reviewed-by: azvegint, alexsch
2015-04-23 16:54:54 +03:00
Artem Smotrakov
f3a11c507f 8048138: Tests for JAAS callbacks
Reviewed-by: weijun
2015-04-23 18:01:01 +08:00
Goetz Lindenmaier
879707ab31 8078482: ppc: pass thread to throw_AbstractMethodError
Also improve check for Safepoints in signal handler.

Reviewed-by: kvn, simonis
2015-04-23 09:27:02 +02:00
Sergey Bylokhov
8941d4be24 8078115: Applets now require "modifyThread" permission to exit on windows
Reviewed-by: azvegint, alexsch
2015-04-22 20:41:37 +01:00
Vicente Romero
4693c79e67 8078433: javac, some tests are failing after JDK-8078024 because of golden files mismatch
Reviewed-by: darcy
2015-04-22 11:39:06 -07:00
Kim Barrett
5f1b96662a 8078023: verify_no_cset_oops found reclaimed humongous object in SATB buffer
Removed no longer valid checking of SATB buffers

Reviewed-by: jmasa, pliden
2015-04-22 14:06:49 -04:00
Vicente Romero
8c8261cbad 8078024: javac, several incorporation steps are silently failing when an error should be reported
Reviewed-by: mcimadamore
2015-04-22 09:44:15 -07:00
Aleksey Shipilev
dc67bb0a0e 8076987: C1 should support conditional card marks (UseCondCardMark)
Reviewed-by: iveresov, roland
2015-04-22 19:10:03 +03:00
Vladimir Ivanov
b30f24676e 8078309: compiler/jsr292/MHInlineTest.java failed with java.lang.RuntimeException: 'MHInlineTest$A::protected_x (3 bytes) virtual call' found in stdout
Reviewed-by: jrose
2015-04-22 21:33:55 +03:00
Weijun Wang
ff227ec11f 8075575: com/sun/security/auth/login/ConfigFile/InconsistentError.java failed in certain env
8075576: com/sun/security/auth/module/KeyStoreLoginModule/OptionTest.java failed in certain env

Reviewed-by: xuelei
2015-04-22 23:27:30 +08:00
Andreas Lundblad
b3ddbe8cf4 8078389: Add test for -Xdoclint + -XDcompletionDeps
Test to make sure doclint and completionDeps do not interfere.

Reviewed-by: jlahoda
2015-04-22 16:11:38 +02:00
Vinnie Ryan
9ef4bd4a6c 8078348: sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java fails with BindException
Reviewed-by: xuelei
2015-04-22 14:01:01 +01:00
Alexander Stepanov
6f346f9afd 8038764: tidy warnings cleanup for javax.activation
Minor HTML markup fix

Reviewed-by: lancea
2015-04-22 15:52:42 +04:00
Andreas Lundblad
d85dda0002 8078261: Initialization of DocLint triggers out of order initialization of Dependencies
Changed initialization order.

Reviewed-by: mcimadamore
2015-04-22 13:50:23 +02:00
Alexander Stepanov
078abb2617 8077332: tidy warnings from javax/xml
Some HTML markup fix (jaxws part)

Reviewed-by: joehw, lancea
2015-04-22 15:26:20 +04:00
Nicholas Cull
7a4694af8c 8030123: java/beans/Introspector/Test8027648.java fails
Reviewed-by: serb, alexsch
2015-04-22 15:00:50 +04:00
Stefan Johansson
ace7f7933e 8077836: Make sure G1ParGCAllocBuffer are marked as retired
Reviewed-by: tschatzl, pliden
2015-04-22 12:58:10 +02:00
Alexander Scherbatiy
849e09bade 8069361: SunGraphics2D.getDefaultTransform() does not include scale factor
Reviewed-by: flar, prr, serb
2015-04-22 13:46:03 +04:00
Thomas Schatzl
f3e710a50e 8076541: Parallel GC registers Java heap twice to NMT
Remove the superfluous call to MemTracker::record_virtual_memory_type() and also a superfluous check whether the space has been successfully reserved.

Reviewed-by: pliden, jmasa
2015-04-22 09:39:38 +02:00
Aleksei Efimov
603b214413 8073357: schema1.xsd has wrong content. Sequence of the enum values has been changed
Reviewed-by: joehw, lancea
2015-04-22 02:23:06 +03:00
Frank Yuan
f6dfa1497f 8051560: Convert JAXP function tests: Astro tests
Reviewed-by: lancea, joehw
2015-04-21 15:28:47 -07:00
Joe Wang
f2dab3a19a 8078139: jdk.xml.dom should be loaded by the ext class loader
Reviewed-by: mchung, alanb, lancea, mullan, kcr
2015-04-21 13:22:33 -07:00
Joe Wang
ce8a17d530 8078139: jdk.xml.dom should be loaded by the ext class loader
Reviewed-by: mchung, alanb, lancea, mullan, kcr
2015-04-21 13:21:40 -07:00
Joe Wang
ab2306a991 8078139: jdk.xml.dom should be loaded by the ext class loader
Reviewed-by: mchung, alanb, lancea, mullan, kcr
2015-04-21 13:20:53 -07:00
Vladimir Ivanov
ad2c8376dd 8078290: Customize adapted MethodHandle in MH.invoke() case
Reviewed-by: jrose
2015-04-21 21:06:06 +03:00
Pooja Chopra
04c0e090c9 8078082: [TEST_BUG] java/awt/SplashScreen/MultiResolutionSplash/MultiResolutionSplashTest.java fails
Reviewed-by: serb, alexsch
2015-04-21 20:11:59 +03:00
Kim Barrett
30ad15c46d Merge 2015-04-21 16:49:39 +00:00
Alexander Stepanov
e9000d948f 8077332: tidy warnings from javax/xml
Some HTML markup fix (jdk part)

Reviewed-by: joehw, lancea, mullan
2015-04-21 20:12:29 +04:00
Alexander Stepanov
b27f042010 8077332: tidy warnings from javax/xml
Some HTML markup fix (jaxp part)

Reviewed-by: joehw, lancea
2015-04-21 20:01:21 +04:00
Michael McMahon
5576054776 8078276: add copyright header to IPv6NameserverPlatformParsingTest
Reviewed-by: alanb, rriggs
2015-04-21 16:35:45 +01:00
Severin Gehwolf
d604ad29ba 6991580: IPv6 Nameservers in resolv.conf throws NumberFormatException
Reviewed-by: michaelm, andrew
2015-04-21 14:36:57 +01:00
Chris Hegarty
e028ed3a21 8075139: Restore java.protocol.handler.pkgs to work as a fallback for migration
Reviewed-by: alanb, psandoz
2015-04-21 14:23:58 +01:00
Andreas Lundblad
fc379b3042 8068737: ArrayType prints element type post order
Rewrote ArrayType.toString

Reviewed-by: jlahoda, ksrini
2015-04-21 12:10:26 +02:00
Shanliang Jiang
999f0f1fd4 8078144: many nightly tests failed due to NoSuchMethodError: sun.management.ManagementFactoryHelper.getDiagnosticMXBean
Reviewed-by: alanb, sla
2015-04-21 10:24:20 +02:00
Shanliang Jiang
137a04308f 8078144: many nightly tests failed due to NoSuchMethodError: sun.management.ManagementFactoryHelper.getDiagnosticMXBean
Reviewed-by: alanb, sla
2015-04-21 10:23:13 +02:00
Goetz Lindenmaier
d65074da2c 8078243: Fix include of stack.inline.hpp in taskqueue.hpp
Reviewed-by: stefank, tschatzl
2015-04-21 10:14:35 +02:00
Dmitry Dmitriev
dba5d6fdc5 8074026: Deprecated UseBoundThreads, DefaultThreadPriority and NoYieldsInMicrolock VM options still defined in globals.hpp
Reviewed-by: dholmes, mseledtsov
2015-04-20 22:07:09 -04:00
David Holmes
650fe66a1b 8077674: BSD build failures due to undefined macros
Reviewed-by: dsamersoff, kbarrett, hseigel
2015-04-20 21:32:28 -04:00
Dmitry Samersoff
cf33d5c103 8074146: jdb has succeded to read an unreadable file
Remove this testcase

Reviewed-by: sla, egahlin
2015-04-20 11:03:47 -07:00
Phil Race
4c0f9a1943 7145508: java.awt.GraphicsDevice.get/setDisplayMode behavior is incorrect when no display is present
Reviewed-by: serb, bae
2015-04-20 10:39:30 -07:00
Joe Darcy
19b0ecc5d4 8077952: sun/management/jmxremote/bootstrap/RmiSslBootstrapTest.sh should be quarantined
Reviewed-by: jbachorik
2015-04-20 10:37:41 -07:00
Athijegannathan Sundararajan
dbbb8bf78e 8078174: Add few FX and parser API samples for nashorn
Reviewed-by: hannesw, lagergren
2015-04-20 19:41:44 +05:30
Jesper Wilhelmsson
0392ef28c2 Merge 2015-04-20 14:26:53 +02:00
Stefan Karlsson
be6e9b9f50 8042891: Format issues embedded in macros for two g1 source files
Reviewed-by: brutisso, tschatzl
2015-04-20 13:34:04 +02:00
Andrei Eremeev
56c8f87b08 8042947: Implement classfile tests for AnnotationDefault attribute
Reviewed-by: jjg, shurailine, anazarov
2015-04-20 12:45:41 +03:00
Hannes Wallnöfer
bc04834c26 8071928: Instance properties with getters returning wrong values
Reviewed-by: attila, lagergren, sundar
2015-04-20 10:40:42 +02:00
Hannes Wallnöfer
d7248ad3bd 8073846: Javascript for-in loop returned extra keys
Reviewed-by: attila, lagergren, sundar
2015-04-20 10:39:55 +02:00
Per Lidén
e4a699552a 8068582: UseSerialGC not always set up properly
Reviewed-by: jmasa, brutisso, sjohanss
2015-04-20 08:53:08 +02:00
Bengt Rutisson
0d5c04e00d 8078156: G1: Remove dead code PrintObjsInRegionClosure
Reviewed-by: tschatzl, sjohanss
2015-04-20 16:18:02 +02:00
Jesper Wilhelmsson
f2ac065c42 Merge 2015-04-20 14:26:54 +02:00
Katja Kantserova
c1b5c1b53a 8077423: jstatd is not terminated even though it cannot contact or bind to RMI Registry
Reviewed-by: sla
2015-04-20 08:45:54 +02:00
Sergey Bylokhov
6230465f95 8077394: Uninitialised memory in jdk/src/java/desktop/unix/native/libfontmanager/X11FontScaler.c
Reviewed-by: azvegint, prr
2015-04-19 10:31:06 +03:00
Andrew Haley
a22fc004de 8077308: Fix warning: increase O_BUFLEN in ostream.hpp -- output truncated
Reviewed-by: dholmes, hseigel
2015-04-17 22:50:10 -04:00
Christian Tornqvist
1314bfbc94 Merge 2015-04-17 23:55:04 +00:00
Christian Tornqvist
06aabb4769 8077608: [TESTBUG] Enable Hotspot jtreg tests to run in agentvm mode
Reviewed-by: sla, gtriantafill
2015-04-17 16:12:16 -07:00
Mikael Vidstedt
d933f61147 8078017: Introduce hotspot_basicvmtest
Reviewed-by: dholmes, kvn
2015-04-17 16:08:41 -07:00
Calvin Cheung
cd6c611521 Merge 2015-04-17 14:37:44 -07:00
Calvin Cheung
7bb3af5d16 Merge 2015-04-17 14:37:20 -07:00
Calvin Cheung
eb056da244 Merge 2015-04-17 14:37:00 -07:00
Brent Christian
b5af5771c7 8048264: StringBuffer's codePoint methods throw unspecified IndexOutOfBoundsException
Add missing @throws tags

Reviewed-by: dholmes, lancea
2015-04-17 12:49:51 -07:00
Jason Uh
454ec2e69d 7194452: Remove "Reverse" PKIX CertPathBuilder implementation
Reviewed-by: mullan
2015-04-17 11:51:47 -07:00
Kim Barrett
c9ebd949ea 8078021: SATB apply_closure_to_completed_buffer should have closure argument
Apply closure directly, eliminating registration.

Reviewed-by: stefank, tschatzl
2015-04-17 13:49:04 -04:00
Mikael Vidstedt
ef932e7b22 8078017: Introduce hotspot_basicvmtest
Reviewed-by: dholmes, kvn
2015-04-17 16:08:41 -07:00
Lana Steuck
bac12fa977 Merge 2015-04-17 10:25:35 -07:00
Lana Steuck
c323f11327 Merge 2015-04-17 10:25:26 -07:00
Lana Steuck
d88e261436 Merge 2015-04-17 10:24:46 -07:00
Lana Steuck
1898f0ed83 Merge 2015-04-17 10:24:06 -07:00
Lana Steuck
82bf32aa0f Merge 2015-04-17 10:23:49 -07:00
Lana Steuck
eaf60b4da7 Merge 2015-04-17 10:23:39 -07:00
Lana Steuck
1c9cea3ec9 Merge 2015-04-17 10:23:30 -07:00
Lana Steuck
935c83808b Merge 2015-04-17 10:22:50 -07:00
Stefan Karlsson
38b7c6db82 Merge 2015-04-17 17:10:38 +00:00
David Katleman
b7ce78f370 Added tag jdk9-b60 for changeset f678f348c947 2015-04-17 09:59:50 -07:00
David Katleman
5f253a4f9f Added tag jdk9-b60 for changeset f7bd3ddc9292 2015-04-17 09:59:49 -07:00
David Katleman
2a3814c26a Added tag jdk9-b60 for changeset 71609ff1773b 2015-04-17 09:59:46 -07:00
David Katleman
ac8c41fa4d Added tag jdk9-b60 for changeset aa1bae42dcac 2015-04-17 09:59:45 -07:00
David Katleman
9312a673c7 Added tag jdk9-b60 for changeset 6d5d546e953b 2015-04-17 09:59:45 -07:00
David Katleman
6f2f110804 Added tag jdk9-b60 for changeset b45086ad81ed 2015-04-17 09:59:43 -07:00
David Katleman
3c783c3de0 Added tag jdk9-b60 for changeset f51f8989ad5d 2015-04-17 09:59:42 -07:00
David Katleman
f0bf6fbf84 Added tag jdk9-b60 for changeset 79641c886929 2015-04-17 09:59:41 -07:00
Aleksei Efimov
888e0f812c 8071968: javax/xml/ws/8046817/GenerateEnumSchema.java failed on Windows platform
Reviewed-by: lancea
2015-04-17 19:57:57 +03:00
Vladimir Ivanov
f0f9b42b17 8057967: CallSite dependency tracking scales devastatingly poorly
Reviewed-by: jrose, roland, plevart, shade
2015-04-17 18:15:13 +03:00
Aleksei Efimov
615502651e 8078057: Reapply fixes for 8073361, 8073374, 8073696
Reviewed-by: alanb, mchung
2015-04-17 17:17:05 +03:00
Eric Caspole
00b87ab5d1 8077265: Modify assert to help debug JDK-8068448
Added relevant asserts on covered_region for allocation methods in psOldGen.hpp

Reviewed-by: tschatzl, stefank
2015-04-17 10:08:32 -04:00
Sergey Bylokhov
6634445355 8074757: Remove java.awt.Toolkit methods which return peer types
Reviewed-by: alanb, prr, ant
2015-04-17 17:01:24 +03:00
Sergey Bylokhov
677097c128 8074763: Remove API references to java.awt.dnd.peer
Reviewed-by: alanb, ant, prr
2015-04-17 16:57:30 +03:00
Sergey Bylokhov
b9aead1b2c 8074028: Remove API references to java.awt.peer
Reviewed-by: alanb, ant, yan, prr
2015-04-17 16:54:13 +03:00
Phil Race
971438ead7 8075942: ArrayIndexOutOfBoundsException in sun.java2d.pisces.Dasher.goTo
Reviewed-by: flar, lbourges
2015-04-17 12:32:46 -07:00
Erik Joelsson
72c024d848 8077824: Introduce DefineNativeToolchain to handle toolchain configurations
Reviewed-by: ihse, tbell
2015-04-17 13:55:42 +02:00
Erik Joelsson
4ad9ac199d 8077824: Introduce DefineNativeToolchain to handle toolchain configurations
Reviewed-by: ihse, tbell
2015-04-17 13:54:50 +02:00
Andreas Lundblad
868bdb35b2 8043984: Confusing (incorrect) error message on repeatable annotations
Adjusted error mesage for repeating annotations

Reviewed-by: jfranck, dlsmith
2015-04-17 12:37:11 +02:00
Andreas Lundblad
e17a42c26a 8073534: Confusing / incorrect error message regarding annotations on non-declarations
Adjusted error message for annotations on non-declarations.

Reviewed-by: jlahoda, dlsmith
2015-04-17 11:52:10 +02:00
Goetz Lindenmaier
4160686d59 8078048: Fix non-pch build after "8076457: Fix includes of inline.hpp in GC code"
Reviewed-by: stefank, ehelin
2015-04-17 11:46:56 +02:00
Shanliang Jiang
38e3be4c28 8042901: Allow com.sun.management to be in a different module to java.lang.management
Reviewed-by: mchung, dfuchs, erikj, jbachorik
2015-04-17 10:53:31 +02:00
Stefan Karlsson
5a66ebc90c 8077936: Remove the unused java_lang_invoke_CallSite::target_volatile
Reviewed-by: vlivanov, jrose
2015-04-17 10:46:41 +02:00
Erik Joelsson
6e76eef82a 8072023: Investigate and upgrade the minimum supported gnumake for JDK 9, from 3.81 to 4.0
Reviewed-by: ihse, tbell, katleman
2015-04-17 10:43:28 +02:00
Masayoshi Okutsu
204901217f 7044727: (tz) TimeZone.getDefault() call returns incorrect value in Windows terminal session
Reviewed-by: peytoia
2015-04-17 16:50:16 +09:00
Shanliang Jiang
df473509f8 8042901: Allow com.sun.management to be in a different module to java.lang.management
Reviewed-by: mchung, dfuchs, erikj, jbachorik
2015-04-17 09:42:41 +02:00
Shanliang Jiang
b705686a86 8042901: Allow com.sun.management to be in a different module to java.lang.management
Reviewed-by: mchung, dfuchs, erikj, jbachorik
2015-04-17 09:40:02 +02:00
Shanliang Jiang
16f9ed4944 8042901: Allow com.sun.management to be in a different module to java.lang.management
Reviewed-by: mchung, dfuchs, erikj, jbachorik
2015-04-17 09:36:32 +02:00
Bengt Rutisson
ed2ed17291 8077938: Remove TraceMarkSweep
Reviewed-by: sjohanss, jmasa
2015-04-17 08:09:41 +02:00
Dan Smith
336a125aa0 8075520: Varargs access check mishandles capture variables
8077786: Check varargs access against inferred signature

Reviewed-by: vromero
2015-04-16 17:20:20 -06:00
Vladimir Kozlov
652a289f75 Merge 2015-04-16 14:06:33 -07:00
Vladimir Kozlov
b9c00b1904 Merge 2015-04-16 14:05:48 -07:00
Vladimir Kozlov
c93d41705e Merge 2015-04-16 14:01:18 -07:00
Joe Wang
5451154e97 8042244: Re-examine the supportedness of non-SE org.w3c.dom.** API
Reviewed-by: mchung, alanb, lancea
2015-04-16 12:51:41 -07:00
Daniel D. Daugherty
32a8aa9ade Merge 2015-04-16 19:27:43 +00:00
Joe Wang
b6cd67bd3b 8042244: Re-examine the supportedness of non-SE org.w3c.dom.** API
Reviewed-by: mchung, alanb, lancea
2015-04-16 12:25:27 -07:00
Joe Darcy
dd09531d4b 8077912: Turn on doclint checking for more modules
Reviewed-by: ihse, erikj, tbell
2015-04-16 12:08:16 -07:00
Sergey Bylokhov
e79b50f322 8076264: [macosx] Launching app on MacOSX requires enclosing class
Reviewed-by: azvegint, ksrini
2015-04-16 21:55:55 +03:00
Joe Darcy
afdabb44dc 8077991: Missing javadoc in exceptions types in javax.transaction
Reviewed-by: rriggs, lancea, alanb
2015-04-16 11:33:59 -07:00
Daniel D. Daugherty
61f27a0290 Merge 2015-04-16 17:57:18 +00:00
Harold Seigel
6efc431778 Merge 2015-04-16 17:44:26 +00:00
Joe Darcy
1090355e9b 8077915: Fix doclint issues in javax.smartcardio
Reviewed-by: mullan
2015-04-16 10:44:23 -07:00
Joe Darcy
6fd1b64308 8077923: Add missing doclint in javax.management
Reviewed-by: dfuchs
2015-04-16 09:51:29 -07:00
Hannes Wallnöfer
a000d5154a 8077955: Undeclared globals in eval code should not be handled as fast scope
Reviewed-by: lagergren, attila
2015-04-16 17:31:32 +02:00
Naoto Sato
5b2c289414 8076287: Performance degradation observed with TimeZone Benchmark
Reviewed-by: okutsu
2015-04-16 08:25:19 -07:00
Daniel D. Daugherty
884f0d320f 8073165: Contended Locking fast exit bucket
JEP-143/JDK-8073165 Contended Locking fast exit bucket

Co-authored-by: Dave Dice <dave.dice@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Reviewed-by: dholmes, acorn, dice, dcubed
2015-04-16 08:23:26 -07:00
Max Ockner
1e5e03d8e7 8073989: Deprecated integer options are considered as invalid instead of deprecated in Java 9
Deprecated integer options are now recognized as being deprecated.

Reviewed-by: dholmes, hseigel, ddmitriev
2015-04-16 11:00:10 -04:00
Max Ockner
f272493a76 8029630: Thread id should be displayed as a hex number in error report
Thread id is now displayed as a hex number in error report.

Reviewed-by: dholmes, hseigel, stuefe
2015-04-16 10:30:59 -04:00
Alexey Ivanov
cde528f457 8074956: ArrayIndexOutOfBoundsException in javax.swing.text.html.parser.ContentModel.first()
Reviewed-by: alexsch, alexp
2015-04-16 14:32:33 +01:00
Magnus Ihse Bursie
41b53b0d3c 8077847: Better handling of Windows executable manifest version
Reviewed-by: erikj, tbell
2015-04-16 14:48:11 +02:00
Magnus Ihse Bursie
35e5e5eaa8 8077847: Better handling of Windows executable manifest version
Reviewed-by: erikj, tbell
2015-04-16 14:48:01 +02:00
Erik Joelsson
7f3a8ab26c 8077814: Add .DELETE_ON_ERROR to makefiles
Reviewed-by: tbell, ihse
2015-04-16 12:39:43 +02:00
Frank Yuan
3334a718c9 8051559: Convert JAXP function tests: org.w3c.dom to jtreg (testng) tests
Reviewed-by: lancea, joehw
2015-04-15 21:54:29 -07:00
Yumin Qi
d30de5ab31 8074354: Make CreateMinidumpOnCrash a new name and available on all platforms
Rename CreateMinidumpOnCrash which is used only for Windows as CreateCoredumpOnCrash and make it available for all platforms. Changed order for dumping core on Windows to be similar on other platforms. Also reviewed by thomas.stuefe@gmail.com

Co-authored-by: Thomas Stuefe <thomas.stuefe@gmail.com>
Reviewed-by: dcubed
2015-04-15 17:34:28 -07:00
Phil Race
041bb07b95 Merge 2015-04-15 14:28:43 -07:00
Phil Race
ca3b5f84a9 Merge 2015-04-15 14:28:27 -07:00
Joe Darcy
342ea6369a 8075082: Fix missing doclint warnings in the javax.swing package
Reviewed-by: serb, ant
2015-04-15 10:24:01 -07:00
Kim Barrett
763048052f 8069367: Eagerly reclaimed humongous objects left on mark stack
Prevent eager reclaim of objects that might be on mark stack.

Reviewed-by: brutisso, tschatzl
2015-04-15 12:16:01 -04:00
Joseph Provino
7c8ee01ce3 8074546: Rename and clean up the ParGCAllocBuffer class
Rename ParGCAllocBuffer to PLAB and rename affected files.

Reviewed-by: tschatzl, kbarrett
2015-04-15 11:42:20 -04:00
Kim Barrett
9d2e807891 8078193: BACKOUT: Rename and clean up the ParGCAllocBuffer class
Back out the problem change set.

Reviewed-by: brutisso, tschatzl
2015-04-21 10:29:35 -04:00
Joseph Provino
d27e6d731e 8074545: Rename and clean up the ParGCAllocBuffer class
Rename ParGCAllocBuffer to PLAB and rename affected files.

Reviewed-by: tschatzl, kbarrett
2015-04-15 11:42:20 -04:00
Per Lidén
4fbfdfe87b 8077417: Cleanup of Universe::initialize_heap()
Reviewed-by: stefank, kbarrett
2015-04-16 15:31:20 +02:00
Per Lidén
817138c4f9 Merge 2015-04-16 10:38:06 +00:00
Per Lidén
82de4945ac 8077415: Remove duplicate variables holding the CollectedHeap
Reviewed-by: stefank, kbarrett
2015-04-16 09:28:18 +02:00
Bengt Rutisson
f8c508af0f 8077841: G1: Remove PrintReachable support
Reviewed-by: stefank, tschatzl
2015-04-16 09:16:19 +02:00
Bengt Rutisson
fdcc47e443 8077873: G1: Remove G1SATBPrintStubs
Reviewed-by: kbarrett, tschatzl
2015-04-16 09:13:14 +02:00
Kim Barrett
beede94977 8075466: SATB queue pre-filter verify found reclaimed humongous object
Removed pre-filter verify, and made filtering more careful.

Reviewed-by: brutisso, tschatzl
2015-04-15 16:37:57 -04:00
Henry Jen
3bef36626e Merge 2015-04-15 07:33:34 -07:00
Katja Kantserova
cf90c844eb 8077611: com/sun/jdi/ConnectedVMs.java should be unquarantined
Reviewed-by: sla
2015-04-15 13:27:39 +02:00
Igor Ignatyev
71fcf1be02 Merge 2015-04-15 11:23:06 +00:00
Goetz Lindenmaier
5827e6ce0f 8077838: Recent developments for ppc
Power 8 recognition and instructions, math.*Exact intrinsics and rtm, C2 optimizations

Reviewed-by: kvn, simonis
2015-04-15 12:44:56 +02:00
Alexander Scherbatiy
0dc8a46204 8072767: DefaultCellEditor for comboBox creates ActionEvent with wrong source object
Reviewed-by: serb, azvegint
2015-04-15 14:38:13 +04:00
Igor Ignatyev
8fa30e8884 Merge 2015-04-15 09:49:50 +00:00
Roland Westrelin
cb7a08139b 8074676: java.lang.invoke.PermuteArgsTest.java fails with "assert(is_Initialize()) failed: invalid node class"
After guards in Arrays.copyOf() intrinsic, control may become top

Reviewed-by: kvn, vlivanov
2015-04-15 11:01:56 +02:00
Zoltan Majo
9700d9c1fa Merge 2015-04-15 07:49:25 +00:00
Jaroslav Bachorik
1c76dd4fbc 8077327: ThreadStackTrace.java throws exception: BlockedThread expected to have BLOCKED but got RUNNABLE
Reviewed-by: sspitsyn, dfuchs
2015-04-15 09:38:45 +02:00
Zoltan Majo
b15381aaba 8067648: JVM crashes reproducible with GCM cipher suites in GCTR doFinal
Change restore mechanism in GCTR.java to avoid setting counter to null; added length check to constructor

Reviewed-by: jrose, kvn, ascarpino
2015-04-15 09:37:51 +02:00
Staffan Larsen
47d774ab34 8077364: "if( !this )" construct prevents build on Xcode 6.3
Reviewed-by: stefank, simonis
2015-04-15 09:34:46 +02:00
Artem Smotrakov
dc99c45870 8076221: Disable RC4 cipher suites
Reviewed-by: xuelei, wetmore
2015-04-15 07:34:24 +00:00
Mikael Vidstedt
b5264b3449 8077524: Enable selective test bundle installation for jprt test targets
Reviewed-by: dholmes
2015-04-14 22:46:16 -07:00
Joe Darcy
d617368a75 8076624: Fix missing doclint warnings in javax.swing.text
Reviewed-by: serb
2015-04-14 15:43:14 -07:00
Joe Darcy
0b622e20f7 8077095: Fix missing doclint warnings in the javax.swing.plaf.basic package
Reviewed-by: serb
2015-04-14 14:47:12 -07:00
Jason Uh
31a7b46b00 8076117: EndEntityChecker should not process custom extensions after PKIX validation
Reviewed-by: xuelei, mullan
2015-04-14 13:02:23 -07:00
David Dehaven
2ec458e126 Merge 2015-04-14 12:10:01 -07:00
David Dehaven
1c993f4230 Merge 2015-04-14 12:10:00 -07:00
David Dehaven
8130b5c80f Merge 2015-04-14 10:15:54 -07:00
David Dehaven
2f35e82935 Merge 2015-04-14 10:15:49 -07:00
Sangheon Kim
7d99c72512 8077710: BACKOUT - java hangs with -XX:ParallelGCThreads=0 -XX:+ExplicitGCInvokesConcurrent options
Removed unnecessary guards.

Reviewed-by: stefank, jwilhelm
2015-04-14 09:44:06 -07:00
Michael Haupt
2e8fb0e5de 8033465: JSR292: InvokerBytecodeGenerator: convert a check for REF_invokeVirtual on an interface into an assert
Reviewed-by: vlivanov
2015-04-14 18:26:01 +03:00
Vladimir Ivanov
c9ac987bf3 8076461: JSR292: remove unused native and constants
Reviewed-by: jrose, vlivanov
2015-04-14 18:16:02 +03:00
Vladimir Ivanov
4097393258 8057919: Class.getSimpleName() should work for non-JLS compliant class names
Reviewed-by: dholmes, jrose
2015-04-14 18:03:12 +03:00
Vladimir Ivanov
bc83974fb5 8077054: DMH LFs should be customizeable
Reviewed-by: jrose
2015-04-14 17:59:52 +03:00
Erik Joelsson
1aedcf6983 8077419: Launcher mapfile fails linking with SS12u4
Reviewed-by: tbell, dholmes, ihse
2015-04-14 14:22:13 +02:00
Erik Joelsson
7b5aeb4f3e 8077419: Launcher mapfile fails linking with SS12u4
Reviewed-by: tbell, dholmes, ihse
2015-04-14 14:22:10 +02:00
Hendrik Schreiber
31ec6e06ef 8076106: [macosx] Drag image of TransferHandler does not honor MultiResolutionImage
Reviewed-by: serb, alexsch
2015-04-14 14:47:40 +04:00
Dmitry Markov
b29fb12ad4 8073453: Focus doesn't move when pressing Shift + Tab keys
Reviewed-by: alexsch, ant
2015-04-14 15:24:10 +04:00
Andrew Haley
d81e78e8bc 8077615: AARCH64: Add C2 intrinsic for BigInteger::multiplyToLen() method
Add C2 intrinsic for BigInteger::multiplyToLen() on AArch64.

Reviewed-by: kvn
2015-04-14 11:43:18 +01:00
Michael Haupt
1cbf641d91 8076461: JSR292: remove unused native and constants
Reviewed-by: jrose, vlivanov
2015-04-14 18:16:10 +03:00
Vladimir Ivanov
5ff12acb9d 8062280: C2: inlining failure due to access checks being too strict
Reviewed-by: kvn
2015-04-14 18:11:06 +03:00
Vladimir Ivanov
ce40bf07b2 8057919: Class.getSimpleName() should work for non-JLS compliant class names
Reviewed-by: dholmes, jrose
2015-04-14 18:03:43 +03:00
Bengt Rutisson
8e2f1d5560 8077403: Remove guarantee from GenCollectedHeap::is_in()
Reviewed-by: mgerdin, jmasa
2015-04-14 11:24:03 +02:00
Stefan Karlsson
06b8ac7d74 8077420: Build failure with SS12u4
Reviewed-by: dholmes, lfoltan
2015-04-14 11:40:13 +02:00
Shanliang Jiang
26006ab751 8077408: javax/management/remote/mandatory/notif/NotSerializableNotifTest.java fails due to Port already in use: 2468
Reviewed-by: jbachorik
2015-04-14 09:55:42 +02:00
Sergey Bylokhov
95090a7507 8076214: [Findbugs]sun.awt.datatransfer.SunClipboard.checkChange(long[]) may expose internal representation
Reviewed-by: azvegint, alexsch
2015-04-14 09:34:59 +03:00
Cheleswer Sahu
f93a647092 8072863: Replace fatal() with vm_exit_during_initialization() when an incorrect class is found on the bootclasspath
Reviewed-by: dholmes, coleenp
2015-04-13 23:04:02 -07:00
Goetz Lindenmaier
af1efee490 8077618: Move rtmLocking.cpp to shared directory
Reviewed-by: dholmes, kvn
2015-04-13 18:49:59 -07:00
Bhavesh Patel
9c427df72e 8072945: Javadoc should generate valid and compliant HTML5 output
Reviewed-by: jjg, ksrini
2015-04-13 18:05:23 -07:00
Phil Race
e630663bbb 8035302: Eliminate dependency on jdk.charsets from 2D font code
Reviewed-by: mchung, alanb, sherman, serb
2015-04-13 17:06:04 -07:00
Phil Race
5981b9e79b 8035302: Eliminate dependency on jdk.charsets from 2D font code
Reviewed-by: mchung, alanb, sherman, serb
2015-04-13 17:03:11 -07:00
Xueming Shen
a0fedc8556 8077640: DateTimeFormatter does not parse/accept the era.toString() result from MinguoEra/ThaiBuddhistEra
To parse and accept the era.toString() for era parsing in lenient/smart mode

Reviewed-by: rriggs
2015-04-13 11:15:41 -07:00
Ivan Gerasimov
cddb50dcd1 8077622: Add sources from jdk/src/jdk.deploy.osx/macosx/classes/ to unshuffle script
Reviewed-by: chegar
2015-04-13 21:01:19 +03:00
Shobhit Gupta
609fc7915d 8076069: [macosx][TESTBUG] tests failing with Unrecognized system error
Reviewed-by: serb, azvegint, kshefov
2015-04-13 19:39:40 +03:00
Mark Sheppard
5a24e90bdd 8068721: RMI-IIOP communication fails when ConcurrentHashMap is passed to remote method
Reviewed-by: chegar, alanb
2015-04-13 14:58:47 +01:00
Jaroslav Bachorik
77b5a0e6c0 8076050: java/lang/management/ThreadMXBean/ThreadMXBeanStateTest.java fails intermittently
Reviewed-by: sla
2015-04-13 09:43:12 +02:00
Erik Joelsson
45fbc2f802 8077563: 9-dev 1-prebuild fail: "configure: error: write failure creating /config.status"
Reviewed-by: dholmes
2015-04-13 08:39:19 +02:00
Christian Tornqvist
74a8303c24 Merge 2015-04-10 15:18:45 +00:00
Dmitry Samersoff
19d7e33b10 8044416: serviceability/sa/jmap-hashcode/Test8028623.java fails with AssertionFailure: can not get class data for java/lang/UNIXProcess$Platform$$Lambda
Lambda object is not counted when SA builds class data cache but is reached inside live region.

Reviewed-by: sla, jbachorik
2015-04-10 05:22:56 -07:00
Pooja Chopra
2fd5531d45 8076151: [TESTBUG] Test java/awt/FontClass/CreateFont/fileaccess/FontFile.java fails
Reviewed-by: alexsch, azvegint
2015-04-10 11:35:49 +03:00
Jesper Wilhelmsson
bc9c6072b2 Merge 2015-04-09 17:39:40 +02:00
Semyon Sadetsky
c959a460ad 7081580: Specification for MouseInfo.getNumberOfButtons() doesn't contain info about "awt.mouse.numButtons"
Reviewed-by: serb, ant
2015-04-09 18:09:55 +04:00
Semyon Sadetsky
7d376fd912 6866751: J2SE_Swing_Reg: the caret disappears when moving to the end of the line
Reviewed-by: serb, alexsch
2015-04-09 17:41:08 +04:00
Evgeniya Stepanova
89649d21af 8026043: Add regression test for JDK-8000831
Reviewed-by: mchung
2015-04-09 14:16:04 +03:00
Jon Masamitsu
5285c9ea86 8077301: Optimized build is broken
Reviewed-by: kbarrett, brutisso
2015-04-13 11:01:29 -07:00
Per Lidén
ca9afd25f6 8077413: Avoid use of Universe::heap() inside collectors
Reviewed-by: stefank, kbarrett
2015-04-13 15:47:48 +02:00
Mikael Gerdin
f078697a45 8077400: Unnecessary and incorrect "Code Cache Roots" G1 log entry
Reviewed-by: tschatzl, brutisso, sangheki
2015-04-10 13:58:36 +02:00
Bengt Rutisson
2cefed232b 8077411: Remove CollectedHeap::supports_heap_inspection()
Reviewed-by: stefank, ecaspole, jmasa
2015-04-12 14:59:41 +02:00
Eric Caspole
d0dafa0c28 8077414: PSPromotionLAB _state is unintialized
Initialize _state to zero_size

Reviewed-by: brutisso, stefank
2015-04-10 10:55:07 -04:00
Staffan Larsen
c3e9d85d31 8077137: Port jdk.internal.instrumentation to jdk 9
Reviewed-by: erikj, mchung, rriggs
2015-04-09 09:18:56 +02:00
Staffan Larsen
5c088302c8 8077137: Port jdk.internal.instrumentation to jdk 9
Reviewed-by: erikj, mchung, rriggs
2015-04-09 09:14:17 +02:00
Staffan Larsen
6cbdf1b8f4 8075331: jdb eval java.util.Arrays.asList(array) shows inconsistent behaviour
Reviewed-by: jbachorik
2015-04-09 08:46:19 +02:00
Joe Darcy
2bc44815c5 8077094: Fix missing doclint warnings in the javax.swing.plaf package
Reviewed-by: serb
2015-04-08 10:50:50 -07:00
Dmitry Dmitriev
5f589f20aa 8076311: Java 9 process negative MaxTenuringThreshold in different way than Java 8
Corrected processing of invalid MaXTenuringThreshold

Reviewed-by: jmasa, dholmes, kbarrett
2015-04-08 15:49:29 +03:00
Stefan Karlsson
2a4fe40ee2 Merge 2015-04-10 14:59:21 +00:00
Sangheon Kim
2dff1df5da 8076325: java hangs with -XX:ParallelGCThreads=0 -XX:+ExplicitGCInvokesConcurrent options
Added a guard of gc workers > 0 to execute logic.

Reviewed-by: stefank, mgerdin
2015-04-09 10:16:45 -07:00
Thomas Schatzl
06bba0999a 8077255: TracePageSizes output reports wrong page size on Windows with G1
Print selected page size, not alignment size chosen by ReservedSpace (which is the vm_allocation_granularity that is different to page size on Windows) in the message presented by TracePageSizes.

Reviewed-by: drwhite, jmasa
2015-04-09 15:41:47 +02:00
Thomas Stuefe
3d93d62722 8077257: Use CanUseSafeFetch instead of probing SafeFetch stub directly
Reviewed-by: simonis
2015-04-08 12:51:50 +02:00
Jaroslav Bachorik
731ce4fe9e Merge 2015-04-08 09:33:34 +00:00
Jaroslav Bachorik
1baf145d9e Merge 2015-04-08 08:07:47 +00:00
Bengt Rutisson
d86a561fe4 8076614: Add comment to ClearNoncleanCardWrapper::do_MemRegion()
Reviewed-by: kbarrett, stefank
2015-04-08 09:35:25 +02:00
Jesper Wilhelmsson
7ec8aadd33 Merge 2015-04-09 17:39:42 +02:00
Kim Barrett
49f5eb0a78 Merge 2015-04-09 12:40:20 +00:00
Jesper Wilhelmsson
46fd08f9ac 8077315: Build failure on OSX after compiler upgrade
Reviewed-by: stefank, mgerdin
2015-04-09 11:30:37 +02:00
Jesper Wilhelmsson
28d6d2146c 8077302: src/share/vm/oops/instanceRefKlass.inline.hpp has a doubble /*
Reviewed-by: stefank, mgerdin
2015-04-09 11:29:32 +02:00
Kim Barrett
75f8399057 8076265: Simplify deal_with_reference
Eliminate _CHECK_BOTH_FINGERS_ and simplify.

Reviewed-by: brutisso, tschatzl
2015-04-08 10:32:16 -04:00
Per Lidén
f6e2ae001d 8076534: CollectedHeapName in SA agent incorrect
Reviewed-by: dsamersoff, sla, tschatzl
2015-04-08 15:19:49 +02:00
David Holmes
d3e55fcf3e Merge 2015-04-08 06:01:14 +00:00
David Holmes
8459bbf4c1 8067235: embedded/minvm/checknmt fails on compact1 and compact2 with minimal VM
Reviewed-by: lfoltan, sspitsyn
2015-04-08 01:27:44 -04:00
Serguei Spitsyn
89256b01cb 8066679: jvmtiRedefineClasses.cpp assert cache ptrs must match
Remove the assert and deallocate cashed class file bytes that are in collision

Reviewed-by: coleenp, dcubed
2015-04-07 20:18:28 -07:00
Joe Darcy
0b17b713ec 8076422: Fix missing doclint warnings in javax.swing.border
Reviewed-by: serb
2015-04-07 12:46:13 -07:00
George Triantafillou
8df4646de2 8076274: [TESTBUG] Remove @ignore from runtime\NMT\JcmdDetailDiff.java
Reviewed-by: lfoltan, coleenp
2015-04-07 11:25:06 -07:00
Yuri Nesterenko
706496f63a 8076315: move 4 manual functional swing tests to regression suite
Reviewed-by: alexsch, serb
2015-04-07 17:34:14 +03:00
Katja Kantserova
0ef006faca 8027668: sun/tools/jstatd/TestJstatdPort.java: java.net.ConnectException: Connection refused: connect
Reviewed-by: jbachorik, sla
2015-04-07 14:47:33 +02:00
Thomas Stuefe
c034b74806 8076475: Misuses of strncpy/strncat
Various small fixes around strncpy and strncat

Reviewed-by: dsamersoff, coleenp
2015-04-07 14:19:03 +02:00
Semyon Sadetsky
23908e7eb4 7042645: Numerous api/java_awt jck tests fail - AWT Assertion Failure on fastdebug ri bundles b138 win7 x86
Reviewed-by: serb, azvegint
2015-04-07 16:07:20 +04:00
Miroslav Kos
fb08581429 8048992: Enhance thread contexts in JAXWS
Fix also reviewed by skoivu,asaha,mgrebac,Alexander Fomin,Bill Shannon

Reviewed-by: chegar
2015-04-07 13:29:40 +02:00
Miroslav Kos
0b046e4504 8048992: Enhance thread contexts in JAXWS
Fix also reviewed by skoivu,asaha,mgrebac,Alexander Fomin,Bill Shannon

Reviewed-by: chegar
2015-04-07 13:08:57 +02:00
Dmitry Samersoff
f84a0d02b9 8067991: [Findbugs] SA com.sun.java.swing.ui.CommonUI some methods need final protect
Fixed java programmint style nit

Reviewed-by: jbachorik, sspitsyn
2015-04-07 03:04:29 -07:00
Thomas Schatzl
0a0a22f7ea 8058354: SPECjvm2008-Derby -2.7% performance regression on Solaris-X64 starting with 9-b29
Allow use of large pages for auxiliary data structures in G1. Clean up existing interfaces.

Reviewed-by: jmasa, pliden, stefank
2015-04-07 10:53:51 +02:00
Thomas Schatzl
80819a736a 8058354: SPECjvm2008-Derby -2.7% performance regression on Solaris-X64 starting with 9-b29
Allow use of large pages for auxiliary data structures in G1. Clean up existing interfaces.

Reviewed-by: jmasa, pliden, stefank
2015-04-07 10:41:24 +02:00
Phil Race
475ef86eea Merge 2015-04-06 10:35:59 -07:00
Phil Race
be08183427 Merge 2015-04-06 10:35:43 -07:00
Semyon Sadetsky
5197d1c01a 8072769: System tray icon title freezes java
Reviewed-by: serb, alexsch
2015-04-06 19:09:18 +04:00
Semyon Sadetsky
1bab263e41 6921687: Mnemonic disappears after repeated attempts to open menu items using mnemonics
Reviewed-by: ant, alexsch
2015-04-06 19:03:09 +04:00
Semyon Sadetsky
02d89b3afd 8041642: Incorrect paint of JProgressBar in Nimbus LF
Reviewed-by: ant, alexsch
2015-04-06 18:41:06 +04:00
Semyon Sadetsky
f8b90cd579 8013566: Failure of GroupLayout in combination of addPreferredGap and addGroup'srow
Reviewed-by: serb, alexsch
2015-04-06 18:16:22 +04:00
Valerie Peng
0f2e689f50 8042332: Enhance thread contexts in security libraries
Modified to use ManagedLocalsThread wherever applicable.

Reviewed-by: xuelei, skoivu
2015-04-03 23:01:17 +00:00
Valerie Peng
9932bb8fc6 8042332: Enhance thread contexts in security libraries
Modified to use ManagedLocalsThread wherever applicable.

Reviewed-by: xuelei, skoivu
2015-04-03 23:00:19 +00:00
Calvin Cheung
99f902972c Merge 2015-04-03 13:46:22 -07:00
Calvin Cheung
d4c484b0ba Merge 2015-04-03 13:45:33 -07:00
Vladimir Kozlov
34e5820b03 Merge 2015-04-03 11:41:26 -07:00
Vladimir Kozlov
e2e8e8d0f5 Merge 2015-04-03 11:40:37 -07:00
Joe Darcy
a9992adde7 8076520: Fix missing doclint warnings in javax.swing.{table, tree, undo, plaf.{metal, nimbus, synth}}
Reviewed-by: alexsch
2015-04-03 10:41:34 -07:00
Sergey Bylokhov
781190634a 8027771: Enhance thread contexts
Reviewed-by: anthony, serb
2015-04-03 17:17:36 +03:00
Jaroslav Bachorik
ed433c58a0 8074368: ThreadMXBean.getThreadInfo() corrupts memory when called with empty array for thread ids
Reviewed-by: mchung
2015-04-03 15:40:35 +02:00
Jaroslav Bachorik
4d07222b01 8074368: ThreadMXBean.getThreadInfo() corrupts memory when called with empty array for thread ids
Reviewed-by: mchung
2015-04-03 15:39:38 +02:00
Coleen Phillimore
ca12a72730 Merge 2015-04-03 13:18:06 +00:00
Semyon Sadetsky
9f1092391e 6894632: Removing rows from a DefaultTableModel with a RowSorter deselectes last row
Reviewed-by: serb, alexsch
2015-04-03 16:59:24 +04:00
Semyon Sadetsky
d84f07dd60 8075314: All the InternalFrames will be maximized after maximizing only one of the InternalFrame with WindowsLookAndFeel
Reviewed-by: serb, alexsch
2015-04-03 16:40:34 +04:00
Sergey Bylokhov
d1161e073c 8073559: Memory leak in jdk/src/windows/native/sun/windows/awt_InputTextInfor.cpp
Reviewed-by: prr, azvegint
2015-04-03 12:41:13 +01:00
Thomas Stuefe
704c02a180 8074860: Structured Exception Catcher missing around CreateJavaVM on Windows
Add __try/__except around JNI_CreateJavaVM

Reviewed-by: mgronlun, dcubed
2015-04-03 05:55:33 -04:00
Mark Sheppard
3e33401a5f 8048997: Enhance thread contexts in CORBA
Reviewed-by: chegar
2015-04-02 22:14:38 +01:00
Mark Sheppard
5d1e4e2ba1 8068721: RMI-IIOP communication fails when ConcurrentHashMap is passed to remote method
Reviewed-by: chegar, alanb
2015-04-13 14:50:27 +01:00
Dmitry Samersoff
8c232f54a5 Merge 2015-04-02 20:51:24 +00:00
Derek White
6aa9bef5d3 8069004: Kitchensink hanged with 16Gb heap and GC pause >30 min
Revert bug introduced a few months ago.

Reviewed-by: brutisso, tschatzl, jmasa
2015-04-02 16:42:24 -04:00
Dmitry Samersoff
fcf9563213 8068007: [Findbugs] SA com.sun.java.swing.action.ActionManager.manager should be package protect
Fixed java programming style nit

Reviewed-by: dholmes, jbachorik, sspitsyn
2015-04-02 13:20:49 -07:00
Coleen Phillimore
2007cb6f39 Merge 2015-04-02 19:26:00 +00:00
Coleen Phillimore
dccc407b83 8076421: Fix Zero Interpreter bugs in class redefinition and template interpreter changes
Metadata_do walking interpreted frames was wrong and generate_Reference_get is not necessarily an accessor method.

Reviewed-by: sgehwolf, dholmes
2015-04-02 14:02:54 -04:00
Joe Wang
66d2b6e75a 8048983: Enhance thread contexts in JAXP
Reviewed-by: chegar, lancea, dfuchs, hawtin
2015-04-02 10:42:24 -07:00
Joe Wang
7d455864c8 8048983: Enhance thread contexts in JAXP
Reviewed-by: chegar, lancea, dfuchs, hawtin
2015-04-02 10:35:54 -07:00
Jaroslav Bachorik
56a4782b81 Merge 2015-04-02 17:22:22 +00:00
Sergey Bylokhov
e1bdbfa0e0 8074500: java.awt.Checkbox.setState() call causes ItemEvent to be filed
Reviewed-by: alexsch, azvegint
2015-04-02 19:53:53 +03:00
Kirill Zhaldybin
f921f125fb 8043225: Make whitebox API functions more stable
Added checks for null parameters where applicable

Reviewed-by: dholmes, iignatyev
2015-04-02 19:09:06 +03:00
Kirill Zhaldybin
7028386046 8043225: Make whitebox API functions more stable
Added checks for null parameters where applicable

Reviewed-by: dholmes, iignatyev
2015-04-02 18:53:45 +03:00
Joe Darcy
21964ce20f 8076286: Fix missing doclint warnings in javax.swing.{colorchooser, event, filechooser}
Reviewed-by: serb
2015-04-02 08:41:32 -07:00
Jesper Wilhelmsson
8e5f94bf08 8076267: Remove n_gens()
Reviewed-by: jprovino, kbarrett, jmasa
2015-04-02 16:37:29 +02:00
Max Ockner
bdbad87334 6983747: Remove obsolete dl_mutex lock
Unused dl_mutex lock has been removed.

Reviewed-by: hseigel, coleenp, dholmes
2015-04-02 10:12:49 -04:00
Bengt Rutisson
d2f816a875 8076452: Remove SharedHeap
Reviewed-by: stefank, sjohanss, david
2015-04-02 16:08:41 +02:00
Bengt Rutisson
7c5c5d80b7 8076289: Move the StrongRootsScope out of SharedHeap
Reviewed-by: stefank, sjohanss, david
2015-04-02 16:07:27 +02:00
Bengt Rutisson
c3b72f7f5b 8076454: Clean up/move things out of SharedHeap
Reviewed-by: stefank, sjohanss, david
2015-04-02 16:06:07 +02:00
Harold Seigel
64bb2ce311 8076236: VM permits illegal flags for class init method
Move check for multiple access flags so that it also covers instance initialization methods

Reviewed-by: ctornqvi, lfoltan
2015-04-02 08:50:10 -04:00
Jaroslav Bachorik
b89433f7cd 8076344: serviceability/dcmd/vm/SetVMFlagTest.java test fails with "java.lang.Error: 'MaxHeapSize' flag is not available or immutable"
Reviewed-by: sla
2015-04-02 12:14:43 +02:00
Stefan Karlsson
d71d16b043 8076457: Fix includes of inline.hpp in GC code
Reviewed-by: pliden, jmasa
2015-04-02 10:24:24 +02:00
Stefan Karlsson
66fc45f602 8076456: Remove unnecessary oopDesc::klass() calls
Reviewed-by: pliden, jmasa
2015-04-02 10:22:13 +02:00
Stefan Karlsson
232a59cb40 8075955: Replace the macro based implementation of oop_oop_iterate with a template based solution
Reviewed-by: brutisso, coleenp, kbarrett, sjohanss
2015-04-02 10:04:27 +02:00
Jaroslav Bachorik
afa2dbda46 Merge 2015-04-02 07:44:55 +00:00
Per Lidén
c0af548c2b 8076447: Remove unused MemoryManager::kind()
Reviewed-by: stefank, tschatzl
2015-04-02 09:14:16 +02:00
Coleen Phillimore
21305d00f5 Merge 2015-04-02 02:20:54 +00:00
Coleen Phillimore
f0035b701e 8076492: Make common code from template interpreter code
Move case statement out of assembly code

Reviewed-by: minqi, sspitsyn, dholmes
2015-04-01 22:03:17 -04:00
Max Ockner
eaf7ce63dd 8078349: remove dead code - fast_iagetfield
Unused function fast_iagetfield has been removed.

Reviewed-by: hseigel, coleenp
2015-04-01 15:13:48 -04:00
Laurent Bourgès
8377d7ebd6 8076419: Path2D copy constructors and clone method propagate size of arrays from source path
Reviewed-by: flar, prr
2015-04-01 11:23:47 -07:00
Staffan Larsen
d350f07d51 8076450: com/sun/management/HotSpotDiagnosticMXBean/CheckOrigin.java: assert(!on_C_heap() || allocated_on_C_heap()) failed: growable array must be on C heap if elements are
Reviewed-by: fparain, mgronlun, dholmes
2015-04-01 15:27:04 +02:00
David Lindholm
b6009d4a48 8016276: CMS concurrentMarkSweepGeneration contains lots of unnecessary allocation failure handling
Reviewed-by: stefank, pliden
2015-04-01 12:34:26 +02:00
Bengt Rutisson
bedce0572a 8076314: Remove the static instance variable SharedHeap:: _sh
Reviewed-by: pliden, jmasa
2015-04-02 06:42:24 +02:00
David Dehaven
b91f622563 Merge 2015-03-31 16:23:01 -07:00
David Dehaven
7d80d50f56 Merge 2015-03-31 16:22:59 -07:00
Andrew Haley
252f04c7fd 8026049: (bf) Intrinsify ByteBuffer.put{Int, Double, Float, ...} methods
Use unaligned Unsafe loads and stores for ByteBuffer access on platforms which support unaligned access. Add intrinsics for Unsafe.{get,put}-X-Unaligned methods.

Reviewed-by: dholmes, jrose, psandoz, kvn
2015-03-31 12:30:52 -07:00
Joe Darcy
410bc96fd4 8075081: Fix missing doclint warnings in java.awt
Reviewed-by: serb
2015-03-31 08:48:53 -07:00
Thomas Stuefe
1afbc04d56 8076185: Provide SafeFetchX implementation for zero
Implement SafeFetchX for zero using setjmp/longjmp and Posix TLS

Reviewed-by: sgehwolf, dholmes
2015-03-31 05:30:36 -04:00
Coleen Phillimore
38c3337610 Merge 2015-03-31 02:11:09 +00:00
Jeremy Manson
0353353bde 8074895: os::getenv is inadequate
Reviewed-by: dholmes, coleenp
2015-03-30 17:32:18 -04:00
Coleen Phillimore
6ee6fe38a0 Merge 2015-03-30 19:27:30 +00:00
Christian Tornqvist
67e0ba13c0 Merge 2015-03-30 16:47:42 +00:00
Anton Nashatyrev
68aa2c14c2 8071668: [macosx] Clipboard does not work with 3rd parties Clipboard Managers
Reviewed-by: ant, serb
2015-03-30 18:41:51 +03:00
Christian Tornqvist
9f677f4e21 8075438: [TESTBUG] Hotspot JTREG tests should use unique CDS archive names
Reviewed-by: hseigel, gtriantafill
2015-03-30 08:28:07 -07:00
Anton Nashatyrev
795c4bd736 8074481: [macosx] Menu items are appearing on top of other windows
Reviewed-by: ant, serb
2015-03-30 17:46:58 +03:00
Max Ockner
f0fa5ca5f0 8074718: Merge templateTable_x86 _32 and _64 .hpp files
TemplateTable_x86 32 and 64 bit files have been merged.

Reviewed-by: hseigel, coleenp
2015-03-30 09:47:52 -04:00
Tobias Hartmann
db2fbf3152 8075214: SIGSEGV in nmethod sweeping
Changed implementation of forceNMethodSweep() to request sweep from existing sweeper thread.

Reviewed-by: kvn, mgerdin, dholmes
2015-03-30 07:53:19 +02:00
Peter Brunet
a6872dbbfb 8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
Move files from open to closed

Reviewed-by: prr, mchung, erikj, ihse, serb, bpatel
2015-03-27 16:13:45 -05:00
Peter Brunet
af874b5889 8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
Move files from open to closed

Reviewed-by: prr, mchung, erikj, ihse, serb, bpatel
2015-03-27 15:48:08 -05:00
Severin Gehwolf
e1598c8a28 8076181: bytecodeInterpreter.cpp refers to unknown labels
Reviewed-by: coleenp, dholmes
2015-03-27 16:12:40 +01:00
Zoltan Majo
1d3fd38413 Merge 2015-03-27 09:02:55 +01:00
Alexander Stepanov
78bab3fc15 8075956: Fix some tidy warnings for java.awt
Minor HTML markup fix

Reviewed-by: azvegint
2015-03-26 14:18:42 +04:00
Alexander Stepanov
fc1c3b4838 8075934: Fix some tidy warnings/errors for javax/imageio
Minor HTML markup fix

Reviewed-by: serb
2015-03-26 14:09:44 +04:00
Goetz Lindenmaier
cd3cc29559 8076057: aix: After 8075506, aix does not support large pages
Reviewed-by: kvn
2015-03-26 11:05:03 +01:00
Kirill Zhaldybin
d4860ee85e 8071546: hotspot/test/compiler/codecache/jmx/PoolsIndependenceTest.java has been fixed, but still is in the exclude list
Deleted @ignore clause

Reviewed-by: iignatyev
2015-04-13 15:02:35 +03:00
Tobias Hartmann
03116a7e0e 8076625: IndexOutOfBoundsException in HeapByteBufferTest.java
Use Utils::getRandomInstance and nextInt to get reproducable and limited random values.

Reviewed-by: kvn, vlivanov
2015-04-13 07:00:47 +02:00
Igor Veresov
1b5090da9e 8076968: PICL based initialization of L2 cache line size on some SPARC systems is incorrect
Chcek both l2-dcache-line-size and l2-cache-line-size properties to determine the size of the line

Reviewed-by: kvn
2015-04-06 20:20:17 -07:00
Vladimir Kozlov
b72eca85b5 Merge 2015-04-03 11:41:01 -07:00
Vladimir Kozlov
81bb7521bd 8076523: assert(((ABS(iv_adjustment_in_bytes) % elt_size) == 0)) fails in superword.cpp
Check that offset % mem_oper_size == 0 when alignment is verified during vectorization.

Reviewed-by: iveresov
2015-04-02 17:16:39 -07:00
Roland Westrelin
86e3a8d9f4 Merge 2015-04-02 10:38:36 +00:00
Volker Simonis
1bcb57c8de 8076532: Fix format warning/error in methodHandles_ppc.cpp
Reviewed-by: dholmes
2015-04-02 11:28:55 +02:00
Michael C Berg
9e55e44c85 8074981: Integer/FP scalar reduction optimization
Add scalar reduction optimization to C2 to take advantage of vector instructions in modern x86 CPUs.

Reviewed-by: kvn, twisti
2015-04-01 18:07:50 -07:00
Roland Westrelin
7c5d30b0e3 8075587: Compilation of constant array containing different sub classes crashes the JVM
Meet of 2 constant arrays result in bottom

Reviewed-by: kvn
2015-03-27 13:47:33 +01:00
Andrew Haley
1dfbc44c1f 8026049: (bf) Intrinsify ByteBuffer.put{Int, Double, Float, ...} methods
Use unaligned Unsafe loads and stores for ByteBuffer access on platforms which support unaligned access. Add intrinsics for Unsafe.{get,put}-X-Unaligned methods.

Reviewed-by: dholmes, jrose, psandoz, kvn
2015-03-31 12:31:18 -07:00
Roland Westrelin
61aa1cfdef 8075921: assert assert(allocx == alloc) fails in library_call.cpp
Control becomes top after arraycopy guards and confuses tighly coupled allocation logic

Reviewed-by: kvn, vlivanov
2015-03-27 08:58:45 +01:00
Roland Westrelin
2a18e44777 Merge 2015-03-30 08:03:47 +00:00
Tobias Hartmann
f41f86bff1 8075214: SIGSEGV in nmethod sweeping
Changed implementation of forceNMethodSweep() to request sweep from existing sweeper thread.

Reviewed-by: kvn, mgerdin, dholmes
2015-03-30 07:54:23 +02:00
Zoltan Majo
0129e6502d Merge 2015-03-27 15:08:13 +00:00
Zoltan Majo
357e482f8c Merge 2015-03-27 14:52:45 +00:00
Zoltan Majo
b690259da4 Merge 2015-03-27 10:19:18 +00:00
Zoltan Majo
5555698353 8075798: Allow ADLC register class to depend on runtime conditions also for cisc-spillable classes
Introduce a new register class, reg_class_dynamic, that supports also cist-spillable masks.

Reviewed-by: kvn, dlong, roland
2015-03-27 10:57:42 +01:00
Zoltan Majo
90e9ec4634 Merge 2015-03-27 09:02:53 +01:00
Jaroslav Bachorik
c8b0b0b85c 8023093: Add ManagementAgent.status diagnostic command
Reviewed-by: sla
2015-03-26 10:37:10 +01:00
Jaroslav Bachorik
ca198f7351 8023093: Add ManagementAgent.status diagnostic command
Reviewed-by: sla
2015-03-25 18:33:17 +01:00
Fredrik Arvidsson
eecde5f24c 8076154: com/sun/jdi/InstanceFilter.java failing due to missing MethodEntryRequest calls
Some jdi tests are failing due to missing MethodEntryRequest events during the test execution.

Reviewed-by: sla, jbachorik
2015-03-30 10:10:19 +02:00
Harold Seigel
e86e812a29 Merge 2015-03-29 09:21:15 -04:00
Katja Kantserova
76997df2d3 Merge 2015-03-25 15:22:45 +00:00
Volker Simonis
12008d9c8f 8075858: AIX: clean-up HotSpot make files
Reviewed-by: kvn
2015-03-25 15:50:17 +01:00
Roland Westrelin
1c38036fd8 8075922: assert(t == t_no_spec) fails in phaseX.cpp
Subgraph becomes dead RegionNode::Ideal() but is not destroyed

Reviewed-by: kvn, vlivanov
2015-03-25 14:25:53 +01:00
Alexander Scherbatiy
a76b85f2bb 8033000: No Horizontal Mouse Wheel Support In
Reviewed-by: serb, azvegint
2015-03-25 16:31:05 +04:00
Katja Kantserova
2d4a9917d5 8075820: java/lang/management/ThreadMXBean/FindDeadlocks.java should be unquarantined
Reviewed-by: jbachorik, sspitsyn
2015-03-25 12:39:48 +01:00
Erik Joelsson
b75ed37297 8075725: Remove /jre subdir in hotspot dist dir
Reviewed-by: tbell, ihse
2015-03-25 09:37:52 +01:00
Roland Westrelin
05ea4dbf1e 8069191: moving predicate out of loops may cause array accesses to bypass null check
Remove CastPP nodes only during final graph reshape

Reviewed-by: kvn, jrose
2015-03-24 10:25:09 +01:00
Sandhya Viswanathan
51fd716978 8078113: 8011102 changes may cause incorrect results
Replace Vzeroupper instruction in stubs with zeroing only used ymm registers.

Reviewed-by: kvn
2015-04-17 17:39:19 -07:00
Goetz Lindenmaier
22425d93ca 8077843: adlc: allow nodes that use TEMP inputs in expand rules
Reviewed-by: kvn
2015-04-15 14:51:56 +02:00
Vladimir Ivanov
34eda6d782 Merge 2015-04-17 16:45:55 +00:00
Vladimir Ivanov
f98a23137c 8057967: CallSite dependency tracking scales devastatingly poorly
Reviewed-by: jrose, roland, plevart, shade
2015-04-17 18:17:06 +03:00
Roland Westrelin
6862ecfe16 8077832: SA's dumpreplaydata, dumpcfg and buildreplayjars are broken
SA code out of sync with hotspot code

Reviewed-by: dsamersoff, sla, kvn
2015-04-15 11:36:42 +02:00
Roland Westrelin
b81d606a4c 8075663: compiler/rangechecks/TestExplicitRangeChecks.java fails in compiler nightlies
-Xmixed following -Xcomp doesn't undo the effect of -Xcomp with tiered on

Reviewed-by: kvn, vlivanov
2015-03-23 17:09:41 +01:00
Roland Westrelin
ef217cba65 8076094: CheckCastPPNode::Value() has outdated logic for constants
Outdated logic for constants in CheckCastPPNode::Value()

Reviewed-by: kvn, vlivanov
2015-03-23 14:21:17 +01:00
Roland Westrelin
05a8df78b3 Merge 2015-03-23 11:20:38 +00:00
Jaroslav Bachorik
a16c45029d 8054890: Serviceability: New diagnostic commands 'VM.set_flag' and 'JVMTI.data_dump'
Reviewed-by: sla, fparain, egahlin, ykantser
2015-03-23 11:46:15 +01:00
Harold Seigel
1665046b90 Merge 2015-03-29 09:20:27 -04:00
Goetz Lindenmaier
c99a66c76d 8076163: ppc: port "8074345: Enable RewriteBytecodes when VM runs with CDS"
Reviewed-by: coleenp, simonis, mdoerr
2015-03-27 12:43:45 +01:00
Coleen Phillimore
b115f80cb5 8075967: Zero interpreter asserts for SafeFetch<32,N> calls in ObjectMonitor
Implement SafeFetchX unsafely and make CanUseSafeFetchX false for Zero

Reviewed-by: sgehwolf, dholmes
2015-03-25 22:27:51 -04:00
Yumin Qi
3e6cf09c39 8074345: Enable RewriteBytecodes when VM runs with CDS
Enable bytecode rewriting when CDS turned on.

Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Reviewed-by: coleenp, iklam
2015-03-25 15:18:37 -07:00
Katja Kantserova
c08ffb03e4 Merge 2015-03-25 15:22:44 +00:00
Harold Seigel
257436004b 7127066: Class verifier accepts an invalid class file
For *store bytecodes, compare incoming, not outgoing, type state with exception handlers' stack maps.

Reviewed-by: acorn, dholmes
2015-03-25 08:16:48 -04:00
Katja Kantserova
e8495c6494 8075818: serviceability/threads/TestFalseDeadLock.java should be unquarantined
Reviewed-by: jbachorik, sspitsyn
2015-03-25 12:38:50 +01:00
Erik Joelsson
4adcfcd75c 8075725: Remove /jre subdir in hotspot dist dir
Reviewed-by: tbell, ihse
2015-03-25 09:37:59 +01:00
Jaroslav Bachorik
c5cefb4d20 Merge 2015-03-24 16:21:28 +00:00
Jaroslav Bachorik
af45a8044e 8024055: serviceability/attach/AttachWithStalePidFile.java createJavaPidFile() fails
Reviewed-by: sla, sspitsyn
2015-03-24 15:03:07 +01:00
Severin Gehwolf
e1d7a11c64 8075533: Zero JVM segfaults for -version after JDK-8074552
Remove SafeFetchXX Zero implementations and guard test with CanUseSafeFetchXX

Reviewed-by: simonis, coleenp
2015-03-23 13:53:44 +01:00
Tobias Hartmann
869a12fdab 8075136: Unnecessary sign extension for byte array access
Added C2 matching rules to remove unnecessary sign extension for byte array access.

Reviewed-by: roland, kvn, aph, adinn
2015-03-23 10:15:53 +01:00
Tobias Hartmann
3bc3f7cd49 8075324: Costs of memory operands in aarch64.ad are inconsistent
Made cost of 'indOffI' consistent to the other memory operands.

Reviewed-by: roland, aph, adinn
2015-03-23 10:13:18 +01:00
Tatiana Pivovarova
9ed9ae6214 8075488: compiler/whitebox/DeoptimizeFramesTest fails with exit code 1 due to unrecognized VM option -XX:+IgnoreUnexpectedVMOptions
Reviewed-by: kvn
2015-03-21 21:47:49 +03:00
Daniel D. Daugherty
4fd6cf3759 Merge 2015-03-20 15:21:51 -07:00
Daniel D. Daugherty
3964f24750 Merge 2015-03-20 15:19:30 -07:00
Vladimir Ivanov
b64245d163 Merge 2015-03-20 20:32:07 +00:00
Vladimir Ivanov
71020f90ef 8075263: MHI::checkCustomized isn't eliminated for inlined MethodHandles
Reviewed-by: jrose, kvn
2015-03-20 11:42:31 -07:00
Vladimir Ivanov
879642dc68 8074548: Never-taken branches cause repeated deopts in MHs.GWT case
Reviewed-by: jrose, kvn
2015-03-20 11:41:34 -07:00
Vladimir Ivanov
43dbb43fb5 8075263: MHI::checkCustomized isn't eliminated for inlined MethodHandles
Reviewed-by: jrose, kvn
2015-03-20 11:41:34 -07:00
Vladimir Ivanov
ad99060af9 8075266: Show runtime call details when printing machine code
Reviewed-by: jrose, kvn
2015-03-20 11:41:34 -07:00
Vladimir Ivanov
d6f7c9f4a6 8075269: Extend -XX:CompileCommand=print,* to work for MethodHandle.invokeBasic/linkTo*
Reviewed-by: jrose, kvn, dlong
2015-03-20 11:41:34 -07:00
Vladimir Ivanov
e53337224d 8075270: Print locals & stack slots location for PcDescs
Reviewed-by: kvn, jrose
2015-03-20 11:41:34 -07:00
Zoltan Majo
9755168fe2 Merge 2015-03-20 11:53:01 +01:00
Serguei Spitsyn
40807f0a8e 8067662: "java.lang.NullPointerException: Method name is null" from StackTraceElement.<init>
Update java/lang/instrument/RedefineMethodInBacktrace.sh test to cover the hotspot fix

Reviewed-by: coleenp, dcubed
2015-03-20 01:59:08 -07:00
Max Ockner
0d9de873f4 8072128: mutexLocker.cpp _mutex_array[] initialization broken with safepoint check change
Fixed missing "++" in _mutex_array[] initialization.

Reviewed-by: dholmes, fparain
2015-03-19 15:30:06 -04:00
Serguei Spitsyn
cc2bb40bf3 8067662: "java.lang.NullPointerException: Method name is null" from StackTraceElement.<init>
Use method cpref and klass version to provide meaningful methods name in stacktraces

Reviewed-by: coleenp, dcubed
2015-03-20 02:44:51 -07:00
Coleen Phillimore
f2ecc46c20 Merge 2015-03-19 23:33:38 +00:00
Daniel D. Daugherty
295d64e29f Merge 2015-03-19 14:28:44 -07:00
Coleen Phillimore
ea3e362117 Merge 2015-03-19 21:11:18 +00:00
Coleen Phillimore
01893ae525 8005521: StressMethodComparator is not thread-safe
Remove the debug option. It isn't correct or tested.

Reviewed-by: gtriantafill, dholmes, sspitsyn
2015-03-19 09:47:27 -04:00
Thomas Stuefe
addb7b0b0f 8075505: aix: improve handling of native memory
Reviewed-by: kvn, stuefe
2015-03-19 14:30:52 +01:00
Harold Seigel
bbd0191aea 8075118: JVM stuck in infinite loop during verification
Keep a list of handlers to prevent the same handler from being scanned repeatedly.

Reviewed-by: dlong, dholmes
2015-03-19 08:55:50 -04:00
Katja Kantserova
a4da3681de 8064923: [TESTBUG] jps doesn't display anything on embedded platforms and it causes some tests to fail
Reviewed-by: egahlin, jbachorik
2015-03-19 09:01:44 +01:00
Dmitry Dmitriev
15f8d6fc9c 8075216: Remove old flags, regarding to JDK9, from obsolete_jvm_flags
Reviewed-by: dholmes, simonis, gziemski
2015-03-18 17:45:47 -04:00
Erik Joelsson
dae5ac017d 8075140: Solaris build of native libraries not consistently using EXTRA_CFLAGS and EXTRA_LDFLAGS
Reviewed-by: ihse, tbell, dholmes
2015-03-18 12:02:44 +01:00
Erik Joelsson
c720b743e5 8072897: File sawindbg.dll has incorrect file version
Reviewed-by: tbell, dholmes
2015-03-18 10:22:24 +01:00
Roland Westrelin
71e31ee0b9 8073480: C2 should optimize explicit range checks
Explicit range checks should be recognized by C2

Reviewed-by: kvn, vlivanov
2015-03-17 10:06:31 +01:00
Roland Westrelin
0258ef4abc 8073866: Fix for 8064703 is not sufficient
Side effects between allocation and arraycopy can be reexecuted, unreachable uninitialized array can be seen by GCs

Reviewed-by: kvn, vlivanov
2015-03-16 12:24:06 +01:00
Roland Westrelin
44381600a5 8069263: assert(fm == NULL || fm->method_holder() == _participants[n]) failed: sanity
Default methods added to classes confuse dependency processing

Reviewed-by: kvn
2015-03-12 14:15:09 +01:00
Aleksei Efimov
2b912ed601 8040228: TransformerConfigurationException occurs with security manager, FSP and XSLT Ext
Reviewed-by: joehw, lancea, ahgross
2015-03-05 12:05:56 +03:00
Jaroslav Bachorik
3d5e558471 8042327: Enhance thread contexts in serviceability
Reviewed-by: chegar, dfuchs, olagneau, sla
2015-02-17 11:38:50 +01:00
Chris Hegarty
8beda66c68 8042322: Enhance thread contexts in networking and nio
Reviewed-by: alanb, michaelm
2015-04-02 11:43:06 +01:00
Chris Hegarty
58d6c8895b 8047149: Enhance thread contexts in core libraries
Reviewed-by: alanb
2015-04-02 11:43:06 +01:00
Kim Barrett
10a50a853f 8071931: Return of the phantom menace
Reviewed-by: mchung, dfuchs, ahgross, brutisso
2015-02-09 13:30:30 -05:00
Karen Kinnear
4f7ab1448e 8065366: Better private method resolution
Reviewed-by: hseigel, lfoltan, coleenp, ahgross
2014-12-19 11:48:50 -08:00
Sangheon Kim
6485d074d4 8059064: Better G1 log caching
Reviewed-by: jmasa, ahgross
2014-10-19 20:23:12 -07:00
Andrew Haley
58981bad95 8076467: AARCH64: assertion fail with -XX:+UseG1GC
Don't call encoding unless bool is true.

Reviewed-by: kvn
2015-04-14 17:19:08 +01:00
Jaroslav Bachorik
f2758e5843 8042327: Enhance thread contexts in serviceability
Reviewed-by: chegar, dfuchs, olagneau, sla
2014-08-01 13:31:03 +02:00
Chris Hegarty
8747b64d35 8042322: Enhance thread contexts in networking and nio
Reviewed-by: alanb, michaelm
2015-04-02 11:43:11 +01:00
Chris Hegarty
b6eef64a98 8047149: Enhance thread contexts in core libraries
Reviewed-by: alanb
2015-04-02 11:43:11 +01:00
Ivan Gerasimov
d81fa0fe0a 8075040: Need a test to cover FREAK (BugDB 20647631)
Reviewed-by: wetmore
2015-03-16 23:59:02 +03:00
Ivan Gerasimov
d13d264e54 8068720: Better certificate options checking
Reviewed-by: mullan
2015-02-20 12:59:26 +03:00
Valerie Peng
efd0db4d6d 8073163: Remove the redundant call of System.nanoTime() from RSACore
Remove the redundant call of System.nanoTime() in RSACore.java

Reviewed-by: mullan
2015-02-18 04:01:33 +00:00
Valerie Peng
377f09b1fa 8071726: Better RSA optimizations
Added a check when RSA signature is generated with a RSAPrivateCRTKey object.

Reviewed-by: mullan
2015-02-14 00:27:29 +00:00
Xueming Shen
e7cf4064cc 8064601: Improve jar file handling
Reviewed-by: alanb, coffeys
2015-01-28 12:36:25 -08:00
Alexander Zvegintsev
31896469fd 8069198: Upgrade image library
Reviewed-by: ahgross, bae, mschoene, serb
2015-01-19 20:02:31 +03:00
Sergey Bylokhov
e307e3921e 8068320: Limit applet requests
Reviewed-by: prr, skoivu, art
2015-01-18 23:28:36 +03:00
Phil Race
ecdd3ad65a 8067699: Better glyph storage
Reviewed-by: srl, bae, mschoene
2015-01-15 09:47:06 -08:00
Phil Race
e840a34dc2 8067684: Better font substitutions
Reviewed-by: bae, srl, mschoene
2015-01-07 13:10:00 -08:00
Jason Uh
dca06c50cb 8066479: Better certificate chain validation
Reviewed-by: mullan
2014-12-19 14:48:56 -08:00
Phil Race
c60792dc47 8067050: Better font consistency checking
Reviewed-by: bae, srl, mschoene
2014-12-18 10:45:45 -08:00
Phil Race
5299b605ee 8065291: Improved font lookups
Reviewed-by: bae, srl, mschoene
2014-12-18 10:45:02 -08:00
Phil Race
81c5390912 8065286: Fewer subtable substitutions
Reviewed-by: bae, srl, mschoene
2014-12-18 10:43:02 -08:00
Alexander Zvegintsev
b8ae69575c 8060461: Fix for JDK-8042609 uncovers additional issue
Reviewed-by: ahgross, prr, serb
2014-11-11 17:36:43 +03:00
Chris Hegarty
4b6b14f69e 8048210: More Enhancements to InnocuousThread and friends
Reviewed-by: alanb, pchelko, jbachorik
2014-06-26 14:49:23 +01:00
Chris Hegarty
74ad666e62 8044187: Enhancements to InnocuousThread
Reviewed-by: alanb
2014-06-18 10:44:24 +01:00
3359 changed files with 127210 additions and 49253 deletions

View File

@@ -302,3 +302,8 @@ c97e2d1bad9708d379793ba2a4c848eda14c741e jdk9-b55
ddb95d8f169b09544cc17e72a6baaff2400092f5 jdk9-b57
f40752db7773ca0c737f2ad88371e35c57fdfed7 jdk9-b58
da950f343762a856d69751570a4c07cfa68a415b jdk9-b59
38f98cb6b33562a926ec3b79c7b34128be37647d jdk9-b60
ac3f5a39d4ff14d70c365e12cf5ec8f2abd52a04 jdk9-b61
e7dbbef69d12b6a74dfad331b7188e7f893e8d29 jdk9-b62
989253a902c34dcb7564695161c9200a5fbb7412 jdk9-b63
8ffdeabc7c2b9a8280bf46cae026ac46b4d31c26 jdk9-b64

View File

@@ -302,3 +302,8 @@ eb7febe45865ba6b81f2ea68082262d0708a0b22 jdk9-b56
f25ee9f62427a9ba27418e5531a89754791a305b jdk9-b57
6e78dd9b121037719a065fe8fb25b936babdfecb jdk9-b58
39e8a131289e8386aa4c3e4b184faa812a7c0421 jdk9-b59
9fa2185bee17462d1014538bff60af6e6f0b01e7 jdk9-b60
ea38728b4f4bdd8fd0d7a89b18069f521cf05013 jdk9-b61
105d045a69174d870b69bfe471b3f2d05a9f8ecc jdk9-b62
0b32ed628fa60e4ab99fb0b5866d648e16231f17 jdk9-b63
82cf9aab9a83e41c8194ba01af9666afdb856cbe jdk9-b64

View File

@@ -41,7 +41,8 @@
The build is now a "<code>configure &amp;&amp; make</code>" style build
</li>
<li>
Any GNU make 3.81 or newer should work
Any GNU make 3.81 or newer should work, except on
Windows where 4.0 or newer is recommended.
</li>
<li>
The build should scale, i.e. more processors should
@@ -358,8 +359,8 @@
For all systems:
<ul>
<li>
Be sure the GNU make utility is version 3.81 or newer,
e.g. run "<code>make -version</code>"
Be sure the GNU make utility is version 3.81 (4.0 on
windows) or newer, e.g. run "<code>make -version</code>"
</li>
<li>
Install a
@@ -1726,10 +1727,10 @@
A few notes about using GNU make:
<ul>
<li>
You need GNU make version 3.81 or newer.
If the GNU make utility on your systems is not
3.81 or newer,
see <a href="#buildgmake">"Building GNU make"</a>.
You need GNU make version 3.81 or newer. On Windows 4.0 or
newer is recommended.
If the GNU make utility on your systems is not of a suitable
version see <a href="#buildgmake">"Building GNU make"</a>.
</li>
<li>
Place the location of the GNU make binary in the

View File

@@ -478,6 +478,15 @@ AC_DEFUN_ONCE([BASIC_SETUP_PATHS],
AUTOCONF_DIR=$TOPDIR/common/autoconf
])
# Evaluates platform specific overrides for devkit variables.
# $1: Name of variable
AC_DEFUN([BASIC_EVAL_DEVKIT_VARIABLE],
[
if test "x[$]$1" = x; then
eval $1="\${$1_${OPENJDK_TARGET_CPU}}"
fi
])
AC_DEFUN_ONCE([BASIC_SETUP_DEVKIT],
[
AC_ARG_WITH([devkit], [AS_HELP_STRING([--with-devkit],
@@ -487,12 +496,27 @@ AC_DEFUN_ONCE([BASIC_SETUP_DEVKIT],
DEVKIT_ROOT="$with_devkit"
# Check for a meta data info file in the root of the devkit
if test -f "$DEVKIT_ROOT/devkit.info"; then
# This potentially sets the following:
# DEVKIT_NAME: A descriptive name of the devkit
# DEVKIT_TOOLCHAIN_PATH: Corresponds to --with-toolchain-path
# DEVKIT_EXTRA_PATH: Corresponds to --with-extra-path
# DEVKIT_SYSROOT: Corresponds to --with-sysroot
. $DEVKIT_ROOT/devkit.info
# This potentially sets the following:
# A descriptive name of the devkit
BASIC_EVAL_DEVKIT_VARIABLE([DEVKIT_NAME])
# Corresponds to --with-extra-path
BASIC_EVAL_DEVKIT_VARIABLE([DEVKIT_EXTRA_PATH])
# Corresponds to --with-toolchain-path
BASIC_EVAL_DEVKIT_VARIABLE([DEVKIT_TOOLCHAIN_PATH])
# Corresponds to --with-sysroot
BASIC_EVAL_DEVKIT_VARIABLE([DEVKIT_SYSROOT])
# Identifies the Visual Studio version in the devkit
BASIC_EVAL_DEVKIT_VARIABLE([DEVKIT_VS_VERSION])
# The Visual Studio include environment variable
BASIC_EVAL_DEVKIT_VARIABLE([DEVKIT_VS_INCLUDE])
# The Visual Studio lib environment variable
BASIC_EVAL_DEVKIT_VARIABLE([DEVKIT_VS_LIB])
# Corresponds to --with-msvcr-dll
BASIC_EVAL_DEVKIT_VARIABLE([DEVKIT_MSVCR_DLL])
# Corresponds to --with-msvcp-dll
BASIC_EVAL_DEVKIT_VARIABLE([DEVKIT_MSVCP_DLL])
fi
AC_MSG_CHECKING([for devkit])
@@ -502,9 +526,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_DEVKIT],
AC_MSG_RESULT([$DEVKIT_ROOT])
fi
if test "x$DEVKIT_EXTRA_PATH" != x; then
BASIC_PREPEND_TO_PATH([EXTRA_PATH],$DEVKIT_EXTRA_PATH)
fi
BASIC_PREPEND_TO_PATH([EXTRA_PATH],$DEVKIT_EXTRA_PATH)
# Fallback default of just /bin if DEVKIT_PATH is not defined
if test "x$DEVKIT_TOOLCHAIN_PATH" = x; then
@@ -658,8 +680,6 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
fi
OUTPUT_ROOT="$SRC_ROOT/build/${CONF_NAME}"
$MKDIR -p "$OUTPUT_ROOT"
CONFIGURESUPPORT_OUTPUTDIR="$OUTPUT_ROOT/configure-support"
$MKDIR -p "$CONFIGURESUPPORT_OUTPUTDIR"
if test ! -d "$OUTPUT_ROOT"; then
AC_MSG_ERROR([Could not create build directory $OUTPUT_ROOT])
fi
@@ -683,8 +703,12 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
files_present=`$LS $OUTPUT_ROOT`
# Configure has already touched config.log and confdefs.h in the current dir when this check
# is performed.
filtered_files=`$ECHO "$files_present" | $SED -e 's/config.log//g' -e 's/confdefs.h//g' -e 's/ //g' \
| $TR -d '\n'`
filtered_files=`$ECHO "$files_present" \
| $SED -e 's/config.log//g' \
-e 's/configure.log//g' \
-e 's/confdefs.h//g' \
-e 's/ //g' \
| $TR -d '\n'`
if test "x$filtered_files" != x; then
AC_MSG_NOTICE([Current directory is $CURDIR.])
AC_MSG_NOTICE([Since this is not the source root, configure will output the configuration here])
@@ -702,6 +726,9 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
BASIC_FIXUP_PATH(OUTPUT_ROOT)
CONFIGURESUPPORT_OUTPUTDIR="$OUTPUT_ROOT/configure-support"
$MKDIR -p "$CONFIGURESUPPORT_OUTPUTDIR"
AC_SUBST(SPEC, $OUTPUT_ROOT/spec.gmk)
AC_SUBST(CONF_NAME, $CONF_NAME)
AC_SUBST(OUTPUT_ROOT, $OUTPUT_ROOT)
@@ -730,6 +757,16 @@ AC_DEFUN([BASIC_CHECK_MAKE_VERSION],
[
MAKE_CANDIDATE="$1"
DESCRIPTION="$2"
# On Cygwin, we require a newer version of make than on other platforms
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
MAKE_VERSION_EXPR="-e 4\."
MAKE_REQUIRED_VERSION="4.0"
else
MAKE_VERSION_EXPR="-e 3\.8[[12]] -e 4\."
MAKE_REQUIRED_VERSION="3.81"
fi
if test "x$MAKE_CANDIDATE" != x; then
AC_MSG_NOTICE([Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION])
MAKE_VERSION_STRING=`$MAKE_CANDIDATE --version | $HEAD -n 1`
@@ -737,9 +774,9 @@ AC_DEFUN([BASIC_CHECK_MAKE_VERSION],
if test "x$IS_GNU_MAKE" = x; then
AC_MSG_NOTICE([Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring.])
else
IS_MODERN_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP -e '3\.8[[12]]' -e '4\.'`
IS_MODERN_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP $MAKE_VERSION_EXPR`
if test "x$IS_MODERN_MAKE" = x; then
AC_MSG_NOTICE([Found GNU make at $MAKE_CANDIDATE, however this is not version 3.81 or later. (it is: $MAKE_VERSION_STRING). Ignoring.])
AC_MSG_NOTICE([Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring.])
else
if test "x$OPENJDK_BUILD_OS" = "xwindows"; then
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
@@ -803,7 +840,7 @@ AC_DEFUN([BASIC_CHECK_GNU_MAKE],
fi
BASIC_CHECK_MAKE_VERSION("$MAKE", [user supplied MAKE=$MAKE])
if test "x$FOUND_MAKE" = x; then
AC_MSG_ERROR([The specified make (by MAKE=$MAKE) is not GNU make 3.81 or newer.])
AC_MSG_ERROR([The specified make (by MAKE=$MAKE) is not GNU make $MAKE_REQUIRED_VERSION or newer.])
fi
else
# Try our hardest to locate a correct version of GNU make
@@ -831,13 +868,13 @@ AC_DEFUN([BASIC_CHECK_GNU_MAKE],
fi
if test "x$FOUND_MAKE" = x; then
AC_MSG_ERROR([Cannot find GNU make 3.81 or newer! Please put it in the path, or add e.g. MAKE=/opt/gmake3.81/make as argument to configure.])
AC_MSG_ERROR([Cannot find GNU make $MAKE_REQUIRED_VERSION or newer! Please put it in the path, or add e.g. MAKE=/opt/gmake3.81/make as argument to configure.])
fi
fi
MAKE=$FOUND_MAKE
AC_SUBST(MAKE)
AC_MSG_NOTICE([Using GNU make 3.81 (or later) at $FOUND_MAKE (version: $MAKE_VERSION_STRING)])
AC_MSG_NOTICE([Using GNU make at $FOUND_MAKE (version: $MAKE_VERSION_STRING)])
BASIC_CHECK_MAKE_OUTPUT_SYNC
])
@@ -1017,3 +1054,29 @@ AC_DEFUN_ONCE([BASIC_CHECK_BASH_OPTIONS],
AC_SUBST(BASH_ARGS)
])
# Code to run after AC_OUTPUT
AC_DEFUN_ONCE([BASIC_POST_CONFIG_OUTPUT],
[
# Try to move config.log (generated by autoconf) to the configure-support directory.
if test -e ./config.log; then
$MV -f ./config.log "$CONFIGURESUPPORT_OUTPUTDIR/config.log" 2> /dev/null
fi
# Rotate our log file (configure.log)
if test -e "$OUTPUT_ROOT/configure.log.old"; then
$RM -f "$OUTPUT_ROOT/configure.log.old"
fi
if test -e "$OUTPUT_ROOT/configure.log"; then
$MV -f "$OUTPUT_ROOT/configure.log" "$OUTPUT_ROOT/configure.log.old" 2> /dev/null
fi
# Move configure.log from current directory to the build output root
if test -e ./configure.log; then
echo found it
$MV -f ./configure.log "$OUTPUT_ROOT/configure.log" 2> /dev/null
fi
# Make the compare script executable
$CHMOD +x $OUTPUT_ROOT/compare.sh
])

View File

@@ -66,7 +66,7 @@ AC_DEFUN([BASIC_MAKE_WINDOWS_SPACE_SAFE_CYGWIN],
# Going to short mode and back again did indeed matter. Since short mode is
# case insensitive, let's make it lowercase to improve readability.
shortmode_path=`$ECHO "$shortmode_path" | $TR 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
# Now convert it back to Unix-stile (cygpath)
# Now convert it back to Unix-style (cygpath)
input_path=`$CYGPATH -u "$shortmode_path"`
new_path="$input_path"
fi
@@ -320,8 +320,8 @@ AC_DEFUN([BASIC_CHECK_PATHS_WINDOWS],
WINDOWS_ENV_VENDOR='cygwin'
WINDOWS_ENV_VERSION="$CYGWIN_VERSION"
CYGWIN_VERSION_OK=`$ECHO $CYGWIN_VERSION | $GREP ^1.7.`
if test "x$CYGWIN_VERSION_OK" = x; then
CYGWIN_VERSION_OLD=`$ECHO $CYGWIN_VERSION | $GREP -e '^1\.[0-6]'`
if test "x$CYGWIN_VERSION_OLD" != x; then
AC_MSG_NOTICE([Your cygwin is too old. You are running $CYGWIN_VERSION, but at least cygwin 1.7 is required. Please upgrade.])
AC_MSG_ERROR([Cannot continue])
fi

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
@@ -306,7 +306,6 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK],
BOOTJDK_CHECK_TOOL_IN_BOOTJDK(JAVAC, javac)
BOOTJDK_CHECK_TOOL_IN_BOOTJDK(JAVAH, javah)
BOOTJDK_CHECK_TOOL_IN_BOOTJDK(JAR, jar)
BOOTJDK_CHECK_TOOL_IN_BOOTJDK(NATIVE2ASCII, native2ascii)
BOOTJDK_CHECK_TOOL_IN_BOOTJDK(JARSIGNER, jarsigner)
# Finally, set some other options...

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2012, 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
@@ -57,6 +57,5 @@ JAVA_CMD:=$(BOOT_JDK)/bin/java
JAVAC_CMD:=$(BOOT_JDK)/bin/javac
JAVAH_CMD:=$(BOOT_JDK)/bin/javah
JAR_CMD:=$(BOOT_JDK)/bin/jar
NATIVE2ASCII_CMD:=$(BOOT_JDK)/bin/native2ascii
JARSIGNER_CMD:=$(BOOT_JDK)/bin/jarsigner
SJAVAC_SERVER_JAVA_CMD:=$(JAVA_CMD)

View File

@@ -255,13 +255,10 @@ if test "x$conf_debug_configure" != x; then
set -x
fi
if test "x$conf_debug_configure" = xtrue; then
# Turn on logging, but don't turn on twice when called recursive
conf_debug_logfile=./debug-configure.log
(exec 3>&1 ; (. $conf_script_to_run "${conf_processed_arguments[@]}" 2>&1 1>&3 ) | tee -a $conf_debug_logfile 1>&2 ; exec 3>&-) | tee -a $conf_debug_logfile
else
( . $conf_script_to_run "${conf_processed_arguments[@]}" )
fi
# Now transfer control to the script generated by autoconf. This is where the
# main work is done.
conf_logfile=./configure.log
(exec 3>&1 ; (. $conf_script_to_run "${conf_processed_arguments[@]}" 2>&1 1>&3 ) | tee -a $conf_logfile 1>&2 ; exec 3>&-) | tee -a $conf_logfile
conf_result_code=$?
###

View File

@@ -265,15 +265,10 @@ CONFIG_STATUS="$CONFIGURESUPPORT_OUTPUTDIR/config.status"
# Create the actual output files. Now the main work of configure is done.
AC_OUTPUT
# After AC_OUTPUT, we need to do final work
CUSTOM_CONFIG_OUTPUT_GENERATED_HOOK
# Try to move the config.log file to the output directory.
if test -e ./config.log; then
$MV -f ./config.log "$CONFIGURESUPPORT_OUTPUTDIR/config.log" 2> /dev/null
fi
# Make the compare script executable
$CHMOD +x $OUTPUT_ROOT/compare.sh
BASIC_POST_CONFIG_OUTPUT
# Finally output some useful information to the user
HELP_PRINT_SUMMARY_AND_WARNINGS

View File

@@ -65,12 +65,6 @@ AC_DEFUN_ONCE([FLAGS_SETUP_INIT_FLAGS],
fi
AC_SUBST(POST_STRIP_CMD)
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
# FIXME: break out into MCSFLAGS
POST_MCS_CMD="$MCS -d -a \"JDK $FULL_VERSION\""
fi
AC_SUBST(POST_MCS_CMD)
if test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
CC_OUT_OPTION=-Fo
EXE_OUT_OPTION=-out:
@@ -237,7 +231,6 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_LIBS],
AC_SUBST(C_FLAG_REORDER)
AC_SUBST(CXX_FLAG_REORDER)
AC_SUBST(SHARED_LIBRARY_FLAGS)
AC_SUBST(SET_EXECUTABLE_ORIGIN)
AC_SUBST(SET_SHARED_LIBRARY_ORIGIN)
AC_SUBST(SET_SHARED_LIBRARY_NAME)
@@ -530,6 +523,10 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK],
# CXXFLAGS_JDK - C++ Compiler flags
# COMMON_CCXXFLAGS_JDK - common to C and C++
if test "x$TOOLCHAIN_TYPE" = xgcc; then
if test "x$OPENJDK_TARGET_CPU" = xx86; then
# Force compatibility with i586 on 32 bit intel platforms.
COMMON_CCXXFLAGS="${COMMON_CCXXFLAGS} -march=i586"
fi
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS $COMMON_CCXXFLAGS_JDK -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wformat=2 \
-pipe -D_GNU_SOURCE -D_REENTRANT -D_LARGEFILE64_SOURCE"
case $OPENJDK_TARGET_CPU_ARCH in
@@ -906,6 +903,24 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_MISC],
[COMPILER_SUPPORTS_TARGET_BITS_FLAG=false])
AC_SUBST(COMPILER_SUPPORTS_TARGET_BITS_FLAG)
AC_ARG_ENABLE([warnings-as-errors], [AS_HELP_STRING([--disable-warnings-as-errors],
[do not consider native warnings to be an error @<:@enabled@:>@])])
AC_MSG_CHECKING([if native warnings are errors])
if test "x$enable_warnings_as_errors" = "xyes"; then
AC_MSG_RESULT([yes (explicitely set)])
WARNINGS_AS_ERRORS=true
elif test "x$enable_warnings_as_errors" = "xno"; then
AC_MSG_RESULT([no])
WARNINGS_AS_ERRORS=false
elif test "x$enable_warnings_as_errors" = "x"; then
AC_MSG_RESULT([yes (default)])
WARNINGS_AS_ERRORS=true
else
AC_MSG_ERROR([--enable-warnings-as-errors accepts no argument])
fi
AC_SUBST(WARNINGS_AS_ERRORS)
case "${TOOLCHAIN_TYPE}" in
microsoft)
DISABLE_WARNING_PREFIX="-wd"

File diff suppressed because it is too large Load Diff

View File

@@ -212,7 +212,7 @@ AC_DEFUN_ONCE([HELP_PRINT_SUMMARY_AND_WARNINGS],
if test "x$TOOLCHAIN_VERSION" != "x"; then
print_version=" $TOOLCHAIN_VERSION"
fi
printf "* Toolchain: $TOOLCHAIN_TYPE ($TOOLCHAIN_DESCRIPTION$print_version)\n"
printf "* Toolchain: $TOOLCHAIN_TYPE ($TOOLCHAIN_DESCRIPTION$print_version)\n"
printf "* C Compiler: Version $CC_VERSION_NUMBER (at $CC)\n"
printf "* C++ Compiler: Version $CXX_VERSION_NUMBER (at $CXX)\n"
@@ -263,14 +263,20 @@ AC_DEFUN_ONCE([HELP_PRINT_SUMMARY_AND_WARNINGS],
AC_DEFUN_ONCE([HELP_REPEAT_WARNINGS],
[
if test -e "$OUTPUT_ROOT/config.log"; then
$GREP '^configure:.*: WARNING:' "$OUTPUT_ROOT/config.log" > /dev/null 2>&1
if test $? -eq 0; then
printf "The following warnings were produced. Repeated here for convenience:\n"
# We must quote sed expression (using []) to stop m4 from eating the [].
$GREP '^configure:.*: WARNING:' "$OUTPUT_ROOT/config.log" | $SED -e [ 's/^configure:[0-9]*: //' ]
printf "\n"
# Locate config.log.
if test -e "$CONFIGURESUPPORT_OUTPUTDIR/config.log"; then
CONFIG_LOG_PATH="$CONFIGURESUPPORT_OUTPUTDIR"
elif test -e "./config.log"; then
CONFIG_LOG_PATH="."
fi
fi
if test -e "$CONFIG_LOG_PATH/config.log"; then
$GREP '^configure:.*: WARNING:' "$CONFIG_LOG_PATH/config.log" > /dev/null 2>&1
if test $? -eq 0; then
printf "The following warnings were produced. Repeated here for convenience:\n"
# We must quote sed expression (using []) to stop m4 from eating the [].
$GREP '^configure:.*: WARNING:' "$CONFIG_LOG_PATH/config.log" | $SED -e [ 's/^configure:[0-9]*: //' ]
printf "\n"
fi
fi
])

View File

@@ -182,6 +182,7 @@ else
FULL_VERSION=$(RELEASE)-$(JDK_BUILD_NUMBER)
endif
JRE_RELEASE_VERSION:=$(FULL_VERSION)
JDK_VERSION_FOR_MANIFEST := $(JDK_MINOR_VERSION).$(JDK_MICRO_VERSION).$(if $(JDK_UPDATE_VERSION),$(JDK_UPDATE_VERSION),0).$(COOKED_BUILD_NUMBER)
# How to compile the code: release, fastdebug or slowdebug
DEBUG_LEVEL:=@DEBUG_LEVEL@
@@ -320,6 +321,9 @@ CXX_FLAG_DEPS:=@CXX_FLAG_DEPS@
DISABLE_WARNING_PREFIX := @DISABLE_WARNING_PREFIX@
CFLAGS_WARNINGS_ARE_ERRORS:=@CFLAGS_WARNINGS_ARE_ERRORS@
# A global flag (true or false) determining if native warnings are considered errors.
WARNINGS_AS_ERRORS := @WARNINGS_AS_ERRORS@
CFLAGS_CCACHE:=@CFLAGS_CCACHE@
# Tools that potentially need to be cross compilation aware.
@@ -354,10 +358,6 @@ USING_BROKEN_SUSE_LD:=@USING_BROKEN_SUSE_LD@
LDFLAGS_JDKLIB:=@LDFLAGS_JDKLIB@
LDFLAGS_JDKLIB_SUFFIX:=@LDFLAGS_JDKLIB_SUFFIX@
# On some platforms the linker cannot be used to create executables, thus
# the need for a separate LDEXE command.
LDEXE:=@FIXPATH@ @LDEXE@
# LDFLAGS used to link the jdk native launchers (C-code)
LDFLAGS_JDKEXE:=@LDFLAGS_JDKEXE@
LDFLAGS_JDKEXE_SUFFIX:=@LDFLAGS_JDKEXE_SUFFIX@
@@ -370,9 +370,6 @@ LDCXX:=@FIXPATH@ @LDCXX@
# The flags for linking libstdc++ linker.
LIBCXX:=@LIBCXX@
# Sometimes a different linker is needed for c++ executables
LDEXECXX:=@FIXPATH@ @LDEXECXX@
# Compiler and linker flags used when building native tests
CFLAGS_TESTLIB:=@CFLAGS_TESTLIB@
CXXFLAGS_TESTLIB:=@CXXFLAGS_TESTLIB@
@@ -397,13 +394,9 @@ ARFLAGS:=@ARFLAGS@
NM:=@NM@
GNM:=@GNM@
STRIP:=@STRIP@
MCS:=@MCS@
LIPO:=@LIPO@
# Command to create a shared library
SHARED_LIBRARY_FLAGS:=@SHARED_LIBRARY_FLAGS@
# Options to linker to specify a mapfile.
# (Note absence of := assignment, because we do not want to evaluate the macro body here)
SET_SHARED_LIBRARY_MAPFILE=@SET_SHARED_LIBRARY_MAPFILE@
@@ -446,7 +439,6 @@ EXE_SUFFIX:=@EXE_SUFFIX@
OBJ_SUFFIX:=@OBJ_SUFFIX@
POST_STRIP_CMD:=@POST_STRIP_CMD@
POST_MCS_CMD:=@POST_MCS_CMD@
JAVA_FLAGS:=@JAVA_FLAGS@
JAVA_FLAGS_BIG:=@JAVA_FLAGS_BIG@
@@ -461,7 +453,6 @@ JAVA_CMD:=@JAVA@
JAVAC_CMD:=@JAVAC@
JAVAH_CMD:=@JAVAH@
JAR_CMD:=@JAR@
NATIVE2ASCII_CMD:=@NATIVE2ASCII@
JARSIGNER_CMD:=@JARSIGNER@
SJAVAC_SERVER_JAVA_CMD:=@SJAVAC_SERVER_JAVA@
# These variables are meant to be used. They are defined with = instead of := to make
@@ -471,7 +462,6 @@ JAVA_SMALL=@FIXPATH@ $(JAVA_CMD) $(JAVA_FLAGS_SMALL) $(JAVA_FLAGS)
JAVAC=@FIXPATH@ $(JAVAC_CMD)
JAVAH=@FIXPATH@ $(JAVAH_CMD)
JAR=@FIXPATH@ $(JAR_CMD)
NATIVE2ASCII=@FIXPATH@ $(NATIVE2ASCII_CMD) $(JAVA_TOOL_FLAGS_SMALL)
JARSIGNER=@FIXPATH@ $(JARSIGNER_CMD)
# A specific java binary with specific options can be used to run
# the long running background sjavac servers and other long running tasks.
@@ -698,10 +688,10 @@ SYMBOLS_IMAGE_SUBDIR:=symbols
SYMBOLS_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(SYMBOLS_IMAGE_SUBDIR)
# Macosx bundles directory definitions
JDK_BUNDLE_SUBDIR=jdk-bundle/jdk$(JDK_VERSION).jdk/Contents
JRE_BUNDLE_SUBDIR=jre-bundle/jre$(JDK_VERSION).jre/Contents
JDK_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JDK_BUNDLE_SUBDIR)
JRE_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JRE_BUNDLE_SUBDIR)
JDK_MACOSX_BUNDLE_SUBDIR=jdk-bundle/jdk$(JDK_VERSION).jdk/Contents
JRE_MACOSX_BUNDLE_SUBDIR=jre-bundle/jre$(JDK_VERSION).jre/Contents
JDK_MACOSX_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JDK_MACOSX_BUNDLE_SUBDIR)
JRE_MACOSX_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JRE_MACOSX_BUNDLE_SUBDIR)
# This macro is called to allow inclusion of closed source counterparts.
# Unless overridden in closed sources, it expands to nothing.

View File

@@ -189,11 +189,15 @@ AC_DEFUN_ONCE([TOOLCHAIN_PRE_DETECTION],
ORG_CFLAGS="$CFLAGS"
ORG_CXXFLAGS="$CXXFLAGS"
# autoconf magic only relies on PATH, so update it if tools dir is specified
OLD_PATH="$PATH"
# On Windows, we need to detect the visual studio installation first.
# This will change the PATH, but we need to keep that new PATH even
# after toolchain detection is done, since the compiler (on x86) uses
# it for DLL resolution in runtime.
if test "x$OPENJDK_BUILD_OS" = "xwindows" && test "x$TOOLCHAIN_TYPE" = "xmicrosoft"; then
if test "x$OPENJDK_BUILD_OS" = "xwindows" \
&& test "x$TOOLCHAIN_TYPE" = "xmicrosoft"; then
TOOLCHAIN_SETUP_VISUAL_STUDIO_ENV
# Reset path to VS_PATH. It will include everything that was on PATH at the time we
# ran TOOLCHAIN_SETUP_VISUAL_STUDIO_ENV.
@@ -203,13 +207,10 @@ AC_DEFUN_ONCE([TOOLCHAIN_PRE_DETECTION],
export LIB="$VS_LIB"
fi
# autoconf magic only relies on PATH, so update it if tools dir is specified
OLD_PATH="$PATH"
# For solaris we really need solaris tools, and not the GNU equivalent.
# The build tools on Solaris reside in /usr/ccs (C Compilation System),
# so add that to path before starting to probe.
# FIXME: This was originally only done for AS,NM,GNM,STRIP,MCS,OBJCOPY,OBJDUMP.
# FIXME: This was originally only done for AS,NM,GNM,STRIP,OBJCOPY,OBJDUMP.
if test "x$OPENJDK_BUILD_OS" = xsolaris; then
PATH="/usr/ccs/bin:$PATH"
fi
@@ -568,9 +569,6 @@ AC_DEFUN_ONCE([TOOLCHAIN_DETECT_TOOLCHAIN_EXTRA],
BASIC_FIXUP_EXECUTABLE(NM)
BASIC_PATH_PROGS(GNM, gnm)
BASIC_FIXUP_EXECUTABLE(GNM)
BASIC_PATH_PROGS(MCS, mcs)
BASIC_FIXUP_EXECUTABLE(MCS)
elif test "x$OPENJDK_TARGET_OS" != xwindows; then
# FIXME: we should unify this with the solaris case above.
BASIC_CHECK_TOOLS(STRIP, strip)
@@ -662,13 +660,6 @@ AC_DEFUN_ONCE([TOOLCHAIN_SETUP_LEGACY],
USE_CLANG=true
fi
AC_SUBST(USE_CLANG)
# LDEXE is the linker to use, when creating executables. Not really used.
# FIXME: These should just be removed!
LDEXE="$LD"
LDEXECXX="$LDCXX"
AC_SUBST(LDEXE)
AC_SUBST(LDEXECXX)
])
# Do some additional checks on the detected tools.

View File

@@ -210,6 +210,37 @@ AC_DEFUN([TOOLCHAIN_FIND_VISUAL_STUDIO],
done
exit 0
elif test "x$DEVKIT_VS_VERSION" != x; then
VS_VERSION=$DEVKIT_VS_VERSION
TOOLCHAIN_VERSION=$VS_VERSION
eval VS_DESCRIPTION="\${VS_DESCRIPTION_${VS_VERSION}}"
eval VS_VERSION_INTERNAL="\${VS_VERSION_INTERNAL_${VS_VERSION}}"
eval MSVCR_NAME="\${VS_MSVCR_${VS_VERSION}}"
eval MSVCP_NAME="\${VS_MSVCP_${VS_VERSION}}"
eval PLATFORM_TOOLSET="\${VS_VS_PLATFORM_NAME_${VS_VERSION}}"
VS_PATH="$TOOLCHAIN_PATH:$PATH"
# Convert DEVKIT_VS_INCLUDE into windows style VS_INCLUDE so that it
# can still be exported as INCLUDE for compiler invocations without
# SYSROOT_CFLAGS
OLDIFS="$IFS"
IFS=";"
for i in $DEVKIT_VS_INCLUDE; do
ipath=$i
BASIC_WINDOWS_REWRITE_AS_WINDOWS_MIXED_PATH([ipath])
VS_INCLUDE="$VS_INCLUDE;$ipath"
done
# Convert DEVKIT_VS_LIB into VS_LIB so that it can still be exported
# as LIB for compiler invocations without SYSROOT_LDFLAGS
for i in $DEVKIT_VS_LIB; do
libpath=$i
BASIC_WINDOWS_REWRITE_AS_WINDOWS_MIXED_PATH([libpath])
VS_LIB="$VS_LIB;$libpath"
done
IFS="$OLDIFS"
AC_MSG_NOTICE([Found devkit $VS_DESCRIPTION])
elif test "x$with_toolchain_version" != x; then
# User override; check that it is valid
if test "x${VALID_VS_VERSIONS/$with_toolchain_version/}" = "x${VALID_VS_VERSIONS}"; then
@@ -262,71 +293,81 @@ AC_DEFUN([TOOLCHAIN_SETUP_VISUAL_STUDIO_ENV],
# First-hand choice is to locate and run the vsvars bat file.
TOOLCHAIN_FIND_VISUAL_STUDIO
if test "x$VS_ENV_CMD" != x; then
# We have found a Visual Studio environment on disk, let's extract variables from the vsvars bat file.
BASIC_FIXUP_EXECUTABLE(VS_ENV_CMD)
# If we have a devkit, skip all of the below.
if test "x$DEVKIT_VS_VERSION" = x; then
if test "x$VS_ENV_CMD" != x; then
# We have found a Visual Studio environment on disk, let's extract variables from the vsvars bat file.
BASIC_FIXUP_EXECUTABLE(VS_ENV_CMD)
# Lets extract the variables that are set by vcvarsall.bat/vsvars32.bat/vsvars64.bat
AC_MSG_NOTICE([Trying to extract Visual Studio environment variables])
# Lets extract the variables that are set by vcvarsall.bat/vsvars32.bat/vsvars64.bat
AC_MSG_NOTICE([Trying to extract Visual Studio environment variables])
# We need to create a couple of temporary files.
VS_ENV_TMP_DIR="$CONFIGURESUPPORT_OUTPUTDIR/vs-env"
$MKDIR -p $VS_ENV_TMP_DIR
# We need to create a couple of temporary files.
VS_ENV_TMP_DIR="$CONFIGURESUPPORT_OUTPUTDIR/vs-env"
$MKDIR -p $VS_ENV_TMP_DIR
# Cannot use the VS10 setup script directly (since it only updates the DOS subshell environment).
# Instead create a shell script which will set the relevant variables when run.
WINPATH_VS_ENV_CMD="$VS_ENV_CMD"
BASIC_WINDOWS_REWRITE_AS_WINDOWS_MIXED_PATH([WINPATH_VS_ENV_CMD])
WINPATH_BASH="$BASH"
BASIC_WINDOWS_REWRITE_AS_WINDOWS_MIXED_PATH([WINPATH_BASH])
# Cannot use the VS10 setup script directly (since it only updates the DOS subshell environment).
# Instead create a shell script which will set the relevant variables when run.
WINPATH_VS_ENV_CMD="$VS_ENV_CMD"
BASIC_WINDOWS_REWRITE_AS_WINDOWS_MIXED_PATH([WINPATH_VS_ENV_CMD])
WINPATH_BASH="$BASH"
BASIC_WINDOWS_REWRITE_AS_WINDOWS_MIXED_PATH([WINPATH_BASH])
# Generate a DOS batch file which runs $VS_ENV_CMD, and then creates a shell
# script (executable by bash) that will setup the important variables.
EXTRACT_VC_ENV_BAT_FILE="$VS_ENV_TMP_DIR/extract-vs-env.bat"
$ECHO "@echo off" > $EXTRACT_VC_ENV_BAT_FILE
# This will end up something like:
# call C:/progra~2/micros~2.0/vc/bin/amd64/vcvars64.bat
$ECHO "call $WINPATH_VS_ENV_CMD $VS_ENV_ARGS" >> $EXTRACT_VC_ENV_BAT_FILE
# These will end up something like:
# C:/CygWin/bin/bash -c 'echo VS_PATH=\"$PATH\" > localdevenv.sh
# The trailing space for everyone except PATH is no typo, but is needed due
# to trailing \ in the Windows paths. These will be stripped later.
$ECHO "$WINPATH_BASH -c 'echo VS_PATH="'\"$PATH\" > set-vs-env.sh' >> $EXTRACT_VC_ENV_BAT_FILE
$ECHO "$WINPATH_BASH -c 'echo VS_INCLUDE="'\"$INCLUDE\;$include \" >> set-vs-env.sh' >> $EXTRACT_VC_ENV_BAT_FILE
$ECHO "$WINPATH_BASH -c 'echo VS_LIB="'\"$LIB\;$lib \" >> set-vs-env.sh' >> $EXTRACT_VC_ENV_BAT_FILE
$ECHO "$WINPATH_BASH -c 'echo VCINSTALLDIR="'\"$VCINSTALLDIR \" >> set-vs-env.sh' >> $EXTRACT_VC_ENV_BAT_FILE
$ECHO "$WINPATH_BASH -c 'echo WindowsSdkDir="'\"$WindowsSdkDir \" >> set-vs-env.sh' >> $EXTRACT_VC_ENV_BAT_FILE
$ECHO "$WINPATH_BASH -c 'echo WINDOWSSDKDIR="'\"$WINDOWSSDKDIR \" >> set-vs-env.sh' >> $EXTRACT_VC_ENV_BAT_FILE
# Generate a DOS batch file which runs $VS_ENV_CMD, and then creates a shell
# script (executable by bash) that will setup the important variables.
EXTRACT_VC_ENV_BAT_FILE="$VS_ENV_TMP_DIR/extract-vs-env.bat"
$ECHO "@echo off" > $EXTRACT_VC_ENV_BAT_FILE
# This will end up something like:
# call C:/progra~2/micros~2.0/vc/bin/amd64/vcvars64.bat
$ECHO "call $WINPATH_VS_ENV_CMD $VS_ENV_ARGS" >> $EXTRACT_VC_ENV_BAT_FILE
# These will end up something like:
# C:/CygWin/bin/bash -c 'echo VS_PATH=\"$PATH\" > localdevenv.sh
# The trailing space for everyone except PATH is no typo, but is needed due
# to trailing \ in the Windows paths. These will be stripped later.
$ECHO "$WINPATH_BASH -c 'echo VS_PATH="'\"$PATH\" > set-vs-env.sh' \
>> $EXTRACT_VC_ENV_BAT_FILE
$ECHO "$WINPATH_BASH -c 'echo VS_INCLUDE="'\"$INCLUDE\;$include \" >> set-vs-env.sh' \
>> $EXTRACT_VC_ENV_BAT_FILE
$ECHO "$WINPATH_BASH -c 'echo VS_LIB="'\"$LIB\;$lib \" >> set-vs-env.sh' \
>> $EXTRACT_VC_ENV_BAT_FILE
$ECHO "$WINPATH_BASH -c 'echo VCINSTALLDIR="'\"$VCINSTALLDIR \" >> set-vs-env.sh' \
>> $EXTRACT_VC_ENV_BAT_FILE
$ECHO "$WINPATH_BASH -c 'echo WindowsSdkDir="'\"$WindowsSdkDir \" >> set-vs-env.sh' \
>> $EXTRACT_VC_ENV_BAT_FILE
$ECHO "$WINPATH_BASH -c 'echo WINDOWSSDKDIR="'\"$WINDOWSSDKDIR \" >> set-vs-env.sh' \
>> $EXTRACT_VC_ENV_BAT_FILE
# Now execute the newly created bat file.
# The | cat is to stop SetEnv.Cmd to mess with system colors on msys.
# Change directory so we don't need to mess with Windows paths in redirects.
cd $VS_ENV_TMP_DIR
cmd /c extract-vs-env.bat | $CAT
cd $CURDIR
# Now execute the newly created bat file.
# The | cat is to stop SetEnv.Cmd to mess with system colors on msys.
# Change directory so we don't need to mess with Windows paths in redirects.
cd $VS_ENV_TMP_DIR
cmd /c extract-vs-env.bat | $CAT
cd $CURDIR
if test ! -s $VS_ENV_TMP_DIR/set-vs-env.sh; then
AC_MSG_NOTICE([Could not succesfully extract the envionment variables needed for the VS setup.])
AC_MSG_NOTICE([Try setting --with-tools-dir to the VC/bin directory within the VS installation])
AC_MSG_NOTICE([or run "bash.exe -l" from a VS command prompt and then run configure from there.])
AC_MSG_ERROR([Cannot continue])
if test ! -s $VS_ENV_TMP_DIR/set-vs-env.sh; then
AC_MSG_NOTICE([Could not succesfully extract the envionment variables needed for the VS setup.])
AC_MSG_NOTICE([Try setting --with-tools-dir to the VC/bin directory within the VS installation])
AC_MSG_NOTICE([or run "bash.exe -l" from a VS command prompt and then run configure from there.])
AC_MSG_ERROR([Cannot continue])
fi
# Now set all paths and other env variables. This will allow the rest of
# the configure script to find and run the compiler in the proper way.
AC_MSG_NOTICE([Setting extracted environment variables])
. $VS_ENV_TMP_DIR/set-vs-env.sh
# Now we have VS_PATH, VS_INCLUDE, VS_LIB. For further checking, we
# also define VCINSTALLDIR, WindowsSdkDir and WINDOWSSDKDIR.
else
# We did not find a vsvars bat file, let's hope we are run from a VS command prompt.
AC_MSG_NOTICE([Cannot locate a valid Visual Studio installation, checking current environment])
fi
# Now set all paths and other env variables. This will allow the rest of
# the configure script to find and run the compiler in the proper way.
AC_MSG_NOTICE([Setting extracted environment variables])
. $VS_ENV_TMP_DIR/set-vs-env.sh
# Now we have VS_PATH, VS_INCLUDE, VS_LIB. For further checking, we
# also define VCINSTALLDIR, WindowsSdkDir and WINDOWSSDKDIR.
else
# We did not find a vsvars bat file, let's hope we are run from a VS command prompt.
AC_MSG_NOTICE([Cannot locate a valid Visual Studio installation, checking current environment])
fi
# At this point, we should have correct variables in the environment, or we can't continue.
AC_MSG_CHECKING([for Visual Studio variables])
if test "x$VCINSTALLDIR" != x || test "x$WindowsSDKDir" != x || test "x$WINDOWSSDKDIR" != x; then
if test "x$VCINSTALLDIR" != x || test "x$WindowsSDKDir" != x \
|| test "x$WINDOWSSDKDIR" != x || test "x$DEVKIT_NAME" != x; then
if test "x$VS_INCLUDE" = x || test "x$VS_LIB" = x; then
AC_MSG_RESULT([present but broken])
AC_MSG_ERROR([Your VC command prompt seems broken, INCLUDE and/or LIB is missing.])
@@ -403,10 +444,10 @@ AC_DEFUN([TOOLCHAIN_CHECK_POSSIBLE_MSVC_DLL],
POSSIBLE_MSVC_DLL="$2"
METHOD="$3"
if test -n "$POSSIBLE_MSVC_DLL" -a -e "$POSSIBLE_MSVC_DLL"; then
AC_MSG_NOTICE([Found $1 at $POSSIBLE_MSVC_DLL using $METHOD])
AC_MSG_NOTICE([Found $DLL_NAME at $POSSIBLE_MSVC_DLL using $METHOD])
# Need to check if the found msvcr is correct architecture
AC_MSG_CHECKING([found $1 architecture])
AC_MSG_CHECKING([found $DLL_NAME architecture])
MSVC_DLL_FILETYPE=`$FILE -b "$POSSIBLE_MSVC_DLL"`
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
# The MSYS 'file' command returns "PE32 executable for MS Windows (DLL) (GUI) Intel 80386 32-bit"
@@ -426,19 +467,19 @@ AC_DEFUN([TOOLCHAIN_CHECK_POSSIBLE_MSVC_DLL],
if $ECHO "$MSVC_DLL_FILETYPE" | $GREP "$CORRECT_MSVCR_ARCH" 2>&1 > /dev/null; then
AC_MSG_RESULT([ok])
MSVC_DLL="$POSSIBLE_MSVC_DLL"
AC_MSG_CHECKING([for $1])
BASIC_FIXUP_PATH(MSVC_DLL)
AC_MSG_CHECKING([for $DLL_NAME])
AC_MSG_RESULT([$MSVC_DLL])
else
AC_MSG_RESULT([incorrect, ignoring])
AC_MSG_NOTICE([The file type of the located $1 is $MSVC_DLL_FILETYPE])
AC_MSG_NOTICE([The file type of the located $DLL_NAME is $MSVC_DLL_FILETYPE])
fi
fi
])
AC_DEFUN([TOOLCHAIN_SETUP_MSVC_DLL],
[
VAR_NAME="$1"
DLL_NAME="$2"
DLL_NAME="$1"
MSVC_DLL=
if test "x$MSVC_DLL" = x; then
@@ -517,10 +558,6 @@ AC_DEFUN([TOOLCHAIN_SETUP_MSVC_DLL],
AC_MSG_RESULT([no])
AC_MSG_ERROR([Could not find $DLL_NAME. Please specify using --with-msvcr-dll.])
fi
$1=$MSVC_DLL
BASIC_FIXUP_PATH($1)
AC_SUBST($1, [$]$1)
])
AC_DEFUN([TOOLCHAIN_SETUP_VS_RUNTIME_DLLS],
@@ -530,14 +567,22 @@ AC_DEFUN([TOOLCHAIN_SETUP_VS_RUNTIME_DLLS],
if test "x$with_msvcr_dll" != x; then
# If given explicitely by user, do not probe. If not present, fail directly.
TOOLCHAIN_CHECK_POSSIBLE_MSVC_DLL([$DLL_NAME], [$with_msvcr_dll],
[--with-msvcr-dll])
TOOLCHAIN_CHECK_POSSIBLE_MSVC_DLL($MSVCR_NAME, [$with_msvcr_dll], [--with-msvcr-dll])
if test "x$MSVC_DLL" = x; then
AC_MSG_ERROR([Could not find a proper $MSVCR_NAME as specified by --with-msvcr-dll])
fi
MSVCR_DLL="$MSVC_DLL"
elif test "x$DEVKIT_MSVCR_DLL" != x; then
TOOLCHAIN_CHECK_POSSIBLE_MSVC_DLL($MSVCR_NAME, [$DEVKIT_MSVCR_DLL], [devkit])
if test "x$MSVC_DLL" = x; then
AC_MSG_ERROR([Could not find a proper $MSVCR_NAME as specified by devkit])
fi
MSVCR_DLL="$MSVC_DLL"
else
TOOLCHAIN_SETUP_MSVC_DLL([MSVCR_DLL], [${MSVCR_NAME}])
TOOLCHAIN_SETUP_MSVC_DLL([${MSVCR_NAME}])
MSVCR_DLL="$MSVC_DLL"
fi
AC_SUBST(MSVCR_DLL)
AC_ARG_WITH(msvcp-dll, [AS_HELP_STRING([--with-msvcp-dll],
[path to microsoft C++ runtime dll (msvcp*.dll) (Windows only) @<:@probed@:>@])])
@@ -545,13 +590,21 @@ AC_DEFUN([TOOLCHAIN_SETUP_VS_RUNTIME_DLLS],
if test "x$MSVCP_NAME" != "x"; then
if test "x$with_msvcp_dll" != x; then
# If given explicitely by user, do not probe. If not present, fail directly.
TOOLCHAIN_CHECK_POSSIBLE_MSVC_DLL([$DLL_NAME], [$with_msvcp_dll],
[--with-msvcp-dll])
TOOLCHAIN_CHECK_POSSIBLE_MSVC_DLL($MSVCP_NAME, [$with_msvcp_dll], [--with-msvcp-dll])
if test "x$MSVC_DLL" = x; then
AC_MSG_ERROR([Could not find a proper $MSVCP_NAME as specified by --with-msvcp-dll])
fi
MSVCP_DLL="$MSVC_DLL"
elif test "x$DEVKIT_MSVCP_DLL" != x; then
TOOLCHAIN_CHECK_POSSIBLE_MSVC_DLL($MSVCP_NAME, [$DEVKIT_MSVCP_DLL], [devkit])
if test "x$MSVC_DLL" = x; then
AC_MSG_ERROR([Could not find a proper $MSVCP_NAME as specified by devkit])
fi
MSVCP_DLL="$MSVC_DLL"
else
TOOLCHAIN_SETUP_MSVC_DLL([MSVCP_DLL], [${MSVCP_NAME}])
TOOLCHAIN_SETUP_MSVC_DLL([${MSVCP_NAME}])
MSVCP_DLL="$MSVC_DLL"
fi
AC_SUBST(MSVCP_DLL)
fi
])

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 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
@@ -1156,7 +1156,6 @@ jdk/src/java.management/share/classes/com/sun/jmx/defaults : jdk/src/share/class
jdk/src/java.management/share/classes/com/sun/jmx/interceptor : jdk/src/share/classes/com/sun/jmx/interceptor
jdk/src/java.management/share/classes/com/sun/jmx/mbeanserver : jdk/src/share/classes/com/sun/jmx/mbeanserver
jdk/src/java.management/share/classes/com/sun/jmx/remote : jdk/src/share/classes/com/sun/jmx/remote
jdk/src/java.management/share/classes/com/sun/management : jdk/src/share/classes/com/sun/management
jdk/src/java.management/share/classes/java/lang/management : jdk/src/share/classes/java/lang/management
jdk/src/java.management/share/classes/javax/management : jdk/src/share/classes/javax/management
jdk/src/java.management/share/classes/mgmt-overview.html : jdk/src/share/classes/com/sun/management/mgmt-overview.html
@@ -1294,6 +1293,9 @@ jdk/src/jdk.crypto.pkcs11/windows/native/libj2pkcs11/j2secmod_md.h : jdk/src/win
jdk/src/jdk.crypto.pkcs11/windows/native/libj2pkcs11/p11_md.c : jdk/src/windows/native/sun/security/pkcs11/wrapper/p11_md.c
jdk/src/jdk.crypto.pkcs11/windows/native/libj2pkcs11/p11_md.h : jdk/src/windows/native/sun/security/pkcs11/wrapper/p11_md.h
jdk/src/jdk.deploy.osx/macosx/classes/com/apple/concurrent/package.html : jdk/src/macosx/classes/com/apple/concurrent/package.html
jdk/src/jdk.deploy.osx/macosx/classes/apple/applescript : jdk/src/macosx/classes/apple/applescript
jdk/src/jdk.deploy.osx/macosx/classes/apple/security : jdk/src/macosx/classes/apple/security
jdk/src/jdk.deploy.osx/macosx/classes/com/apple/concurrent : jdk/src/macosx/classes/com/apple/concurrent
jdk/src/jdk.deploy.osx/macosx/native/libapplescriptengine : jdk/src/macosx/native/apple/applescript
jdk/src/jdk.deploy.osx/macosx/native/libosx/CFileManager.m : jdk/src/macosx/native/com/apple/eio/CFileManager.m
jdk/src/jdk.deploy.osx/macosx/native/libosx/Dispatch.m : jdk/src/macosx/native/com/apple/concurrent/Dispatch.m
@@ -1426,6 +1428,7 @@ jdk/src/jdk.localedata/share/classes/sun/util/resources/tr : jdk/src/share/class
jdk/src/jdk.localedata/share/classes/sun/util/resources/uk : jdk/src/share/classes/sun/util/resources/uk
jdk/src/jdk.localedata/share/classes/sun/util/resources/vi : jdk/src/share/classes/sun/util/resources/vi
jdk/src/jdk.localedata/share/classes/sun/util/resources/zh : jdk/src/share/classes/sun/util/resources/zh
jdk/src/jdk.management/share/classes/com/sun/management : jdk/src/share/classes/com/sun/management
jdk/src/jdk.naming.dns/share/classes/com/sun/jndi/dns : jdk/src/share/classes/com/sun/jndi/dns
jdk/src/jdk.naming.dns/share/classes/com/sun/jndi/url/dns : jdk/src/share/classes/com/sun/jndi/url/dns
jdk/src/jdk.naming.dns/share/classes/META-INF/services : jdk/src/share/classes/sun/net/spi/nameservice/dns/META-INF/services

View File

@@ -302,3 +302,8 @@ ef4afd6832b00b8687832c2a36c90e43750ebe40 jdk9-b56
d8ebf1a5b18ccbc849f5bf0f80aa3d78583eee68 jdk9-b57
86dd5de1f5cb09073019bd629e22cfcd012d8b4b jdk9-b58
cda6ae062f85fac5555f4e1318885b0ecd998bd1 jdk9-b59
caa330b275f39282793466529f6864766b31d9fd jdk9-b60
d690f489ca0bb95a6157d996da2fa72bcbcf02ea jdk9-b61
d27f7e0a7aca129969de23e9934408a31b4abf4c jdk9-b62
0acac6937de7a0868f8c6f88b7d036d780abeee6 jdk9-b63
0a5e5a7c3539e8bde73d9fe55750e49a49cb8dac jdk9-b64

View File

@@ -222,7 +222,7 @@ public class AnyImpl extends Any
/**
* returns the type of the element contained in the Any.
*
* @result the TypeCode for the element in the Any
* @return the TypeCode for the element in the Any
*/
public TypeCode type() {
return typeCode;
@@ -267,7 +267,7 @@ public class AnyImpl extends Any
* checks for equality between Anys.
*
* @param otherAny the Any to be compared with.
* @result true if the Anys are equal, false otherwise.
* @return true if the Anys are equal, false otherwise.
*/
public boolean equal(Any otherAny)
{
@@ -508,7 +508,7 @@ public class AnyImpl extends Any
/**
* returns an output stream that an Any value can be marshaled into.
*
* @result the OutputStream to marshal value of Any into
* @return the OutputStream to marshal value of Any into
*/
public org.omg.CORBA.portable.OutputStream create_output_stream()
{
@@ -525,7 +525,7 @@ public class AnyImpl extends Any
/**
* returns an input stream that an Any value can be marshaled out of.
*
* @result the InputStream to marshal value of Any out of.
* @return the InputStream to marshal value of Any out of.
*/
public org.omg.CORBA.portable.InputStream create_input_stream()
{

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 2004, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 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
@@ -65,6 +65,7 @@ import com.sun.corba.se.spi.presentation.rmi.StubAdapter;
import com.sun.corba.se.spi.logging.CORBALogDomains;
import com.sun.corba.se.impl.logging.ORBUtilSystemException;
import com.sun.corba.se.impl.corba.AsynchInvoke;
import com.sun.corba.se.impl.transport.ManagedLocalsThread;
public class RequestImpl
extends Request
@@ -255,7 +256,7 @@ public class RequestImpl
public synchronized void send_deferred()
{
AsynchInvoke invokeObject = new AsynchInvoke(_orb, this, false);
new Thread(invokeObject).start();
new ManagedLocalsThread(invokeObject).start();
}
public synchronized boolean poll_response()

View File

@@ -166,7 +166,7 @@ public class CDROutputObject extends CorbaOutputObject
* Write the contents of the CDROutputStream to the specified
* output stream. Has the side-effect of pushing any current
* Message onto the Message list.
* @param s The output stream to write to.
* @param connection The output stream to write to.
*/
public void writeTo(CorbaConnection connection)
throws java.io.IOException

View File

@@ -54,8 +54,9 @@ import com.sun.corba.se.spi.logging.CORBALogDomains;
* use NIO ByteBuffer and NIO CharBuffer, the interaction
* and interface between this class and the CDR streams
* should be looked at more closely for optimizations to
* avoid unnecessary copying of data between char[] &
* CharBuffer and byte[] & ByteBuffer, especially
* avoid unnecessary copying of data between
* {@code char[] & CharBuffer} and
* {@code byte[] & ByteBuffer}, especially
* DirectByteBuffers.
*
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 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
@@ -1768,43 +1768,59 @@ public class IIOPInputStream
switch (field.getTypeCode()) {
case 'B':
byte byteValue = orbStream.read_octet();
bridge.putByte( o, field.getFieldID(), byteValue ) ;
//reflective code: field.getField().setByte( o, byteValue ) ;
if (field.getField() != null) {
bridge.putByte( o, field.getFieldID(), byteValue ) ;
//reflective code: field.getField().setByte( o, byteValue ) ;
}
break;
case 'Z':
boolean booleanValue = orbStream.read_boolean();
bridge.putBoolean( o, field.getFieldID(), booleanValue ) ;
//reflective code: field.getField().setBoolean( o, booleanValue ) ;
if (field.getField() != null) {
bridge.putBoolean( o, field.getFieldID(), booleanValue ) ;
//reflective code: field.getField().setBoolean( o, booleanValue ) ;
}
break;
case 'C':
char charValue = orbStream.read_wchar();
bridge.putChar( o, field.getFieldID(), charValue ) ;
//reflective code: field.getField().setChar( o, charValue ) ;
if (field.getField() != null) {
bridge.putChar( o, field.getFieldID(), charValue ) ;
//reflective code: field.getField().setChar( o, charValue ) ;
}
break;
case 'S':
short shortValue = orbStream.read_short();
bridge.putShort( o, field.getFieldID(), shortValue ) ;
//reflective code: field.getField().setShort( o, shortValue ) ;
if (field.getField() != null) {
bridge.putShort( o, field.getFieldID(), shortValue ) ;
//reflective code: field.getField().setShort( o, shortValue ) ;
}
break;
case 'I':
int intValue = orbStream.read_long();
bridge.putInt( o, field.getFieldID(), intValue ) ;
//reflective code: field.getField().setInt( o, intValue ) ;
if (field.getField() != null) {
bridge.putInt( o, field.getFieldID(), intValue ) ;
//reflective code: field.getField().setInt( o, intValue ) ;
}
break;
case 'J':
long longValue = orbStream.read_longlong();
bridge.putLong( o, field.getFieldID(), longValue ) ;
//reflective code: field.getField().setLong( o, longValue ) ;
if (field.getField() != null) {
bridge.putLong( o, field.getFieldID(), longValue ) ;
//reflective code: field.getField().setLong( o, longValue ) ;
}
break;
case 'F' :
float floatValue = orbStream.read_float();
bridge.putFloat( o, field.getFieldID(), floatValue ) ;
//reflective code: field.getField().setFloat( o, floatValue ) ;
if (field.getField() != null) {
bridge.putFloat( o, field.getFieldID(), floatValue ) ;
//reflective code: field.getField().setFloat( o, floatValue ) ;
}
break;
case 'D' :
double doubleValue = orbStream.read_double();
bridge.putDouble( o, field.getFieldID(), doubleValue ) ;
//reflective code: field.getField().setDouble( o, doubleValue ) ;
if (field.getField() != null) {
bridge.putDouble( o, field.getFieldID(), doubleValue ) ;
//reflective code: field.getField().setDouble( o, doubleValue ) ;
}
break;
default:
// XXX I18N, logging needed.
@@ -2217,9 +2233,6 @@ public class IIOPInputStream
if (o != null) {
for (int i = 0; i < primFields; ++i) {
if (fields[i].getField() == null)
continue;
inputPrimitiveField(o, cl, fields[i]);
}
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1999, 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
@@ -32,6 +32,7 @@
package com.sun.corba.se.impl.io;
import java.io.IOException;
import java.io.NotActiveException;
import java.io.OutputStream;
import java.io.ObjectOutputStream;
import java.io.ObjectOutput;
@@ -154,7 +155,9 @@ public abstract class OutputStreamHook extends ObjectOutputStream
public ObjectOutputStream.PutField putFields()
throws IOException {
putFields = new HookPutFields();
if (putFields == null) {
putFields = new HookPutFields();
}
return putFields;
}
@@ -175,8 +178,11 @@ public abstract class OutputStreamHook extends ObjectOutputStream
throws IOException {
writeObjectState.defaultWriteObject(this);
putFields.write(this);
if (putFields != null) {
putFields.write(this);
} else {
throw new NotActiveException("no current PutField object");
}
}
abstract org.omg.CORBA_2_3.portable.OutputStream getOrbStream();

View File

@@ -171,9 +171,9 @@ public final class ValueHandlerImpl implements javax.rmi.CORBA.ValueHandlerMulti
* @param out The stream to write the value to
* @param value The value to be written to the stream
**/
public void writeValue(org.omg.CORBA.portable.OutputStream _out,
public void writeValue(org.omg.CORBA.portable.OutputStream out,
java.io.Serializable value) {
writeValueWithVersion(_out, value, STREAM_FORMAT_VERSION_1);
writeValueWithVersion(out, value, STREAM_FORMAT_VERSION_1);
}
private void writeValueWithVersion(org.omg.CORBA.portable.OutputStream _out,
@@ -240,25 +240,25 @@ public final class ValueHandlerImpl implements javax.rmi.CORBA.ValueHandlerMulti
* Reads a value from the stream using java semantics.
* @param in The stream to read the value from
* @param clazz The type of the value to be read in
* @param sender The sending context runtime
* @param rt The sending context runtime
**/
public java.io.Serializable readValue(org.omg.CORBA.portable.InputStream _in,
public java.io.Serializable readValue(org.omg.CORBA.portable.InputStream in,
int offset,
java.lang.Class clazz,
String repositoryID,
org.omg.SendingContext.RunTime _sender)
org.omg.SendingContext.RunTime rt)
{
// Must use narrow rather than a direct cast to a com.sun
// class. Fix for bug 4379539.
CodeBase sender = CodeBaseHelper.narrow(_sender);
CodeBase sender = CodeBaseHelper.narrow(rt);
org.omg.CORBA_2_3.portable.InputStream in =
(org.omg.CORBA_2_3.portable.InputStream) _in;
org.omg.CORBA_2_3.portable.InputStream inStream =
(org.omg.CORBA_2_3.portable.InputStream) in;
if (!useHashtables) {
if (inputStreamBridge == null) {
inputStreamBridge = createInputStream();
inputStreamBridge.setOrbStream(in);
inputStreamBridge.setOrbStream(inStream);
inputStreamBridge.setSender(sender); //d11638
// backward compatability 4365188
inputStreamBridge.setValueHandler(this);
@@ -269,7 +269,7 @@ public final class ValueHandlerImpl implements javax.rmi.CORBA.ValueHandlerMulti
try {
inputStreamBridge.increaseRecursionDepth();
result = (java.io.Serializable) readValueInternal(inputStreamBridge, in, offset, clazz, repositoryID, sender);
result = (java.io.Serializable) readValueInternal(inputStreamBridge, inStream, offset, clazz, repositoryID, sender);
} finally {
@@ -287,16 +287,16 @@ public final class ValueHandlerImpl implements javax.rmi.CORBA.ValueHandlerMulti
if (inputStreamPairs == null)
inputStreamPairs = new Hashtable();
jdkToOrbInputStreamBridge = (IIOPInputStream)inputStreamPairs.get(_in);
jdkToOrbInputStreamBridge = (IIOPInputStream)inputStreamPairs.get(in);
if (jdkToOrbInputStreamBridge == null) {
jdkToOrbInputStreamBridge = createInputStream();
jdkToOrbInputStreamBridge.setOrbStream(in);
jdkToOrbInputStreamBridge.setOrbStream(inStream);
jdkToOrbInputStreamBridge.setSender(sender); //d11638
// backward compatability 4365188
jdkToOrbInputStreamBridge.setValueHandler(this);
inputStreamPairs.put(_in, jdkToOrbInputStreamBridge);
inputStreamPairs.put(in, jdkToOrbInputStreamBridge);
}
java.io.Serializable result = null;
@@ -304,12 +304,12 @@ public final class ValueHandlerImpl implements javax.rmi.CORBA.ValueHandlerMulti
try {
jdkToOrbInputStreamBridge.increaseRecursionDepth();
result = (java.io.Serializable) readValueInternal(jdkToOrbInputStreamBridge, in, offset, clazz, repositoryID, sender);
result = (java.io.Serializable) readValueInternal(jdkToOrbInputStreamBridge, inStream, offset, clazz, repositoryID, sender);
} finally {
if (jdkToOrbInputStreamBridge.decreaseRecursionDepth() == 0) {
inputStreamPairs.remove(_in);
inputStreamPairs.remove(in);
}
}

View File

@@ -33,7 +33,6 @@ import org.omg.CORBA_2_3.portable.OutputStream;
import com.sun.corba.se.spi.ior.Identifiable ;
/**
* @author
* This is used for unknown components and profiles. A TAG_MULTICOMPONENT_PROFILE will be represented this way.
*/
public abstract class GenericIdentifiable implements Identifiable

View File

@@ -34,9 +34,6 @@ import com.sun.corba.se.spi.ior.iiop.GIOPVersion ;
import com.sun.corba.se.spi.ior.TaggedComponent ;
/**
* @author
*/
public class GenericTaggedComponent extends GenericIdentifiable
implements TaggedComponent
{
@@ -52,8 +49,6 @@ public class GenericTaggedComponent extends GenericIdentifiable
/**
* @return org.omg.IOP.TaggedComponent
* @exception
* @author
*/
public org.omg.IOP.TaggedComponent getIOPComponent( ORB orb )
{

View File

@@ -39,9 +39,6 @@ import com.sun.corba.se.spi.ior.iiop.GIOPVersion ;
import com.sun.corba.se.impl.encoding.EncapsOutputStream ;
/**
* @author
*/
public class GenericTaggedProfile extends GenericIdentifiable implements TaggedProfile
{
private ORB orb ;

View File

@@ -47,7 +47,6 @@ import com.sun.corba.se.spi.orb.ORB ;
/**
* This class is a container of TaggedProfileTemplates.
* @author
*/
public class IORTemplateImpl extends IdentifiableContainerBase implements IORTemplate
{

View File

@@ -31,7 +31,7 @@ import org.omg.CORBA_2_3.portable.OutputStream ;
/** ObjectAdapterIdNumber is used to represent pre-JDK 1.4 POA adapter
* IDs. The POA ID was simply represented as a single integer, which was
* mapped to the actual POA instance. Here, we just represent these
* internally as arrays of the form { "OldRootPOA", "<number>" },
* internally as arrays of the form {@code { "OldRootPOA", "<number>" }},
* and provide an extra method to get the number back.
*/
public class ObjectAdapterIdNumber extends ObjectAdapterIdArray {

View File

@@ -29,9 +29,6 @@ import java.util.Arrays ;
import com.sun.corba.se.spi.ior.ObjectId ;
import org.omg.CORBA_2_3.portable.OutputStream ;
/**
* @author
*/
public final class ObjectIdImpl implements ObjectId
{
private byte[] id;

View File

@@ -37,9 +37,6 @@ import com.sun.corba.se.spi.ior.ObjectKeyTemplate ;
import com.sun.corba.se.impl.encoding.EncapsOutputStream ;
/**
* @author
*/
public class ObjectKeyImpl implements ObjectKey
{
private ObjectKeyTemplate oktemp;

View File

@@ -47,9 +47,6 @@ import com.sun.corba.se.impl.encoding.EncapsOutputStream ;
import com.sun.corba.se.impl.logging.IORSystemException ;
/**
* @author
*/
public abstract class ObjectKeyTemplateBase implements ObjectKeyTemplate
{
// Fixed constants for Java IDL object key template forms

View File

@@ -42,9 +42,6 @@ import com.sun.corba.se.spi.ior.ObjectAdapterId ;
import com.sun.corba.se.impl.ior.ObjectKeyFactoryImpl ;
/**
* @author
*/
public final class POAObjectKeyTemplate extends NewObjectKeyTemplateBase
{
/** This constructor reads the template ONLY from the stream.

View File

@@ -245,7 +245,7 @@ public class StubIORImpl
/**
* Returns a string representation of this stub. Returns the same string
* for all stubs that represent the same remote object.
* "SimpleIORImpl[<typeName>,[<profileID>]data, ...]"
* {@code "SimpleIORImpl[<typeName>,[<profileID>]data, ...]"}
* @return a string representation of this stub.
*/
public String toString()

View File

@@ -33,9 +33,6 @@ import com.sun.corba.se.impl.ior.IdentifiableFactoryFinderBase ;
import org.omg.CORBA_2_3.portable.InputStream ;
/**
* @author
*/
public class TaggedProfileFactoryFinderImpl extends
IdentifiableFactoryFinderBase
{

View File

@@ -35,9 +35,6 @@ import org.omg.CORBA_2_3.portable.InputStream ;
import org.omg.CORBA.INTERNAL ;
/**
* @author
*/
public class TaggedProfileTemplateFactoryFinderImpl extends
IdentifiableFactoryFinderBase
{

View File

@@ -38,9 +38,6 @@ import com.sun.corba.se.impl.encoding.CodeSetComponentInfo ;
import com.sun.corba.se.impl.encoding.MarshalOutputStream ;
import com.sun.corba.se.impl.encoding.MarshalInputStream ;
/**
* @author
*/
public class CodeSetsComponentImpl extends TaggedComponentBase
implements CodeSetsComponent
{

View File

@@ -32,9 +32,6 @@ import org.omg.CORBA_2_3.portable.OutputStream ;
import com.sun.corba.se.spi.ior.iiop.IIOPAddress ;
/**
* @author
*/
abstract class IIOPAddressBase implements IIOPAddress
{
// Ports are marshalled as shorts on the wire. The IDL

View File

@@ -32,9 +32,6 @@ import org.omg.CORBA_2_3.portable.OutputStream ;
import com.sun.corba.se.spi.orbutil.closure.Closure ;
/**
* @author
*/
public final class IIOPAddressClosureImpl extends IIOPAddressBase
{
private Closure host;

View File

@@ -36,9 +36,6 @@ import com.sun.corba.se.spi.logging.CORBALogDomains ;
import com.sun.corba.se.impl.logging.IORSystemException ;
/**
* @author
*/
public final class IIOPAddressImpl extends IIOPAddressBase
{
private ORB orb ;

View File

@@ -76,9 +76,6 @@ import com.sun.corba.se.impl.util.JDKBridge;
import com.sun.corba.se.impl.logging.IORSystemException;
/**
* @author
*/
public class IIOPProfileImpl extends IdentifiableBase implements IIOPProfile
{
private ORB orb ;

View File

@@ -55,7 +55,6 @@ import com.sun.corba.se.spi.ior.iiop.GIOPVersion ;
import com.sun.corba.se.spi.orb.ORB ;
/**
* @author
* If getMinorVersion==0, this does not contain any tagged components
*/
public class IIOPProfileTemplateImpl extends TaggedProfileTemplateBase

View File

@@ -33,9 +33,6 @@ import com.sun.corba.se.spi.ior.TaggedComponentBase ;
import com.sun.corba.se.spi.ior.iiop.JavaCodebaseComponent ;
/**
* @author
*/
public class JavaCodebaseComponentImpl extends TaggedComponentBase
implements JavaCodebaseComponent
{

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1999, 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
@@ -112,6 +112,8 @@ import com.sun.corba.se.impl.util.JDKBridge;
import com.sun.corba.se.impl.logging.UtilSystemException;
import com.sun.corba.se.spi.logging.CORBALogDomains;
import sun.corba.SharedSecrets;
import com.sun.corba.se.impl.transport.ManagedLocalsThread;
/**
* Provides utility methods that can be used by stubs and ties to
@@ -591,7 +593,7 @@ public class Util implements javax.rmi.CORBA.UtilDelegate
* @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 loadingContext a class whose ClassLoader may be used to
* @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.
* @exception ClassNotFoundException if class cannot be loaded.
@@ -750,7 +752,7 @@ public class Util implements javax.rmi.CORBA.UtilDelegate
}
}
class KeepAlive extends Thread
class KeepAlive extends ManagedLocalsThread
{
boolean quit = false;

View File

@@ -92,7 +92,7 @@ public abstract class BindingIteratorImpl extends BindingIteratorPOA
* Return the next n bindings. It also returns true or false, indicating
* whether there were more bindings.
* @param how_many The number of requested bindings in the BindingList.
* @param bl The BindingList as an out parameter.
* @param blh The BindingList as an out parameter.
* @return true if there were more bindings.
* @exception org.omg.CORBA.SystemException One of a fixed set of CORBA
* system exceptions.
@@ -114,7 +114,7 @@ public abstract class BindingIteratorImpl extends BindingIteratorPOA
* scope, It will be called from NamingContext.list() operation or
* this.next_n().
* @param how_many The number of requested bindings in the BindingList.
* @param bl The BindingList as an out parameter.
* @param blh The BindingList as an out parameter.
* @return true if there were more bindings.
*/
public boolean list( int how_many, org.omg.CosNaming.BindingListHolder blh)

View File

@@ -181,7 +181,7 @@ public abstract class NamingContextImpl
* exists. The NamingContext will participate in recursive resolving.
* @param n a sequence of NameComponents which is the name under which
* the object will be bound.
* @param obj the NamingContect object reference to be bound.
* @param nc the NamingContext object reference to be bound.
* @exception org.omg.CosNaming.NamingContextPackage.NotFound A name with
* multiple components was supplied, but the first component could not be
* resolved.
@@ -278,7 +278,7 @@ public abstract class NamingContextImpl
* resolving.
* @param n a sequence of NameComponents which is the name under which
* the object will be bound.
* @param obj the object reference to be bound.
* @param nc the object reference to be bound.
* @exception org.omg.CosNaming.NamingContextPackage.NotFound A name with
* multiple components was supplied, but the first component could not be
* resolved.
@@ -853,10 +853,9 @@ public abstract class NamingContextImpl
/**
* This operation creates a stringified name from the array of Name
* components.
* @param n Name of the object <p>
* @param n Name of the object
* @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName
* Indicates the name does not identify a binding.<p>
*
* Indicates the name does not identify a binding.
*/
public String to_string(org.omg.CosNaming.NameComponent[] n)
throws org.omg.CosNaming.NamingContextPackage.InvalidName
@@ -882,10 +881,9 @@ public abstract class NamingContextImpl
/**
* This operation converts a Stringified Name into an equivalent array
* of Name Components.
* @param sn Stringified Name of the object <p>
* @param sn Stringified Name of the object
* @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName
* Indicates the name does not identify a binding.<p>
*
* Indicates the name does not identify a binding.
*/
public org.omg.CosNaming.NameComponent[] to_name(String sn)
throws org.omg.CosNaming.NamingContextPackage.InvalidName
@@ -920,14 +918,13 @@ public abstract class NamingContextImpl
* This operation creates a URL based "iiopname://" format name
* from the Stringified Name of the object.
* @param addr internet based address of the host machine where
* Name Service is running <p>
* @param sn Stringified Name of the object <p>
* Name Service is running
* @param sn Stringified Name of the object
* @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName
* Indicates the name does not identify a binding.<p>
* Indicates the name does not identify a binding.
* @exception org.omg.CosNaming.NamingContextPackage.InvalidAddress
* Indicates the internet based address of the host machine is
* incorrect <p>
*
* incorrect
*/
public String to_url(String addr, String sn)
@@ -961,15 +958,15 @@ public abstract class NamingContextImpl
/**
* This operation resolves the Stringified name into the object
* reference.
* @param sn Stringified Name of the object <p>
* @param sn Stringified Name of the object
* @exception org.omg.CosNaming.NamingContextPackage.NotFound
* Indicates there is no object reference for the given name. <p>
* Indicates there is no object reference for the given name.
* @exception org.omg.CosNaming.NamingContextPackage.CannotProceed
* Indicates that the given compound name is incorrect <p>
* Indicates that the given compound name is incorrect
* @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName
* Indicates the name does not identify a binding.<p>
* Indicates the name does not identify a binding.
* @exception org.omg.CosNaming.NamingContextPackage.AlreadyBound
* Indicates the name is already bound.<p>
* Indicates the name is already bound.
*
*/
public org.omg.CORBA.Object resolve_str(String sn)

View File

@@ -90,7 +90,7 @@ public class NamingUtils {
/**
* Create a error print stream to the supplied file.
* @param logFile the file to which error messages will go.
* @param errFile the file to which error messages will go.
* @exception IOException thrown if the file cannot be opened for output.
*/
public static void makeErrStream(File errFile)

View File

@@ -63,7 +63,6 @@ public class TransientBindingIterator extends BindingIteratorImpl
* @param orb a org.omg.CORBA.ORB object.
* @param aTable A hashtable containing InternalBindingValues which is
* the content of the TransientNamingContext.
* @param java.lang.Exception a Java exception.
* @exception Exception a Java exception thrown of the base class cannot
* initialize.
*/

View File

@@ -85,7 +85,7 @@ public class TransientNameService
* NamingContext, whose object
* reference can be obtained by the initialNamingContext method.
* @param orb The ORB object
* @param nameserviceName Stringified key used for INS Service registry
* @param serviceName Stringified key used for INS Service registry
* @exception org.omg.CORBA.INITIALIZE Thrown if
* the TransientNameService cannot initialize.
*/

View File

@@ -33,7 +33,7 @@ import com.sun.corba.se.spi.logging.CORBALogDomains;
* will be stored in this object. This object is capable of storing CorbaLoc
* profiles as defined in the CorbaName grammer.
*
* @Author Hemanth
* @author Hemanth
*/
public class CorbanameURL extends INSURLBase
{

View File

@@ -32,7 +32,7 @@ import com.sun.corba.se.impl.orbutil.ORBConstants;
* host information used in creating the Service Object reference
* from the -ORBInitDef and -ORBDefaultInitDef definitions.
*
* @Author Hemanth
* @author Hemanth
*/
public class IIOPEndpointInfo
{

View File

@@ -29,7 +29,7 @@ package com.sun.corba.se.impl.naming.namingutil;
* INS URL is a generic interface for two different types of URL's specified
* in INS spec.
*
* @Author Hemanth
* @author Hemanth
*/
public interface INSURL {
public boolean getRIRFlag( );

View File

@@ -30,7 +30,7 @@ import java.util.StringTokenizer;
/**
* This class is the entry point to parse different types of INS URL's.
*
* @Author Hemanth
* @author Hemanth
*/
public class INSURLHandler {

View File

@@ -36,7 +36,7 @@ import com.sun.corba.se.spi.logging.CORBALogDomains;
/**
* Utility methods for Naming.
*
* @Author Hemanth
* @author Hemanth
*/
class Utility {
private static NamingSystemException wrapper =

View File

@@ -186,7 +186,7 @@ public class NameService
/**
* getObjectReferenceFromKey returns the Object reference from the objectkey using POA.create_reference_with_id method
* @param Object Key as String
* @returns reference an CORBA.Object.
* @return a CORBA.Object reference.
*/
org.omg.CORBA.Object getObjectReferenceFromKey( String key )
{
@@ -205,7 +205,7 @@ public class NameService
/**
* getObjectKey gets the Object Key from the reference using POA.reference_to_id method
* @param reference an CORBA.Object.
* @returns Object Key as String
* @return Object Key as String
*/
String getObjectKey( org.omg.CORBA.Object reference )
{

View File

@@ -116,8 +116,8 @@ public class NamingContextImpl
* Runs the super constructor.
* @param orb an ORB object.
* @param objKey as String
* @param TheNameService as NameService
* @param TheServantManagerImpl as ServantManagerImpl
* @param theNameService as NameService
* @param theServantManagerImpl as ServantManagerImpl
* @exception java.lang.Exception a Java exception.
*/
@@ -223,7 +223,7 @@ public class NamingContextImpl
* exists. The NamingContext will participate in recursive resolving.
* @param n a sequence of NameComponents which is the name under which
* the object will be bound.
* @param obj the NamingContect object reference to be bound.
* @param nc the NamingContect object reference to be bound.
* @exception org.omg.CosNaming.NamingContextPackage.NotFound A name with multiple
* components was supplied, but the first component could not be
* resolved.
@@ -301,7 +301,7 @@ public class NamingContextImpl
* unbound first. The NamingContext will participate in recursive resolving.
* @param n a sequence of NameComponents which is the name under which
* the object will be bound.
* @param obj the object reference to be bound.
* @param nc the object reference to be bound.
* @exception org.omg.CosNaming.NamingContextPackage.NotFound A name with multiple
* components was supplied, but the first component could not be
* resolved.
@@ -907,7 +907,7 @@ public class NamingContextImpl
* The doResolve( ) method calls Resolve( ) recursively to resolve n level
* Names.
* @param n a sequence of NameComponents which is the name to be resolved.
* @param bt Type of binding (as object or as context).
* @param bth Type of binding (as object or as context).
* @return the object reference bound under the supplied name.
* @exception org.omg.CosNaming.NamingContextPackage.NotFound Neither a NamingContext
* or a Corba Object reference not found under this Name
@@ -1140,10 +1140,9 @@ public class NamingContextImpl
/**
* This operation creates a stringified name from the array of Name
* components.
* @param n Name of the object <p>
* @param n Name of the object
* @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName
* Indicates the name does not identify a binding.<p>
*
* Indicates the name does not identify a binding.
*/
public String to_string(org.omg.CosNaming.NameComponent[] n)
throws org.omg.CosNaming.NamingContextPackage.InvalidName
@@ -1167,10 +1166,9 @@ public class NamingContextImpl
/**
* This operation converts a Stringified Name into an equivalent array
* of Name Components.
* @param sn Stringified Name of the object <p>
* @param sn Stringified Name of the object
* @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName
* Indicates the name does not identify a binding.<p>
*
* Indicates the name does not identify a binding.
*/
public org.omg.CosNaming.NameComponent[] to_name(String sn)
throws org.omg.CosNaming.NamingContextPackage.InvalidName
@@ -1204,14 +1202,13 @@ public class NamingContextImpl
* This operation creates a URL based "iiopname://" format name
* from the Stringified Name of the object.
* @param addr internet based address of the host machine where
* Name Service is running <p>
* @param sn Stringified Name of the object <p>
* Name Service is running
* @param sn Stringified Name of the object
* @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName
* Indicates the name does not identify a binding.<p>
* Indicates the name does not identify a binding.
* @exception org.omg.CosNaming.NamingContextPackage.InvalidAddress
* Indicates the internet based address of the host machine is
* incorrect <p>
*
* incorrect
*/
public String to_url(String addr, String sn)
@@ -1247,14 +1244,13 @@ public class NamingContextImpl
/**
* This operation resolves the Stringified name into the object
* reference.
* @param sn Stringified Name of the object <p>
* @param sn Stringified Name of the object
* @exception org.omg.CosNaming.NamingContextPackage.NotFound
* Indicates there is no object reference for the given name. <p>
* Indicates there is no object reference for the given name.
* @exception org.omg.CosNaming.NamingContextPackage.CannotProceed
* Indicates that the given compound name is incorrect <p>
* Indicates that the given compound name is incorrect
* @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName
* Indicates the name does not identify a binding.<p>
*
* Indicates the name does not identify a binding.
*/
public org.omg.CORBA.Object resolve_str(String sn)
throws org.omg.CosNaming.NamingContextPackage.NotFound,

View File

@@ -64,7 +64,6 @@ public class PersistentBindingIterator extends BindingIteratorImpl
* @param orb a org.omg.CORBA.ORB object.
* @param aTable A hashtable containing InternalBindingValues which is
* the content of the PersistentNamingContext.
* @param java.lang.Exception a Java exception.
* @exception Exception a Java exception thrown of the base class cannot
* initialize.
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2004, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 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
@@ -103,6 +103,7 @@ import com.sun.corba.se.impl.orbutil.concurrent.Sync ;
import com.sun.corba.se.impl.orbutil.concurrent.SyncUtil ;
import com.sun.corba.se.impl.orbutil.concurrent.ReentrantMutex ;
import com.sun.corba.se.impl.orbutil.concurrent.CondVar ;
import com.sun.corba.se.impl.transport.ManagedLocalsThread;
/**
* POAImpl is the implementation of the Portable Object Adapter. It
@@ -516,7 +517,7 @@ public class POAImpl extends ObjectAdapterBase implements POA
// Converted from anonymous class to local class
// so that we can call performDestroy() directly.
static class DestroyThread extends Thread {
static class DestroyThread extends ManagedLocalsThread {
private boolean wait ;
private boolean etherealize ;
private boolean debug ;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2004, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 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
@@ -48,6 +48,7 @@ import com.sun.corba.se.spi.protocol.PIHandler ;
import com.sun.corba.se.impl.logging.POASystemException ;
import com.sun.corba.se.impl.orbutil.ORBUtility ;
import com.sun.corba.se.impl.transport.ManagedLocalsThread;
/** POAManagerImpl is the implementation of the POAManager interface.
* Its public methods are activate(), hold_requests(), discard_requests()
@@ -357,7 +358,7 @@ public class POAManagerImpl extends org.omg.CORBA.LocalObject implements
if (wait_for_completion)
deactivator.run() ;
else {
Thread thr = new Thread(deactivator) ;
Thread thr = new ManagedLocalsThread(deactivator) ;
thr.start() ;
}
} finally {

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2002, 2004, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2002, 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
@@ -26,7 +26,6 @@
package com.sun.corba.se.impl.oa.poa ;
import java.util.Set ;
import org.omg.CORBA.SystemException ;
import org.omg.PortableServer.ServantActivator ;
@@ -50,6 +49,7 @@ import com.sun.corba.se.impl.javax.rmi.CORBA.Util ;
import com.sun.corba.se.spi.oa.OAInvocationInfo ;
import com.sun.corba.se.spi.oa.NullServant ;
import com.sun.corba.se.impl.transport.ManagedLocalsThread;
/** Implementation of POARequesHandler that provides policy specific
* operations on the POA.
@@ -303,13 +303,14 @@ public class POAPolicyMediatorImpl_R_USM extends POAPolicyMediatorBase_R {
throw new WrongPolicy();
}
class Etherealizer extends Thread {
class Etherealizer extends ManagedLocalsThread {
private POAPolicyMediatorImpl_R_USM mediator ;
private ActiveObjectMap.Key key ;
private AOMEntry entry ;
private Servant servant ;
private boolean debug ;
public Etherealizer( POAPolicyMediatorImpl_R_USM mediator,
ActiveObjectMap.Key key, AOMEntry entry, Servant servant,
boolean debug )

View File

@@ -61,7 +61,7 @@ import com.sun.corba.se.impl.protocol.JIDLLocalCRDImpl ;
* Its characteristics include:
* <UL>
* <LI>There is only one OA instance of the TOA. Its OAId is { "TOA" }</LI>
* <LI>There is not adapter manager. The TOA manager ID is fixed.<LI>
* <LI>There is not adapter manager. The TOA manager ID is fixed.</LI>
* <LI>State is the same as ORB state (TBD)</LI>
* </UL>
* Other requirements:
@@ -118,7 +118,7 @@ public class TOAImpl extends ObjectAdapterBase implements TOA
* This will update thread Current, so that subsequent calls to
* returnServant and removeCurrent from the same thread are for the
* same request.
* @param request is the request containing the rest of the request
* @param info is the request containing the rest of the request
*/
public void getInvocationServant( OAInvocationInfo info )
{

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2002, 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
@@ -165,6 +165,7 @@ import com.sun.corba.se.impl.util.Utility;
import com.sun.corba.se.impl.logging.ORBUtilSystemException;
import com.sun.corba.se.impl.copyobject.CopierManagerImpl;
import com.sun.corba.se.impl.presentation.rmi.PresentationManagerImpl;
import com.sun.corba.se.impl.transport.ManagedLocalsThread;
/**
* The JavaIDL ORB implementation.
@@ -584,7 +585,7 @@ public class ORBImpl extends com.sun.corba.se.spi.orb.ORB
* Create an NVList
*
* @param count size of list to create
* @result NVList created
* @return NVList created
*
* @see NVList
*/
@@ -598,7 +599,7 @@ public class ORBImpl extends com.sun.corba.se.spi.orb.ORB
* Create an NVList corresponding to an OperationDef
*
* @param oper operation def to use to create list
* @result NVList created
* @return NVList created
*
* @see NVList
*/
@@ -611,7 +612,7 @@ public class ORBImpl extends com.sun.corba.se.spi.orb.ORB
/**
* Create a NamedValue
*
* @result NamedValue created
* @return NamedValue created
*/
public synchronized NamedValue create_named_value(String s, Any any, int flags)
{
@@ -622,7 +623,7 @@ public class ORBImpl extends com.sun.corba.se.spi.orb.ORB
/**
* Create an ExceptionList
*
* @result ExceptionList created
* @return ExceptionList created
*/
public synchronized org.omg.CORBA.ExceptionList create_exception_list()
{
@@ -633,7 +634,7 @@ public class ORBImpl extends com.sun.corba.se.spi.orb.ORB
/**
* Create a ContextList
*
* @result ContextList created
* @return ContextList created
*/
public synchronized org.omg.CORBA.ContextList create_context_list()
{
@@ -644,7 +645,7 @@ public class ORBImpl extends com.sun.corba.se.spi.orb.ORB
/**
* Get the default Context object
*
* @result the default Context object
* @return the default Context object
*/
public synchronized org.omg.CORBA.Context get_default_context()
{
@@ -655,7 +656,7 @@ public class ORBImpl extends com.sun.corba.se.spi.orb.ORB
/**
* Create an Environment
*
* @result Environment created
* @return Environment created
*/
public synchronized org.omg.CORBA.Environment create_environment()
{
@@ -691,7 +692,7 @@ public class ORBImpl extends com.sun.corba.se.spi.orb.ORB
for (int i = 0; i < req.length; i++) {
AsynchInvoke invokeObject = new AsynchInvoke( this,
(com.sun.corba.se.impl.corba.RequestImpl)req[i], true);
new Thread(invokeObject).start();
new ManagedLocalsThread(invokeObject).start();
}
}
@@ -718,7 +719,7 @@ public class ORBImpl extends com.sun.corba.se.spi.orb.ORB
/**
* Get the next request that has gotten a response.
*
* @result the next request ready with a response.
* @return the next request ready with a response.
*/
public org.omg.CORBA.Request get_next_response()
throws org.omg.CORBA.WrongTransaction

View File

@@ -42,8 +42,9 @@ public class DenseIntMapImpl
throw new IllegalArgumentException( "Key must be >= 0." ) ;
}
/** If key >= 0, return the value bound to key, or null if none.
* Throws IllegalArgumentException if key <0.
/**
* If {@code key >= 0}, return the value bound to key, or null if none.
* Throws IllegalArgumentException if {@code key < 0}.
*/
public Object get( int key )
{
@@ -56,8 +57,9 @@ public class DenseIntMapImpl
return result ;
}
/** If key >= 0, bind value to the key.
* Throws IllegalArgumentException if key <0.
/**
* If {@code key >= 0}, bind value to the key.
* Throws IllegalArgumentException if {@code key < 0}.
*/
public void set( int key, Object value )
{

View File

@@ -35,7 +35,7 @@ package com.sun.corba.se.impl.orbutil ;
* <code>AccessController.doPrivileged</code>.
*
* <p>The following code retrieves the value of the system
* property named <code>"prop"</code> as a privileged action: <p>
* property named <code>"prop"</code> as a privileged action:
*
* <pre>
* String s = (String) java.security.AccessController.doPrivileged(
@@ -67,7 +67,7 @@ public class GetPropertyAction implements java.security.PrivilegedAction {
* value of that property.
*
* @param theProp the name of the system property.
* @param defaulVal the default value.
* @param defaultVal the default value.
*/
public GetPropertyAction(String theProp, String defaultVal) {
this.theProp = theProp;

View File

@@ -150,8 +150,7 @@ import com.sun.corba.se.impl.orbutil.ORBUtility ;
*
* </pre>
* @see Mutex
* <p>[<a href="http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html"> Introduction to this package. </a>]
* [<a href="http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html"> Introduction to this package. </a>]
**/
public class CondVar {

View File

@@ -126,7 +126,6 @@ package com.sun.corba.se.impl.orbutil.concurrent;
* // ... other similar traversal and update methods ...
* }
* </pre>
* <p>
* @see Semaphore
* <p>[<a href="http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html"> Introduction to this package. </a>]
**/

View File

@@ -181,11 +181,11 @@ package com.sun.corba.se.impl.orbutil.concurrent;
* }
* }
* }
*</pre>
* </pre>
* <p>
* Here is an even fancier version, that uses lock re-ordering
* upon conflict:
* <pre>
* <pre>{@code
* class Cell {
* long value;
* Sync lock = ...;
@@ -214,8 +214,8 @@ package com.sun.corba.se.impl.orbutil.concurrent;
* }
* catch (InterruptedException ex) { return; }
* }
*}
*</pre>
* }
* }</pre>
* <p>
* Interruptions are in general handled as early as possible.
* Normally, InterruptionExceptions are thrown
@@ -248,7 +248,7 @@ package com.sun.corba.se.impl.orbutil.concurrent;
* it is normally best to just use acquire(), various forms
* of busy waits can be implemented. For a simple example
* (but one that would probably never be preferable to using acquire()):
* <pre>
* <pre>{@code
* class X {
* Sync lock = ...
* void spinUntilAcquired() throws InterruptedException {
@@ -269,17 +269,16 @@ package com.sun.corba.se.impl.orbutil.concurrent;
* }
* }
* }
* </pre>
* }</pre>
* <p>
* In addition pure synchronization control, Syncs
* may be useful in any context requiring before/after methods.
* For example, you can use an ObservableSync
* (perhaps as part of a LayeredSync) in order to obtain callbacks
* before and after each method invocation for a given class.
* <p>
* <p>[<a href="http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html"> Introduction to this package. </a>]
**/
*
* [<a href="http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html"> Introduction to this package. </a>]
**/
public interface Sync {

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 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
@@ -54,6 +54,7 @@ import com.sun.corba.se.spi.monitoring.LongMonitoredAttributeBase;
import com.sun.corba.se.impl.logging.ORBUtilSystemException;
import com.sun.corba.se.impl.orbutil.ORBConstants;
import com.sun.corba.se.spi.logging.CORBALogDomains;
import com.sun.corba.se.impl.transport.ManagedLocalsThread;
public class ThreadPoolImpl implements ThreadPool
{
@@ -459,7 +460,7 @@ public class ThreadPoolImpl implements ThreadPool
}
private class WorkerThread extends Thread implements Closeable
private class WorkerThread extends ManagedLocalsThread implements Closeable
{
private Work currentWork;
private int threadId = 0; // unique id for the thread

View File

@@ -130,13 +130,13 @@ public abstract class CorbaConnectionCacheBase
* This method must be synchronized since one WorkerThread could
* be reclaming connections inside the synchronized backingStore
* block and a second WorkerThread (or a SelectorThread) could have
* already executed the if (numberOfConnections <= .... ). As a
* already executed the if (numberOfConnections {@literal <=} .... ). As a
* result the second thread would also attempt to reclaim connections.
*
* If connection reclamation becomes a performance issue, the connection
* reclamation could make its own task and consequently executed in
* a separate thread.
* Currently, the accept & reclaim are done in the same thread, WorkerThread
* Currently, the accept {@literal &} reclaim are done in the same thread, WorkerThread
* by default. It could be changed such that the SelectorThread would do
* it for SocketChannels and WorkerThreads for Sockets by updating the
* ParserTable.

View File

@@ -0,0 +1,116 @@
/*
* 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.
*/
package com.sun.corba.se.impl.transport;
import sun.misc.Unsafe;
import java.lang.reflect.Field;
import java.security.AccessController;
import java.security.PrivilegedAction;
/**
* A thread that has it's thread locals, and inheritable thread
* locals erased on construction.
*/
public class ManagedLocalsThread extends Thread {
private static final Unsafe UNSAFE;
private static final long THREAD_LOCALS;
private static final long INHERITABLE_THREAD_LOCALS;
public ManagedLocalsThread () {
super();
}
public ManagedLocalsThread(String name) {
super(name);
eraseThreadLocals();
}
public ManagedLocalsThread(Runnable target) {
super(target);
eraseThreadLocals();
}
public ManagedLocalsThread(Runnable target, String name) {
super(target, name);
eraseThreadLocals();
}
public ManagedLocalsThread(ThreadGroup group, Runnable target, String name) {
super(group, target, name);
eraseThreadLocals();
}
public ManagedLocalsThread(ThreadGroup group, String name) {
super(group, name);
eraseThreadLocals();
}
/**
* Drops all thread locals (and inherited thread locals).
*/
public final void eraseThreadLocals() {
UNSAFE.putObject(this, THREAD_LOCALS, null);
UNSAFE.putObject(this, INHERITABLE_THREAD_LOCALS, null);
}
private static Unsafe getUnsafe() {
PrivilegedAction<Unsafe> pa = () -> {
Class<?> unsafeClass = sun.misc.Unsafe.class;
try {
Field f = unsafeClass.getDeclaredField("theUnsafe");
f.setAccessible(true);
return (Unsafe) f.get(null);
} catch (Exception e) {
throw new Error(e);
}
};
return AccessController.doPrivileged(pa);
}
private static long getThreadFieldOffset(String fieldName) {
PrivilegedAction<Long> pa = () -> {
Class<?> t = Thread.class;
long fieldOffset;
try {
fieldOffset = UNSAFE.objectFieldOffset(t
.getDeclaredField("inheritableThreadLocals"));
} catch (Exception e) {
throw new Error(e);
}
return fieldOffset;
};
return AccessController.doPrivileged(pa);
}
static {
UNSAFE = getUnsafe();
try {
THREAD_LOCALS = getThreadFieldOffset("threadLocals");
INHERITABLE_THREAD_LOCALS = getThreadFieldOffset("inheritableThreadLocals");
} catch (Exception e) {
throw new Error(e);
}
}
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 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
@@ -57,7 +57,7 @@ import com.sun.corba.se.impl.orbutil.ORBUtility;
*/
class SelectorImpl
extends
Thread
ManagedLocalsThread
implements
com.sun.corba.se.pept.transport.Selector
{

View File

@@ -59,7 +59,7 @@ public interface Acceptor
/**
* Used to determine if an <code>Acceptor</code> has been initialized.
*
* @return <code>true</code. if the <code>Acceptor</code> has been
* @return <code>true</code> if the <code>Acceptor</code> has been
* initialized.
*/
public boolean initialized();
@@ -74,7 +74,7 @@ public interface Acceptor
/**
* Set the
* {@link com.sun.corba.se.pept.transport.Inbound.ConnectionCache InboundConnectionCache}
* {@link com.sun.corba.se.pept.transport.InboundConnectionCache InboundConnectionCache}
* to be used by this <code>Acceptor</code>.
*
* PEPt uses separate caches for each type of <code>Acceptor</code>
@@ -88,7 +88,7 @@ public interface Acceptor
/**
* Get the
* {@link com.sun.corba.se.pept.transport.Inbound.ConnectionCache InboundConnectionCache}
* {@link com.sun.corba.se.pept.transport.InboundConnectionCache InboundConnectionCache}
* used by this <code>Acceptor</code>
*
* PEPt uses separate caches for each type of <code>Acceptor</code>

View File

@@ -44,7 +44,7 @@ import com.sun.corba.se.impl.orbutil.ORBConstants ;
* <ol>
* <li>POA current semantics
* <li>Proper handling of POA destroy.
* <ol>
* </ol>
* POA current semantics requires maintaining a ThreadLocal stack of
* invocation information that is always available for POACurrent operations.
* Maintaining this stack is expensive on the timescale of optimized co-located

View File

@@ -41,8 +41,8 @@ The abstract model of IORs works as follows:
<li>An IIOPProfile isA TaggedProfile.</li>
<li>An IIOPProfile is composed of an IIOPProfileTemplate and an object ID.</li>
<li>An IIOPProfileTemplate has an ObjectKeyTemplate, and contains TaggedComponents.</li>
<li>A TaggedComponent has an ID, and can be written to an OuputStream.<li>
<li>A TaggedComponentFactory reads a TaggedComponent from an InputStream.<li>
<li>A TaggedComponent has an ID, and can be written to an OuputStream.</li>
<li>A TaggedComponentFactory reads a TaggedComponent from an InputStream.</li>
</ul>
<p>
In all cases, containment is represented by having the appropriate interface (IOR and

View File

@@ -48,7 +48,7 @@ import com.sun.corba.se.spi.transport.SocketInfo;
*
* property. <p>
*
* Example: <p>
* Example:
* <pre>
* -Dcom.sun.CORBA.connection.ORBSocketFactoryClass=MySocketFactory
@@ -145,7 +145,7 @@ public interface ORBSocketFactory
*
* property. <p>
*
* Example usage:<p>
* Example usage:
*
* <pre>
* ... \
@@ -203,7 +203,7 @@ public interface ORBSocketFactory
* Once you have the port you may add information to references
* created by the associated adapter by calling
*
* <code>IORInfo::add_ior_component</code><p> <p>
* <code>IORInfo::add_ior_component</code><p>
*
*
* Note: if one is using a POA and the lifespan policy of that
@@ -247,7 +247,7 @@ public interface ORBSocketFactory
*
* <code>ORBConstants.BAD_SERVER_ID_HANDLER_CLASS_PROPERTY</code> <p>
*
* Example: <p>
* Example:
*
* <pre>
*
@@ -271,7 +271,7 @@ public interface ORBSocketFactory
* <code>SOCKET_FACTORY_CLASS_PROPERTY</code> and
* <code>LISTEN_SOCKET_PROPERTY</code>
*
* as used by other clients and servers in your distributed system. <p>
* as used by other clients and servers in your distributed system.
*
*/
public ServerSocket createServerSocket(String type, int port)
@@ -324,7 +324,7 @@ public interface ORBSocketFactory
*
* The <code>SocketInfo</code> given to <code>getEndPointInfo</code>
* is either null or an object obtained
* from <code>GetEndPointInfoAgainException</code> <p>
* from <code>GetEndPointInfoAgainException</code>
*
*/
public SocketInfo getEndPointInfo(org.omg.CORBA.ORB orb,
@@ -333,7 +333,7 @@ public interface ORBSocketFactory
/**
* DEPRECATED. DEPRECATED. DEPRECATED. DEPRECATED. <p
* DEPRECATED. DEPRECATED. DEPRECATED. DEPRECATED. <p>
*
* This method is used by a client side ORB. <p>
*
@@ -346,7 +346,7 @@ public interface ORBSocketFactory
*
* If this method throws GetEndPointInfoAgainException then the
* ORB calls <code>getEndPointInfo</code> again, passing it the
* <code>SocketInfo</code> object contained in the exception. <p>
* <code>SocketInfo</code> object contained in the exception.
*
*/
public Socket createSocket(SocketInfo socketInfo)

View File

@@ -30,8 +30,7 @@ import com.sun.corba.se.spi.legacy.connection.Connection;
/**
* This interface is implemented by our implementation of
* PortableInterceptor.ClientRequestInfo and
* PortableInterceptor.ServerRequestInfo. <p>
*
* PortableInterceptor.ServerRequestInfo.
*/
public interface RequestInfoExt

View File

@@ -27,13 +27,9 @@ package com.sun.corba.se.spi.monitoring;
import java.util.*;
/**
* <p>
*
* @author Hemanth Puttaswamy
* </p>
* <p>
*
* A Cleaner Abstraction to provide a Monitored Attribute of type 'Long'
* </p>
*/
public abstract class LongMonitoredAttributeBase extends MonitoredAttributeBase {
@@ -42,20 +38,14 @@ public abstract class LongMonitoredAttributeBase extends MonitoredAttributeBase
/**
* <p>
* Constructs LongMonitoredAttribute, by creating the
* MonitoredAttributeInfo with 'Long' as the class type.
* Users are expected to extend this class and provide the implementation
* for getValue() and if needed clearState() as well.
* </p>
* <p>
*
* @param name of tthe MonitoredAttribute
* </p>
* <p>
* @param name of the MonitoredAttribute
* @param description of the Attribute, Please provid a well thought out
* description, so that the admin can make sense of the attribute supplied.
* </p>
*/
public LongMonitoredAttributeBase(String name, String description) {
super( name );

View File

@@ -28,15 +28,11 @@ import com.sun.corba.se.spi.monitoring.MonitoredAttributeInfo;
import java.util.*;
/**
* <p>
*
* @author Hemanth Puttaswamy
* </p>
* <p>
*
* Monitored Attribute is the interface to represent a Monitorable
* Attribute. Using this interface, one can get the value of the attribute
* and set the value if it is a writeable attribute.
* </p>
*/
public interface MonitoredAttribute {
@@ -44,34 +40,25 @@ public interface MonitoredAttribute {
// operations
/**
* <p>
* Gets the Monitored Attribute Info for the attribute.
* </p>
* <p>
*
* @param monitoredAttributeInfo for this Monitored Attribute.
* </p>
* @return monitoredAttributeInfo for this Monitored Attribute.
*/
public MonitoredAttributeInfo getAttributeInfo();
/**
* <p>
* Sets the value for the Monitored Attribute if isWritable() is false, the
* method will throw ILLEGAL Operation exception.
*
* Also, the type of 'value' should be same as specified in the
* MonitoredAttributeInfo for a particular instance.
* </p>
* <p>
*
* @param value should be any one of the Basic Java Type Objects which are
* Long, Double, Float, String, Integer, Short, Character, Byte.
* </p>
*/
public void setValue(Object value);
/**
* <p>
* Gets the value of the Monitored Attribute. The value can be obtained
* from different parts of the module. User may choose to delegate the call
* to getValue() to other variables.
@@ -79,34 +66,21 @@ public interface MonitoredAttribute {
* NOTE: It is important to make sure that the type of Object returned in
* getvalue is same as the one specified in MonitoredAttributeInfo for this
* attribute.
* </p>
* <p>
*
* </p>
* <p>
*
* @param value is the current value for this MonitoredAttribute
* </p>
* @return the current value for this MonitoredAttribute
*/
public Object getValue();
/**
* <p>
* Gets the name of the Monitored Attribute.
* </p>
* <p>
*
* @param name of this Attribute
* </p>
* @return name of this Attribute
*/
public String getName();
/**
* <p>
* If this attribute needs to be cleared, the user needs to implement this
* method to reset the state to initial state. If the Monitored Attribute
* doesn't change like for example (ConnectionManager High Water Mark),
* then clearState() is a No Op.
* </p>
*
*/
public void clearState();

View File

@@ -27,16 +27,11 @@ package com.sun.corba.se.spi.monitoring;
import java.util.*;
/**
* <p>
*
* @author Hemanth Puttaswamy
* </p>
* <p>
*
* A Convenient class provided to help users extend and implement only
* getValue(), if there is no need to clear the state and the attribute is not
* writable.
*
* </p>
*/
public abstract class MonitoredAttributeBase implements MonitoredAttribute {
String name;

View File

@@ -27,14 +27,10 @@ package com.sun.corba.se.spi.monitoring;
import java.util.*;
/**
* <p>
*
* @author Hemanth Puttaswamy
* </p>
* <p>
*
* Monitored AttributeInfo contains the meta information of the Monitored
* Attribute.
* </p>
*/
public interface MonitoredAttributeInfo {
@@ -42,45 +38,38 @@ public interface MonitoredAttributeInfo {
// operations
/**
* <p>
* If the Attribute is writable from ASAdmin then isWritable() will return
* true.
* </p>
* <p>
*
* @return a boolean with true or false
* </p>
*/
public boolean isWritable();
/**
* <p>
* isStatistic() is true if the attribute is presented as a Statistic.
* </p>
* <p>
*
* @return a boolean with true or false
* </p>
*/
public boolean isStatistic();
/**
* <p>
* Class Type: We will allow only basic class types: 1)Boolean 2)Integer
* 3)Byte 4)Long 5)Float 6)Double 7)String 8)Character
* </p>
* <p>
* Class Type: We will allow only basic class types:
* <ol>
* <li>Boolean</li>
* <li>Integer</li>
* <li>Byte</li>
* <li>Long</li>
* <li>Float</li>
* <li>Double</li>
* <li>String</li>
* <li>Character</li>
* </ol>
*
* @return a Class Type
* </p>
*/
public Class type();
/**
* <p>
* Get's the description for the Monitored Attribute.
* </p>
* <p>
*
* @return a String with description
* </p>
*/
public String getDescription();

View File

@@ -25,17 +25,12 @@
package com.sun.corba.se.spi.monitoring;
/**
* <p>
*
* @author Hemanth Puttaswamy
* </p>
* <p>
*
* MonitoredAttributeInfoFactory used mostly by internal classes. If the
* User needs to define some special MonitoredAttributes like a Character
* type Monitored Attribute, they can use this factory to build the meta
* information.
*
* </p>
*/
public interface MonitoredAttributeInfoFactory {

View File

@@ -30,161 +30,101 @@ import java.util.*;
import java.util.Collection;
/**
* <p>
*
* @author Hemanth Puttaswamy
* </p>
* <p>
*
* Monitored Object provides an Hierarchichal view of the ORB Monitoring
* System. It can contain multiple children and a single parent. Each
* Monitored Object may also contain Multiple Monitored Attributes.
* </p>
*/
public interface MonitoredObject {
///////////////////////////////////////
// operations
/**
* <p>
* Gets the name of this MonitoredObject
* </p><p>
*
* @return a String with name of this Monitored Object
* </p>
*/
public String getName();
/**
* <p>
* Gets the description of MonitoredObject
* </p><p>
*
* @return a String with Monitored Object Description.
* </p>
*/
public String getDescription();
/**
* <p>
* This method will add a child Monitored Object to this Monitored Object.
* </p>
* <p>
* </p>
*/
public void addChild( MonitoredObject m );
/**
* <p>
* This method will remove child Monitored Object identified by the given name
* </p>
* <p>
*
* @param name of the ChildMonitored Object
* </p>
*/
public void removeChild( String name );
/**
* <p>
* Gets the child MonitoredObject associated with this MonitoredObject
* instance using name as the key. The name should be fully qualified name
* like orb.connectionmanager
* </p>
* <p>
*
* @return a MonitoredObject identified by the given name
* </p>
* <p>
* @param name of the ChildMonitored Object
* </p>
*/
public MonitoredObject getChild(String name);
/**
* <p>
* Gets all the Children registered under this instance of Monitored
* Object.
* </p>
* <p>
*
* @return Collection of immediate Children associated with this MonitoredObject.
* </p>
*/
public Collection getChildren();
/**
* <p>
* Sets the parent for this Monitored Object.
* </p>
* <p>
* </p>
*/
public void setParent( MonitoredObject m );
/**
* <p>
* There will be only one parent for an instance of MontoredObject, this
* call gets parent and returns null if the Monitored Object is the root.
* </p>
* <p>
*
* @return a MonitoredObject which is a Parent of this Monitored Object instance
* </p>
*/
public MonitoredObject getParent();
/**
* <p>
* Adds the attribute with the given name.
* </p>
* <p>
*
* </p>
* <p>
* @param value is the MonitoredAttribute which will be set as one of the
* attribute of this MonitoredObject.
* </p>
*/
public void addAttribute(MonitoredAttribute value);
/**
* <p>
* Removes the attribute with the given name.
* </p>
* <p>
*
* </p>
* <p>
* @param name is the MonitoredAttribute name
* </p>
*/
public void removeAttribute(String name);
/**
* <p>
* Gets the Monitored Object registered by the given name
* </p>
*
* <p>
* @return a MonitoredAttribute identified by the given name
* </p>
* <p>
* @param name of the attribute
* </p>
*/
public MonitoredAttribute getAttribute(String name);
/**
* <p>
* Gets all the Monitored Attributes for this Monitored Objects. It doesn't
* include the Child Monitored Object, that needs to be traversed using
* getChild() or getChildren() call.
* </p>
* <p>
*
* @return Collection of all the Attributes for this MonitoredObject
* </p>
*/
public Collection getAttributes();
/**
* <p>
* Clears the state of all the Monitored Attributes associated with the
* Monitored Object. It will also clear the state on all it's child
* Monitored Object. The call to clearState will be initiated from
* CORBAMBean.startMonitoring() call.
* </p>
*
*/
public void clearState();

View File

@@ -25,14 +25,9 @@
package com.sun.corba.se.spi.monitoring;
/**
* <p>
*
* @author Hemanth Puttaswamy
* </p>
* <p>
*
* MonitoredObject Factory to create Monitored Object.
* </p>
*/
public interface MonitoredObjectFactory {
/**

View File

@@ -29,17 +29,13 @@ import com.sun.corba.se.impl.monitoring.MonitoredAttributeInfoFactoryImpl;
import com.sun.corba.se.impl.monitoring.MonitoringManagerFactoryImpl;
/**
* <p>
*
* @author Hemanth Puttaswamy
* </p>
* <p>
*
* This is used for getting the default factories for
* MonitoredObject, MonitoredAttributeInfo and MonitoringManager. We do not
* expect users to use the MonitoredAttributeInfo factory most of the time
* because the Info is automatically built by StringMonitoredAttributeBase
* and LongMonitoredAttributeBase.
* </p>
*/
public class MonitoringFactories {
///////////////////////////////////////
@@ -57,20 +53,15 @@ public class MonitoringFactories {
// operations
/**
* <p>
* Gets the MonitoredObjectFactory
* </p>
* <p>
*
* @return a MonitoredObjectFactory
* </p>
*/
public static MonitoredObjectFactory getMonitoredObjectFactory( ) {
return monitoredObjectFactory;
}
/**
* <p>
* Gets the MonitoredAttributeInfoFactory. The user is not expected to use this
* Factory, since the MonitoredAttributeInfo is internally created by
* StringMonitoredAttributeBase, LongMonitoredAttributeBase and
@@ -79,11 +70,8 @@ public class MonitoringFactories {
* build a DoubleMonitoredAttributeBase like LongMonitoredAttributeBase
* and build a MonitoredAttributeInfo required by MonitoredAttributeBase
* internally by using this Factory.
* </p>
* <p>
*
* @return a MonitoredAttributeInfoFactory
* </p>
*/
public static MonitoredAttributeInfoFactory
getMonitoredAttributeInfoFactory( )
@@ -92,18 +80,14 @@ public class MonitoringFactories {
}
/**
* <p>
* Gets the MonitoredManagerFactory. The user is not expected to use this
* Factory, since the ORB will be automatically initialized with the
* MonitoringManager.
*
* User can get hold of MonitoringManager associated with ORB by calling
* orb.getMonitoringManager( )
* </p>
* <p>
*
* @return a MonitoredManagerFactory
* </p>
*/
public static MonitoringManagerFactory getMonitoringManagerFactory( ) {
return monitoringManagerFactory;

View File

@@ -30,15 +30,11 @@ import com.sun.corba.se.spi.monitoring.MonitoredObject;
import java.util.*;
/**
* <p>
* Monitoring Manager will have a 1 to 1 association with the ORB. This
* gives access to the top level Monitored Object, using which more
* Monitored Objects and Attributes can be added and traversed.
* </p>
* <p>
*
* @author Hemanth Puttaswamy
* </p>
*/
public interface MonitoringManager extends Closeable {
@@ -46,23 +42,14 @@ public interface MonitoringManager extends Closeable {
// operations
/**
* <p>
* Gets the Root Monitored Object which contains a Hierarchy Of Monitored
* Objects exposing various Monitorable Attributes of Various modules.
* </p>
* <p>
*
* @param MonitoredObject ...
* </p>
*/
public MonitoredObject getRootMonitoredObject();
/**
* <p>
* Initialize is called whenever there is a start monitoring call to CORBA
* MBean. This will result in triaging initialize to all the
* MonitoredObjects and it's Monitored Attributes.
* </p>
*
*/
public void clearState();

View File

@@ -25,14 +25,10 @@
package com.sun.corba.se.spi.monitoring;
/**
* <p>
*
* @author Hemanth Puttaswamy
* </p>
* <p>
*
* MonitoringObjectFactory is used internally by the ORB, It is not for
* general public use.
* </p>
*/
public interface MonitoringManagerFactory {
/**

View File

@@ -27,15 +27,11 @@ package com.sun.corba.se.spi.monitoring;
import java.util.*;
/**
* <p>
*
* @author Hemanth Puttaswamy
* </p>
* <p>
*
* StatisticsMonitoredAttribute is provided as a convenience to collect the
* Statistics of any entity. The getValue() call will be delegated to the
* StatisticsAccumulator set by the user.
* </p>
*/
public class StatisticMonitoredAttribute extends MonitoredAttributeBase {
@@ -55,32 +51,19 @@ public class StatisticMonitoredAttribute extends MonitoredAttributeBase {
/**
* <p>
* Constructs the StaisticMonitoredAttribute, builds the required
* MonitoredAttributeInfo with Long as the class type and is always
* readonly attribute.
* </p>
* <p>
*
* @param name Of this attribute
* </p>
* <p>
* @return a StatisticMonitoredAttribute
* </p>
* <p>
* @param desc should provide a good description on the kind of statistics
* collected, a good example is "Connection Response Time Stats will Provide the
* detailed stats based on the samples provided from every request completion
* time"
* </p>
* <p>
* @param s is the StatisticsAcumulator that user will use to accumulate the
* samples and this Attribute Object will get the computed statistics values
* from.
* </p>
* <p>
* @param mutex using which clearState() and getValue() calls need to be locked.
* </p>
*/
public StatisticMonitoredAttribute(String name, String desc,
StatisticsAccumulator s, Object mutex)

View File

@@ -27,11 +27,8 @@ package com.sun.corba.se.spi.monitoring;
import java.util.*;
/**
* <p>
*
* @author Hemanth Puttaswamy
* </p>
* <p>
*
* StatisticsAccumulator accumulates the samples provided by the user and
* computes the value of minimum, maximum, sum and sample square sum. When
* the StatisticMonitoredAttribute calls getValue(), it will compute all
@@ -42,7 +39,6 @@ import java.util.*;
* Users can easily extend this class and provide the implementation of
* toString() method to format the stats as desired. By default all the stats
* are printed in a single line.
* </p>
*/
public class StatisticsAccumulator {
@@ -72,19 +68,12 @@ public class StatisticsAccumulator {
/**
* <p>
* User will use this method to just register a sample with the
* StatisticsAccumulator. This is the only method that User will use to
* expose the statistics, internally the StatisticMonitoredAttribute will
* collect the information when requested from the ASAdmin.
* </p>
* <p>
*
* </p>
* <p>
*
* @param value a double value to make it more precise
* </p>
*/
public void sample(double value) {
sampleCount++;
@@ -137,19 +126,11 @@ public class StatisticsAccumulator {
}
/**
* <p>
* Construct the Statistics Accumulator by providing the unit as a String.
* The examples of units are &quot;Hours&quot;, &quot;Minutes&quot;,
* &quot;Seconds&quot;, &quot;MilliSeconds&quot;, &quot;Micro Seconds&quot;
* etc.,
* </p>
* <p>
* The examples of units are "Hours", "Minutes",
* "Seconds", "MilliSeconds", "Micro Seconds" etc.
*
* @return a StatisticsAccumulator with ...
* </p>
* <p>
* @param unit a String representing the units for the samples collected
* </p>
*/
public StatisticsAccumulator( String unit ) {
this.unit = unit;

View File

@@ -27,14 +27,10 @@ package com.sun.corba.se.spi.monitoring;
import java.util.*;
/**
* <p>
*
* @author Hemanth Puttaswamy
* </p>
* <p>
*
* A Convenient Abstraction to present String type Monitored Attribute. One
* of the examples of StringMonitoredAttribute is the State information.
* </p>
*/
public abstract class StringMonitoredAttributeBase
extends MonitoredAttributeBase
@@ -45,20 +41,11 @@ public abstract class StringMonitoredAttributeBase
/**
* <p>
* Constructs StringMonitoredAttribute with the MonitoredAttributeInfo
* built with the class type of String.
* </p>
* <p>
*
* @param name of this attribute
* </p>
* <p>
* @param description of this attribute
* </p>
* <p>
* @return a StringMonitoredAttributeBase
* </p>
*/
public StringMonitoredAttributeBase(String name, String description) {
super( name );

View File

@@ -89,7 +89,7 @@ import com.sun.corba.se.spi.ior.IORTemplate ;
* <li>A local invocation, where the dispatch is handled in the client subcontract.</li>
* <li>A cached local invocation, where the servant is cached when the IOR is established
* for the client subcontract, and the dispatch is handled in the client subcontract
* to the cached subcontract.<li>
* to the cached subcontract.</li>
* </ol>
* <p>
* Each of these 3 cases is handled a bit differently. On each request, assume as known
@@ -111,11 +111,11 @@ import com.sun.corba.se.spi.ior.IORTemplate ;
* <li>oa.returnServant()</li>
* <li>oa.exit()</li>
* <li>pop info</li>
* <ol>
* </ol>
* </li>
* REVISIT: Is this the required order for exit/pop? Cna they be nested instead?
* <!-- REVISIT: Is this the required order for exit/pop? Cna they be nested instead?
* Note that getInvocationServant and returnServant may throw exceptions. In such cases,
* returnServant, exit, and pop must be called in the correct order.
* returnServant, exit, and pop must be called in the correct order. -->
* <li>The local pattern:
* <ol>
* <li>oa = oaf.find( oaid )</li>
@@ -128,10 +128,10 @@ import com.sun.corba.se.spi.ior.IORTemplate ;
* <li>oa.returnServant()</li>
* <li>oa.exit()</li>
* <li>pop info</li>
* <ol>
* </ol>
* </li>
* This is the same as the remote case, except that setExecuteReturnServantInResponseConstructor
* is not needed (or possible, since there is no server request).
* <!-- This is the same as the remote case, except that setExecuteReturnServantInResponseConstructor
* is not needed (or possible, since there is no server request). -->
* <li>The fast local pattern: When delegate is constructed,
* first extract ObjectKey from IOR in delegate,
* then get ObjectId, ObjectAdapterId, and ObjectAdapterFactory (oaf). Then:
@@ -143,14 +143,14 @@ import com.sun.corba.se.spi.ior.IORTemplate ;
* <li>pop info
* </ol>
* The info instance (which includes the Servant) is cached in the client subcontract.
* <p>Then, on each invocation:</p>
* <p>Then, on each invocation:
* <ol>
* <li>newinfo = copy of info (clone)</li>
* <li>info.setOperation( operation )</li>
* <li>push newinfo</li>
* <li>oa.enter()</li>
* <li>dispatch to servant</li>
* <li>oa.returnServant()</li> // XXX This is probably wrong: remove it.
* <li>oa.returnServant()</li> <!-- XXX This is probably wrong: remove it. -->
* <li>oa.exit()</li>
* <li>pop info</li>
* </ol>

View File

@@ -58,7 +58,7 @@ public interface DataCollector {
* mappings in the resulting properties. Also, -ORBInitialServices
* is handled specially in applet mode: they are converted from
* relative to absolute URLs.
* @raises IllegalStateException if setPropertyNames has not
* @throws IllegalStateException if setPropertyNames has not
* been called.
*/
Properties getProperties() ;

View File

@@ -46,8 +46,8 @@ public interface Action
* in the state machine, as the state could be corrupted.
* Any exception thrown by the Action for the transition
* will be propagated to doIt.
* @param FSM fsm is the state machine causing this action.
* @param Input in is the input that caused the transition.
* @param fsm the state machine causing this action.
* @param in the input that caused the transition.
*/
public void doIt( FSM fsm, Input in ) ;
}

View File

@@ -93,8 +93,8 @@ public interface Guard
* input is retried when the thread runs again.
* </ul>
*
* @param FSM fsm is the state machine causing this action.
* @param Input in is the input that caused the transition.
* @param fsm is the state machine causing this action.
* @param in is the input that caused the transition.
*/
public Result evaluate( FSM fsm, Input in ) ;
}

View File

@@ -42,9 +42,8 @@ import com.sun.corba.se.impl.orbutil.ORBUtility ;
* the service context and provides any needed methods for manipulating
* the service context. Each subclass must provide the following
* members:
* <p>
* <ul>
* </li>a public static final int SERVICE_CONTEXT_ID that gives the OMG
* <li>a public static final int SERVICE_CONTEXT_ID that gives the OMG
* (or other) defined id for the service context. This is needed for the
* registration mechanism defined in ServiceContexts. OMG defined
* service context ids are taken from section 13.6.7 of ptc/98-12-04.</li>

View File

@@ -32,7 +32,7 @@ import org.omg.CORBA.portable.BoxedValueHelper;
* An interface that is implemented by valuetype helper classes.
* This interface appeared in CORBA 2.3 drafts but was removed from
* the published CORBA 2.3 specification.
* <P>
*
* @deprecated Deprecated by CORBA 2.3.
*/
@Deprecated

View File

@@ -68,9 +68,9 @@ public class Arguments
* must check the arguments passed to it for validity and process the
* arguments appropriately. If it detects an invalid argument, it should
* throw an InvalidArgument exception. Arguments MUST be of the form
* `/<arg> [<qualifiers>]' or `-<arg> [<qualifiers>]' where <qualifiers>
* is optional (for example, -iC:\includes, `C:\includes' is the qualifier
* for the argument `i').
* {@code '/<arg> [<qualifiers>]'} or {@code '-<arg> [<qualifiers>]'} where {@code <qualifiers>}
* is optional (for example, -iC:\includes, 'C:\includes' is the qualifier
* for the argument 'i').
* @param args The arguments which are unknown by the framework.
* @param properties Environment-style properties collected from the
* file idl.config.
@@ -289,7 +289,7 @@ public class Arguments
public Hashtable definedSymbols = new Hashtable ();
/**
* <f46082.46.01> True if new module entries are created for each
* (f46082.46.01) True if new module entries are created for each
* re-opened module.
**/
public boolean cppModule = false;

View File

@@ -80,7 +80,7 @@ public class AttributeEntry extends MethodEntry
} // generate
/** Access the attribute generator.
@returns an object which implements the AttributeGen interface.
@return an object which implements the AttributeGen interface.
@see AttributeGen */
public Generator generator ()
{

View File

@@ -52,7 +52,7 @@ import com.sun.tools.corba.se.idl.constExpr.DefaultExprFactory;
* Compiler usage:
* <br><br>
*
* java com.sun.tools.corba.se.idl.toJava.compile [options] <idl file>
* {@code java com.sun.tools.corba.se.idl.toJava.compile [options] <idl file>}
* <br><br>
*
* where &lt;idl file&gt; is the name of a file containing IDL definitions,
@@ -62,17 +62,17 @@ import com.sun.tools.corba.se.idl.constExpr.DefaultExprFactory;
*
* Options:
* <dl>
* <dt>-i &lt;include path&gt;
* <dt>{@code -i <include path>}
* <dd>By default, the current directory is scanned for included files.
* This option adds another directory. See also Note 1 below.
*
* <dt>-d &lt;symbol&gt;
* <dd>This is equivalent to the following line in an IDL file: #define &lt;symbol&gt;
* <dt>{@code -d <symbol>}
* <dd>This is equivalent to the following line in an IDL file: {@code #define <symbol>}
*
* <dt>-emitAll
* <dt>{@code -emitAll}
* <dd>Emit all types, including those found in #included files.
*
* <dt>-v
* <dt>{@code -v}
* <dd>Verbose mode.
* </dl>
*
@@ -81,9 +81,9 @@ import com.sun.tools.corba.se.idl.constExpr.DefaultExprFactory;
* time. Instead, these can be placed into a config file called idl.config.
* This file must be in the CLASSPATH. The format of the includes line is:
*
* <pre>
* <pre>{@code
* includes=<path1>;<path2>;...;<pathN>
* </pre>
* }</pre>
*
* Note that the path separator character, here shown as a semicolon, is
* machine dependent. For instance, on Windows 95 this character is a
@@ -481,10 +481,10 @@ public class Compile
**/
public Arguments arguments = null;
/**
* This hashtable contains <real name, alias> pairs. It is filled in by
* This hashtable contains {@code <real name, alias>} pairs. It is filled in by
* extenders in cases where they wish to override an IDL type name with
* some other name. For instance, when mapping to Java, there could be
* an overrideNames entry of <"TRUE", "true">. NOTE: Do NOT change this
* an overrideNames entry of {@code <"TRUE", "true">}. NOTE: Do NOT change this
* variable to a new Hash table. Just add elements to it.
**/
protected Hashtable overrideNames = new Hashtable ();
@@ -495,8 +495,8 @@ public class Compile
**/
protected Hashtable symbolTable = new Hashtable ();
/**
* This is a vector of strings of the form "IDLfile" or <IDLfile>. It is
* a list of the files included in the given IDL file. It will be empty
* This is a vector of strings of the form {@code "IDLfile"} or {@code <IDLfile>}.
* It is a list of the files included in the given IDL file. It will be empty
* until the parse method executes. If errors are encountered, the state
* of this vector is undefined.
**/

View File

@@ -90,7 +90,7 @@ public class ConstEntry extends SymtabEntry
} // generate
/** Access the constant generator.
@returns an object which implements the ConstGen interface.
@return an object which implements the ConstGen interface.
@see ConstGen */
public Generator generator ()
{

View File

@@ -202,7 +202,7 @@ public class DefaultSymtabFactory implements SymtabFactory
'char', 'octet', 'short', 'long', etc. The reason it is not limited
to these is that, as an extender, you may wish to override these names.
For instance, when generating Java code, octet translates to byte, so
there is an entry in Compile.overrideNames: <"octet", "byte"> and a
there is an entry in Compile.overrideNames: {@code <"octet", "byte">} and a
PrimitiveEntry in the symbol table for "byte". */
public PrimitiveEntry primitiveEntry (String name)
{

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