Igor Ignatyev
735d9b2c36
8180397: remove jdk.testlibrary.IOUtils
...
Reviewed-by: alanb
2017-05-18 15:51:25 -07:00
Alan Bateman
02cfdc2061
8177530: Module system implementation refresh (4/2017)
...
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Reviewed-by: mchung, alanb
2017-04-07 08:05:54 +00:00
Alan Bateman
9ccff870cb
Merge
2017-03-22 18:41:22 +00:00
Alan Bateman
b19eb2766f
8174823: Module system implementation refresh (3/2017)
...
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: chegar, mchung, alanb
2017-03-22 16:26:27 +00:00
Amy Lu
7e65c94ef9
8177383: Wrong @modules in java/io/FilePermission/ReadFileOnPath.java
...
Reviewed-by: alanb
2017-03-22 19:40:20 +08:00
Sergei Kovalev
73a2915d57
8174194: Several java/lang tests failing due to undeclared module dependencies
...
Reviewed-by: dfuchs, mchung
2017-02-10 11:00:41 +03:00
Alan Bateman
a4693ee7d2
8173393: Module system implementation refresh (2/2017)
...
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: dfuchs, psandoz, mchung, alanb
2017-02-10 09:04:39 +00:00
Mandy Chung
b1af5af0c8
8173412: @Test in java/lang/annotation and java/lang/reflect/Proxy tests not run
...
Reviewed-by: redestad
2017-02-03 18:06:45 -08:00
Peter Levart
1d8cd10db5
8173201: java/lang/reflect/PublicMethods/PublicMethodsTest.java fails because of too many open files
...
Explicitly close StandardJavaFileManager(s) as soon as they are not needed any more
Reviewed-by: redestad
2017-01-23 23:56:02 +01:00
Peter Levart
5ada754c71
8172190: Re-apply the fix for bugs 8062389, 8029459, 8061950
...
Final fix for 8062389: Class.getMethod() is inconsistent with Class.getMethods() results, 8029459: getMethods returns methods that are not members of the class, 8061950: Class.getMethods() exhibits quadratic time complexity
Reviewed-by: alanb, mchung, psandoz, dfuchs, darcy, redestad
2017-01-05 08:51:03 +01:00
Alan Bateman
1e82db676a
8170987: Module system implementation refresh (12/2016)
...
8170859: Run time and tool support for ModuleResolution
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: redestad, mchung, alanb
2016-12-16 06:19:16 +00:00
Alan Bateman
fbe85300bf
8169069: Module system implementation refresh (11/2016)
...
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Reviewed-by: plevart, chegar, psandoz, mchung, alanb, dfuchs, naoto, coffeys, weijun
2016-12-01 08:57:53 +00:00
Peter Levart
f160991436
6378384: (reflect) subclass can’t access superclass’s protected fields and methods by reflection
...
Reviewed-by: mchung
2016-10-18 20:28:58 +02:00
Peter Levart
b0aa08888c
8164547: Make java.lang.reflect.ClassLoaderValue public for internal use
...
Move it to jdk.internal.loader and make it public
Reviewed-by: shade, alanb
2016-08-22 13:16:51 +02:00
Mandy Chung
e2a0ff3e0d
8136930: Simplify use of module-system options by custom launchers
...
Reviewed-by: alanb, ksrini, henryjen, sundar
2016-08-10 15:51:25 -07:00
Joe Darcy
085f7a6907
8162539: Test fails because it expects a blank between method signature and throws exception
...
Reviewed-by: coleenp
2016-07-26 12:56:26 -07:00
Svetlana Nikandrova
fc83043219
8054213: Class name repeated in output of Type.toString()
...
Reviewed-by: darcy
2016-07-18 14:39:21 +03:00
Joe Darcy
a9f457a94e
8161500: Use getTypeName and StringJoiner in core reflection toString methods
...
Reviewed-by: redestad
2016-07-18 10:27:58 -07:00
Alexandre Iline
431772cea7
8158855: Fix remaining module dependences in java/lang
...
Reviewed-by: alanb, mchung, amlu
2016-06-15 10:25:25 -07:00
Alan Bateman
39e8310a9a
8156143: Module.getResourceAsStream throws unspecified SecurityException with module in custom Layer
...
Reviewed-by: chegar, mchung
2016-05-26 10:56:58 +01:00
Alan Bateman
53e204dc49
8150668: Layer.defineModulesXXX with a Configuration containing java.base throws undocumented exception
...
Reviewed-by: chegar, mchung
2016-05-25 19:58:03 +01:00
Alan Bateman
ce04e9d9a2
8152650: ModuleFinder.compose should accept varargs
...
Reviewed-by: mchung
2016-05-21 08:01:03 +01:00
Alexandre Iline
b67da697df
8156972: java/lang/reflect/Layer/LayerAndLoadersTest.java test requires jdk.compiler
...
Reviewed-by: alanb
2016-05-18 11:56:24 +01:00
Alan Bateman
36e0820801
8154956: Module system implementation refresh (4/2016)
...
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: alanb, mchung, chegar, redestad
2016-05-03 09:09:57 +01:00
Peter Levart
589c46da46
8152115: (proxy) Examine performance of dynamic proxy creation
...
Redesign caching of dynamic Proxy classes
Reviewed-by: mchung
2016-04-11 10:55:03 +02:00
Chris Hegarty
ff2e79c118
Merge
2016-03-22 10:42:32 +00:00
Alan Bateman
db4d383614
8142968: Module System implementation
...
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Alexandr Scherbatiy <alexandr.scherbatiy@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Jaroslav Bachorik <jaroslav.bachorik@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Miroslav Kos <miroslav.kos@oracle.com>
Co-authored-by: Huaming Li <huaming.li@oracle.com>
Co-authored-by: Sean Mullan <sean.mullan@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Masayoshi Okutsu <masayoshi.okutsu@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Sergey Bylokhov <sergey.bylokhov@oracle.com>
Co-authored-by: Alexandre Iline <alexandre.iline@oracle.com>
Co-authored-by: Volker Simonis <volker.simonis@gmail.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Co-authored-by: Stuart Marks <stuart.marks@oracle.com>
Co-authored-by: Semyon Sadetsky <semyon.sadetsky@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Co-authored-by: Valerie Peng <valerie.peng@oracle.com>
Co-authored-by: Vincent Ryan <vincent.x.ryan@oracle.com>
Co-authored-by: Weijun Wang <weijun.wang@oracle.com>
Co-authored-by: Yuri Nesterenko <yuri.nesterenko@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Felix Yang <felix.yang@oracle.com>
Co-authored-by: Andrei Eremeev <andrei.eremeev@oracle.com>
Co-authored-by: Frank Yuan <frank.yuan@oracle.com>
Co-authored-by: Sergei Pikalev <sergei.pikalev@oracle.com>
Co-authored-by: Sibabrata Sahoo <sibabrata.sahoo@oracle.com>
Co-authored-by: Tiantian Du <tiantian.du@oracle.com>
Co-authored-by: Sha Jiang <sha.jiang@oracle.com>
Reviewed-by: alanb, mchung, naoto, rriggs, psandoz, plevart, mullan, ascarpino, vinnie, prr, sherman, dfuchs, mhaupt
2016-03-17 19:04:16 +00:00
Chris Hegarty
6853999d56
8145416: Move sun.misc.ProxyGenerator to java.lang.reflect
...
Reviewed-by: alanb, mchung, rriggs
2015-12-16 08:42:00 +00:00
Martin Buchholz
a2f0fe3c94
8136583: Core libraries should use blessed modifier order
...
Run blessed-modifier-order script (see bug)
Reviewed-by: psandoz, chegar, alanb, plevart
2015-09-15 21:56:04 -07:00
Mandy Chung
8bc30fb3c8
8104574: Update tests to prepare for system class loader not be URLClassLoader
...
Reviewed-by: chegar
2015-07-15 12:10:03 +08:00
Mandy Chung
53a97cbeb3
8081347: Add @modules to jdk_core tests
...
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Reviewed-by: alanb, joehw, lancea
2015-05-28 10:54:48 -07:00
Mandy Chung
db4c181844
8072656: test/java/lang/reflect/Proxy/ClassRestrictions.java assumes app class loader be URLClassLoader
...
Reviewed-by: lancea, alanb
2015-02-18 18:14:41 -08:00
Alejandro Murillo
e70f855944
Merge
2014-11-13 16:11:01 -08:00
Eric McCorkle
935c33a50c
8062556: Add jdk tests for JDK-8058322 and JDK-8058313
...
Add tests for two hotspot reflection fixes.
Reviewed-by: dholmes
2014-11-10 15:06:13 -05:00
Eric McCorkle
1c54a00f75
8055063: Parameter#toString() fails w/ AIOOBE for ctr of inner class w/ generic type
...
Add getAllGenericParameters, which attempts to report generic parameters with synthetic parameters to the best extent possible with current classfile information.
Reviewed-by: jfranck
2014-11-10 11:23:23 -05:00
Martin Buchholz
84e99bc48e
8062771: Core reflection should use final fields whenever possible
...
Reviewed-by: psandoz, darcy
2014-11-06 13:18:44 -08:00
Andrej Golovnin
fe519e6845
5043030: (reflect) unnecessary object creation in reflection
...
Use valueOf() instead of new for primitive wrappers.
Reviewed-by: jfranck
2014-09-09 12:04:31 +02:00
Joel Borggrén-Franck
febacf5319
8054987: (reflect) Add sharing of annotations between instances of Executable
...
Reviewed-by: darcy, plevart
2014-09-09 10:48:01 +02:00
Ivan Gerasimov
6b6a37ee50
8051382: Optimize java.lang.reflect.Modifier.toString()
...
Reviewed-by: martin
2014-08-06 02:11:17 +04:00
Joel Borggrén-Franck
6445980a62
8029674: (reflect) getMethods returns default methods that are not members of the class
...
Filter out methods that have a more specific default method from result
Reviewed-by: darcy, dlsmith
2014-06-10 14:40:20 +02:00
Alexandre Iline
092e29980a
8039438: Some tests depend on internal API sun.misc.IOUtils
...
Remove dependency on sun.misc.IOUtils.readFully(InputStream, int, boolean)
Reviewed-by: alanb, mchung, chegar
2014-04-21 13:12:22 -07:00
Lana Steuck
657b9db1ba
8029235: Update copyright year to match last edit in jdk8 jdk repository for 2013
...
Updated files with 2011, 2012 and 2013 years according to the file's last updated date
Reviewed-by: tbell, lancea, chegar
2013-12-26 12:04:16 -08:00
Joe Darcy
48ce9464b0
8031651: Remove unneeded -source and -target flags in jdk repo regression tests
...
Reviewed-by: dfuchs, mullan
2014-01-14 10:08:24 -08:00
Eric McCorkle
fadfc31bec
8026884: test for fix of JDK-8021398 does not have @bug tag
...
8028021: @since 1.8 missing for certain methods in java.lang.reflect.Method in generated api docs
Two documentation fixes
Reviewed-by: darcy
2013-11-13 15:48:21 -05:00
Andreas Lundblad
79b1f94594
8016725: TEST_BUG: java/lang/reflect/Method/DefaultMethodModeling.java failing intermittently
...
Moved DefaultMethodModeling.java to its own directory to avoid conflicts with Equals.java.
Reviewed-by: darcy
2013-11-04 15:21:47 +01:00
Joe Darcy
5f3b001859
8005294: Consider default methods for additions to AnnotatedElement
...
Reviewed-by: jfranck, plevart, mchung, abuckley, sogoel
2013-10-30 17:27:25 -07:00
Joel Borggrén-Franck
415ea4460a
8009411: (reflect) Class.getMethods should not include static methods from interfaces
...
Update getMethods() and getMethod() to filter out interface statics
Co-authored-by: Andreas Lundblad <andreas.lundblad@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: darcy
2013-10-22 10:34:12 +02:00
Karen Kinnear
1e73553e8c
8026213: Reflection support for private interface methods
...
Reviewed-by: forax, psandoz, dholmes, jfranck
2013-10-11 15:21:23 -07:00
Joel Borggrén-Franck
db556bacff
7044282: (reflect) Class.forName and Array.newInstance are inconsistent regarding multidimensional arrays
...
Reviewed-by: darcy, psandoz
2013-10-10 18:11:53 +02:00
Eric McCorkle
367fa5ac0e
8020981: Update methods of java.lang.reflect.Parameter to throw correct exceptions
...
Fix behavior of parameter reflection API for malformed class files.
Reviewed-by: darcy
2013-10-02 19:13:42 -04:00