22906 Commits

Author SHA1 Message Date
Dmitry Samersoff
e6d68e6d66 7010732: SA_ALTROOT only works if running the SA tools from their build directory
Fixed SA packaging scripts

Reviewed-by: sla, kevinw
2014-01-28 14:45:39 +04:00
Dmitry Samersoff
04c87a2bbe 8022323: [JavaSecurityScanner] review package com.sun.management.* Native methods should be private
Create java methods that calls native one

Reviewed-by: sla, dholmes
2014-01-28 12:50:53 +04:00
Lana Steuck
097752c806 Merge 2014-01-27 21:02:47 -08:00
Lana Steuck
ed4238e046 Merge 2014-01-27 21:01:55 -08:00
Lana Steuck
0d2bbd4a3e Merge 2014-01-27 21:01:31 -08:00
Lana Steuck
b14b1b2b12 Merge 2014-01-27 21:01:30 -08:00
Lana Steuck
85b5e256af Merge 2014-01-27 21:00:29 -08:00
Lana Steuck
7005e9fa2e Merge 2014-01-27 21:00:19 -08:00
Lana Steuck
cf3baeb7dc Merge 2014-01-27 21:00:12 -08:00
Lana Steuck
80d4886a64 Merge 2014-01-27 21:00:03 -08:00
Coleen Phillimore
305d2f27f1 8028275: Metaspace ShrinkGrowTest causes fatal error if run with JFR
Clean up initialization from Threads::create_vm() so that exceptions cause vm_exit_during_initialzation without an exception mark.

Reviewed-by: dholmes, hseigel
2014-01-27 23:12:13 -05:00
Jonathan Gibbons
69a6133c78 8032814: LineNumberTable/LocalVariableTable tables duplication for the "-v -l" combination of options
Reviewed-by: ksrini
2014-01-27 17:48:47 -08:00
Mandy Chung
1e80ad98e4 6760902: inconsistent behavior in system class loader for classes and resources
Reviewed-by: psandoz, ksrini
2014-01-27 16:22:08 -08:00
Jonathan Gibbons
478d2876a5 8031212: doclint incorrectly rejects some @see tags in javadoc comments
Reviewed-by: vromero
2014-01-27 16:07:32 -08:00
Paul Sandoz
51efd87812 8032779: Update code in java.lang to use newer language features
Reviewed-by: darcy, alanb
2014-01-27 14:29:37 +01:00
Dmitry Samersoff
2489c7b220 8002116: This JdbReadTwiceTest.sh gets an exit 1
Explicitly check readability of file in question

Reviewed-by: sla, dholmes, olagneau
2014-01-27 17:13:16 +04:00
Dmitry Samersoff
aab73f9356 8024049: com/sun/jdi/ProcessAttachTest.sh shortens 7-digit pid to 6-digit
Replace cut call to awk

Reviewed-by: sla, olagneau
2014-01-27 15:11:56 +04:00
Stefan Sarne
4a7bc8eccd 8032662: test/compiler/ciReplay/TestSA.sh should report ulimit issues
Reviewed-by: kvn, iignatyev
2014-01-27 10:57:52 +01:00
Dmitry Samersoff
ebf3cad435 8032247: SA: Constantpool lookup for invokedynamic is not implemented
Implement constant pool lookup for invokedynamic

Reviewed-by: sla, sspitsyn
2014-01-27 13:46:54 +04:00
Weijun Wang
49fdbfba20 8031572: jarsigner -verify exits with 0 when a jar file is not properly signed
Reviewed-by: mullan
2014-01-25 18:16:33 +08:00
Joe Wang
4139d6900c 8032392: Spec: javax.xml.stream.XMLEventFactory/XMLOutputFactory/XMLInputFactory.newFactory(String, ClassLoader) referring to ServiceLoader.load(Class, ClassLoader)
Reviewed-by: lancea, dfuchs
2014-01-24 14:17:33 -08:00
Joe Darcy
d1fc6d132c 8032616: Fix non-deprecation warnings in com.sun.beans.*
Reviewed-by: alanb
2014-01-24 11:03:15 -08:00
Volker Simonis
c329a619fd 8032678: [TESTBUG] sun/misc/Version/Version.java doesn't understand two-digit HotSpot minor version numbers
Reviewed-by: kvn
2014-01-24 19:18:17 +01:00
Alexander Zuev
786fc24463 8029646: [pack200] should support the new zip64 format
Reviewed-by: ksrini, sherman
2014-01-24 21:29:25 +04:00
Vladimir Kozlov
6e8540ca72 Merge 2014-01-24 09:04:24 -08:00
Joe Darcy
4a3b8f4df6 8032627: Add @SuppressWarnings("serial") to appropriate javax.swing classes
Reviewed-by: alexsch, alanb
2014-01-24 07:16:53 -08:00
Alan Bateman
d5a62b1401 8032451: (dc) DatagramChannel.join should support include-mode filtering on OS X
Reviewed-by: chegar
2014-01-24 13:54:16 +00:00
Eric McCorkle
1bb2245091 8032587: Change silent failure in Attr.java to assertion
Change silent failure in Attr.fromAttributes into a non-null assertion

Reviewed-by: jfranck
2014-01-24 08:47:32 -05:00
Matherey Nunez
69f2f2fad4 8027175: Existing regression tests in tl/langtools and tl/jdk need to be updated for @bug keyword
Reviewed-by: jjg, ksrini
2014-01-27 12:45:03 -08:00
Harold Seigel
30bac4bcc7 Merge 2014-01-24 08:31:06 -05:00
Harold Seigel
39f19c2f76 8028553: The JVM should not throw VerifyError when 'overriding' a static final method in a superclass
Check if method is static before throwing exception.

Reviewed-by: kamg, coleenp, lfoltan, fparain
2014-01-24 08:13:42 -05:00
Sergey Malenkov
77f3079bed 8010718: javax/swing/JFileChooser/8013442/Test8013442.java fails
Reviewed-by: alexsch
2014-01-24 16:50:40 +04:00
Alexander Scherbatiy
c24ceb9e4a 8032063: javax.swing.plaf.metal.MetalFileChooserUI$FilterComboBoxModel extends non-standard API
Reviewed-by: pchelko, serb
2014-01-24 16:23:22 +04:00
Alan Bateman
65a9d3695b 8032456: vm/jni/Miscellaneous/misc001/misc00101m1/misc00101m1.html failing on OS X
Reviewed-by: sla, chegar, psandoz
2014-01-24 11:50:33 +00:00
Andreas Lundblad
99aae5c1fd 8028267: sun.tools.javac.util.Bits contains a main-method with test code
Removed main method from Bits and added proper unit testing.

Reviewed-by: jfranck
2014-01-24 09:39:51 +01:00
David Simms
edb5dd324e 8028280: ParkEvent leak when running modified runThese which only loads classes
Use spin lock to manage ParkEvent and PlatformEvent free lists.

Reviewed-by: dholmes, fparain
2014-01-24 09:28:47 +01:00
Mandy Chung
7e46f00b86 6516909: (cl spec) ClassLoader.loadClass() clarification to indicate it shouldn't be used for array classes
Reviewed-by: alanb
2014-01-23 14:06:58 -08:00
Mandy Chung
5634f01fdb 4932272: (cl) Remove declaration of the unused private method ClassLoader.defineClass0
Reviewed-by: alanb
2014-01-23 14:04:52 -08:00
Gilles Duboscq
90a44b778d 8031427: AllocObject and Unsafe.allocateInstance segfault for primitive types
The fix just throws an InstantiationException if the Klass is NULL.

Reviewed-by: coleenp, twisti, jrose
2014-01-23 16:02:14 -05:00
Alejandro Murillo
4c4881a31f Merge 2014-01-23 10:35:38 -08:00
Yumin Qi
38fe1c531a Merge 2014-01-23 09:45:38 -08:00
Yumin Qi
4a3aa3a77a 6651256: jstack: DeleteGlobalRef method call doesn't lead to descreasing of global refs count shown by jstack
Jni_DeleteGlobalRef does not really release the jni handle, instead, set the handle point to JNIHandles::_deleted_handle which holds an oop instance (java/lang/Object) in Java heap and never be GC'ed. When counting number of global reference, it counts all the handles on the chain list, which includes the already deleted ones.

Reviewed-by: zgu, sla, coleenp
2014-01-23 09:40:32 -08:00
Volker Simonis
ad1b6f1a39 8032578: [TESTBUG] Fix tests which use SecurityConstants.AWT
Reviewed-by: pchelko
2014-01-23 17:43:32 +01:00
Shanliang Jiang
7d09fd8b12 6980984: java/lang/management/MemoryMXBean/MemoryManagement is not robust when getMax() returns -1
Reviewed-by: jbachorik, dfuchs
2014-01-23 15:17:36 +01:00
Joel Borggrén-Franck
b1bcbaeb4b 8029017: ElementType.TYPE_USE should be a logical superset of ElementType.TYPE and ANNOTATION_TYPE
Reviewed-by: abuckley, jlahoda, vromero
2014-01-23 14:09:29 +01:00
Kumar Srinivasan
70eb26fc0a 8031023: [javac] LambdaToMethod is missing forceSerializedRepresentation logic and switch
Reviewed-by: jjg, rfield
2014-01-23 06:34:53 -08:00
Kevin Walls
076122acf6 8032466: serviceability/sa/jmap-hashcode/Test8028623.java fails with compilation errors
Reviewed-by: dsamersoff, sla
2014-01-23 09:33:50 +00:00
Jaroslav Bachorik
f0a718ceb0 6309226: TEST: java/lang/management/ThreadMXBean/SynchronizationStatistics.java didn't check Thread.sleep
Reviewed-by: dholmes, mchung
2014-01-23 10:06:52 +01:00
Staffan Larsen
6f46c5c2f0 8031968: Mac OS X: VM starts the agent by calling both Agent_OnAttach and Agent_OnAttach_L functions if its agent library is dynamically linked
Make sure we only look for statically linked agents in the main process image

Reviewed-by: dsamersoff, bpittore, dcubed
2014-01-23 09:06:21 +01:00
Joe Darcy
03045efef6 8032047: Fix static lint warnings in client libraries
8032048: Add static lint warning to build of jdk repository

Reviewed-by: pchelko, serb, erikj
2014-01-22 23:20:58 -08:00