vromero [Mon, 18 Feb 2013 14:33:25 +0000] rev 16301
6563143: javac should issue a warning for overriding equals without hashCode
Reviewed-by: jjg, mcimadamore
rfield [Fri, 15 Feb 2013 18:40:38 -0800] rev 16300
8004969: Generate $deserializeLambda$ method
8006763: super in method reference used in anonymous class - ClassFormatError is produced
8005632: Inner classes within lambdas cause build failures
8005653: Lambdas containing inner classes referencing external type variables do not correctly parameterize the inner classes
Reviewed-by: mcimadamore
jjg [Fri, 15 Feb 2013 11:26:11 -0800] rev 16299
8008313: 8007052 breaks test/tools/javap/MethodParameters.java
Reviewed-by: darcy
mcimadamore [Fri, 15 Feb 2013 18:13:00 +0000] rev 16298
8008309: TargetType60 fails because of bad golden file
Summary: bad golden file
Reviewed-by: jjg
mcimadamore [Fri, 15 Feb 2013 16:37:19 +0000] rev 16297
Merge
mcimadamore [Fri, 15 Feb 2013 16:31:19 +0000] rev 16296
8007427: Annotation element as '_' gives compiler error instead of a warning
8007401: Write test to check for generation of warnings when '_' is used as an identifier
Summary: Extended identifier production not used in annotation values
Reviewed-by: jjg
Contributed-by: sonali.goel@oracle.com
mcimadamore [Fri, 15 Feb 2013 16:30:31 +0000] rev 16295
8007535: Compiler crashes on @FunctionalInterface used on interface with two inherited methods with same signatures
Summary: Bad check in Types.interfaceCandidates
Reviewed-by: jjg
mcimadamore [Fri, 15 Feb 2013 16:29:58 +0000] rev 16294
8007462: Fix provisional applicability for method references
Summary: Add speculative arity-based check to rule out potential candidates when stuck reference is passed to method
Reviewed-by: jjg
mcimadamore [Fri, 15 Feb 2013 16:28:57 +0000] rev 16293
8007285: AbstractMethodError instead of compile-time error when method reference with super and abstract
Summary: Missing abstractness check on super rmethod references
Reviewed-by: jjg
mcimadamore [Fri, 15 Feb 2013 16:28:07 +0000] rev 16292
8006749: compiler does not allow Object protected methods to be used in lambda
Summary: Check.checkFunctionalInterface should take into account 'fake' override
Reviewed-by: jjg
jjg [Fri, 15 Feb 2013 08:28:42 -0800] rev 16291
8007052: javap should include the descriptor for a method in verbose mode
Reviewed-by: mcimadamore
mchung [Thu, 14 Feb 2013 09:43:00 -0800] rev 16290
8006225: tools/jdeps/Basic.java failes with AssertionError
Reviewed-by: alanb
darcy [Wed, 13 Feb 2013 23:05:17 -0800] rev 16289
8001457: New tests needed for library-side changes for repeating annotations
Reviewed-by: darcy
Contributed-by: sonali.goel@oracle.com
katleman [Thu, 14 Mar 2013 15:00:41 -0700] rev 16288
Added tag jdk8-b81 for changeset a7ab085069a9
duke [Wed, 05 Jul 2017 18:45:42 +0200] rev 16287
Merge
katleman [Thu, 14 Mar 2013 15:00:28 -0700] rev 16286
Added tag jdk8-b81 for changeset 9597171cffbd
duke [Wed, 05 Jul 2017 18:45:37 +0200] rev 16285
Merge
lana [Thu, 14 Mar 2013 19:33:29 -0700] rev 16284
Merge
lana [Tue, 12 Mar 2013 18:22:55 -0700] rev 16283
Merge
ewendeli [Mon, 25 Feb 2013 07:22:09 +0100] rev 16282
Merge
ewendeli [Tue, 19 Feb 2013 21:45:15 +0100] rev 16281
Merge
joehw [Wed, 12 Dec 2012 15:19:19 -0800] rev 16280
8001235: Improve JAXP HTTP handling
Reviewed-by: lancea, skoivu
katleman [Thu, 14 Mar 2013 15:00:26 -0700] rev 16279
Added tag jdk8-b81 for changeset 4f3da455d5f5
duke [Wed, 05 Jul 2017 18:45:29 +0200] rev 16278
Merge
sundar [Sat, 09 Mar 2013 21:49:32 +0530] rev 16277
8009559: clean up method handle lookup code.
Reviewed-by: ahgross, jlaskey, attila, sundar
sundar [Wed, 06 Mar 2013 22:38:18 +0530] rev 16276
8009553: Object.create(Array.prototype) doesn't respect reset length
Reviewed-by: jlaskey, lagergren
jlaskey [Mon, 04 Mar 2013 11:01:26 -0400] rev 16275
8009379: Remove $ from generated class names
Reviewed-by: attila, lagergren
Contributed-by: james.laskey@oracle.com
hannesw [Mon, 04 Mar 2013 11:44:54 +0100] rev 16274
8008370: coffee script compiler doesn't work with Nashorn
Reviewed-by: lagergren, attila
jlaskey [Sat, 02 Mar 2013 11:26:47 -0400] rev 16273
Merge
sundar [Fri, 01 Mar 2013 15:58:29 +0530] rev 16272
8009263: Fix all javadoc errors in nashorn code
Reviewed-by: hannesw, lagergren
hannesw [Thu, 28 Feb 2013 22:59:31 +0100] rev 16271
8009240: RegExpScanner code is inefficient and too complex
Reviewed-by: jlaskey, lagergren
sundar [Thu, 28 Feb 2013 20:31:30 +0530] rev 16270
8009229: ant makefile default target should be "test"
Reviewed-by: lagergren, jlaskey
attila [Wed, 27 Feb 2013 16:25:15 +0100] rev 16269
8009150: Previous dead code elimination was incomplete
Reviewed-by: hannesw, lagergren
attila [Wed, 27 Feb 2013 15:49:05 +0100] rev 16268
8009146: Eliminate some dead code in preparation for immutable AST
Reviewed-by: hannesw, lagergren
attila [Wed, 27 Feb 2013 15:20:26 +0100] rev 16267
8009143: Eliminate Dynalink dependency on java.beans
Reviewed-by: jlaskey, lagergren, sundar
alanb [Wed, 27 Feb 2013 14:12:45 +0000] rev 16266
8008950: jdk8/tl failing with SetupJavaCompilation BUILD_NASGEN contains missing directory -c on Windows
Reviewed-by: chegar, sundar
sundar [Tue, 26 Feb 2013 22:57:51 +0530] rev 16265
8009021: nasgen should be run on boot jdk rather than currenly built jdk
Reviewed-by: jlaskey
attila [Mon, 25 Feb 2013 16:51:04 +0100] rev 16264
8006984: Introducing local into a function inside with statement confuses its scope
Reviewed-by: jlaskey, lagergren, sundar
sundar [Mon, 25 Feb 2013 18:13:23 +0530] rev 16263
8008789: Enable java access and nashorn runtime tests for jtreg
Reviewed-by: lagergren, jlaskey, hannesw
sundar [Mon, 25 Feb 2013 16:58:31 +0530] rev 16262
8008731: Separate configuration environment (options, error/output writer etc.) from Context
Reviewed-by: hannesw, lagergren
jlaskey [Fri, 22 Feb 2013 23:33:46 -0400] rev 16261
8008776: Revise BuildNashorn.gmk for changes in new build system
Reviewed-by: jjh
Contributed-by: james.laskey@oracle.com
sundar [Fri, 22 Feb 2013 22:39:23 +0530] rev 16260
8008729: Make sure that we can run basic jsr223 tests using jtreg
Reviewed-by: jlaskey, hannesw, lagergren
hannesw [Fri, 22 Feb 2013 17:00:22 +0100] rev 16259
8006028: Integrate Joni regexp engine with Nashorn
Reviewed-by: lagergren, attila
hannesw [Fri, 22 Feb 2013 16:31:10 +0100] rev 16258
8008093: Make RegExp engine pluggable
Reviewed-by: lagergren, attila
jlaskey [Fri, 22 Feb 2013 10:39:00 -0400] rev 16257
8008721: Tweaks to make all NEWBUILD=false round 4
Reviewed-by: jjh
Contributed-by: james.laskey@oracle.com
lagergren [Fri, 22 Feb 2013 12:22:16 +0100] rev 16256
8007002: Replace implicit exception throwing methods with explicit throws - simplify control flow and remove useless code
Reviewed-by: attila, hannesw
lagergren [Fri, 22 Feb 2013 11:27:40 +0100] rev 16255
8008575: Re-integrate code coverage
Reviewed-by: attila, hannesw
Contributed-by: eugene.drobitko@oracle.com, ilya.dergalin@oracle.com
lagergren [Fri, 22 Feb 2013 08:57:22 +0100] rev 16254
8008554: load was broken for URLs
Reviewed-by: attila, sundar
jlaskey [Thu, 21 Feb 2013 15:24:31 -0400] rev 16253
8008447: Tweaks to make all NEWBUILD=false round 3
Reviewed-by: jjh, sundar
Contributed-by: james.laskey@oracle.com
lagergren [Thu, 21 Feb 2013 16:57:21 +0100] rev 16252
8008648: Lazy JIT scope and callee semantics bugfixes. Broke out wallclock timer.
Reviewed-by: attila, hannesw
lagergren [Wed, 20 Feb 2013 16:43:21 +0100] rev 16251
8008166: URL handling was broken on windows, causing "load" to malfunction
Reviewed-by: attila, jlaskey
Contributed-by: klara.ward@oracle.com
sundar [Wed, 20 Feb 2013 17:08:32 +0530] rev 16250
8008207: Make constants array and source fields private
Reviewed-by: hannesw, lagergren
sundar [Tue, 19 Feb 2013 20:33:07 +0530] rev 16249
8008448: Add coverage test for jdk.nashorn.internal.ir.debug.JSONWriter
Reviewed-by: jlaskey, attila
jlaskey [Tue, 19 Feb 2013 09:47:02 -0400] rev 16248
Merge
jlaskey [Tue, 19 Feb 2013 09:46:28 -0400] rev 16247
8008420: Tweaks to make all NEWBUILD=false round 2
Reviewed-by: jjh
Contributed-by: james.laskey@oracle.com
sundar [Mon, 18 Feb 2013 20:41:12 +0530] rev 16246
8008387: Improve code coverage tests for JSObjectLinker and NashornBottomLinker
Reviewed-by: lagergren, jlaskey, hannesw
attila [Mon, 18 Feb 2013 16:00:15 +0100] rev 16245
8008371: Fix Dynalink compiler warnings and whitespace
Reviewed-by: jlaskey, sundar
hannesw [Mon, 18 Feb 2013 10:36:18 +0100] rev 16244
8008351: Avoid using String.replace(String, String) in codegen
Reviewed-by: sundar, attila
sundar [Mon, 18 Feb 2013 14:41:58 +0530] rev 16243
8008305: ScriptEngine.eval should offer the ability to provide a codebase
Reviewed-by: lagergren, hannesw, attila
sundar [Fri, 15 Feb 2013 20:40:05 +0530] rev 16242
8008298: Add tests to cover specialized versions of Math functions.
Reviewed-by: jlaskey, lagergren
sundar [Fri, 15 Feb 2013 18:30:19 +0530] rev 16241
8008291: Add more tests for better coverage of objects, scripting and parser packages
Reviewed-by: lagergren, jlaskey
lagergren [Fri, 15 Feb 2013 09:44:15 +0100] rev 16240
8008239: Unpublicized parts of the code generator package that were only package internal.
Reviewed-by: hannesw, attila
hannesw [Fri, 15 Feb 2013 09:18:05 +0100] rev 16239
8008215: break in catch clause causes java.lang.VerifyError: Inconsistent stackmap
Reviewed-by: jlaskey, lagergren
jlaskey [Thu, 14 Feb 2013 11:32:49 -0400] rev 16238
8008231: Fix build system to accommodate integration of dynalink
Reviewed-by: jlaskey
Contributed-by: james.laskey@oracle.com
hannesw [Thu, 14 Feb 2013 14:07:53 +0100] rev 16237
8008198: java.lang.AssertionError: Invalid break target class jdk.nashorn.internal.ir.TryNode
Reviewed-by: attila, jlaskey
attila [Thu, 14 Feb 2013 13:51:54 +0100] rev 16236
8007990: No access to interface methods on a restricted class
Reviewed-by: jlaskey, lagergren, sundar
lagergren [Thu, 14 Feb 2013 13:52:12 +0100] rev 16235
8008206: The allInteger case for SwitchNode generation in CodeGenerator assumes integer LITERALS only.
Reviewed-by: sundar, jlaskey
attila [Thu, 14 Feb 2013 13:22:26 +0100] rev 16234
8008085: Integrate Dynalink source code into Nashorn codebase
Reviewed-by: jlaskey, lagergren, sundar
lagergren [Thu, 14 Feb 2013 13:01:52 +0100] rev 16233
8008199: Lazy compilation and trampoline implementation
Summary: The code pipeline now supports lazy compilation, which can be used to only compile certain FunctionNodes and leave others be, saving startup time. When these uncompiled nodes are hit, a trampoline will force them to be recompiled. This can also be used to specialize compilation fixing parameter types and return types to a callsite specific compilation. This will give performance.
Reviewed-by: attila, sundar
sundar [Thu, 14 Feb 2013 14:16:58 +0530] rev 16232
8008197: Cross script engine function calls do not work as expected
Reviewed-by: lagergren, hannesw
sundar [Thu, 14 Feb 2013 09:14:31 +0530] rev 16231
8008193: test262 tests should be run with security manager enabled
Reviewed-by: jlaskey
sundar [Wed, 13 Feb 2013 19:59:30 +0530] rev 16230
8008103: Source object should maintain URL of the script source as a private field
Reviewed-by: lagergren, jlaskey
hannesw [Wed, 13 Feb 2013 13:30:21 +0100] rev 16229
8008096: TokenStream buffer should grow exponentially
Reviewed-by: attila, lagergren, sundar
attila [Tue, 12 Feb 2013 12:47:51 +0100] rev 16228
8007900: Function binding is inefficient
Reviewed-by: jlaskey, lagergren
hannesw [Tue, 12 Feb 2013 13:55:05 +0100] rev 16227
8007956: Wrong or obsolete system properties in docs/DEVELOPER_README
Reviewed-by: attila, jlaskey
sundar [Mon, 11 Feb 2013 21:26:06 +0530] rev 16226
8007915: Nashorn IR, codegen, parser packages and Context instance should be inaccessible to user code
Reviewed-by: lagergren, jlaskey, attila
attila [Sat, 09 Feb 2013 16:58:48 +0100] rev 16225
8006943: Fix order of function method arguments to be (callee, thisObject)
Reviewed-by: jlaskey, lagergren
jlaskey [Fri, 08 Feb 2013 09:19:38 -0400] rev 16224
8006222: Move slot from SpillProperty to Property
Reviewed-by: hannesw, lagergren
Contributed-by: james.laskey@oracle.com
hannesw [Thu, 07 Feb 2013 15:33:17 +0100] rev 16223
8007718: Make static RegExp properties fully compatible to other engines
Reviewed-by: lagergren, sundar
hannesw [Thu, 07 Feb 2013 14:58:41 +0100] rev 16222
8007627: Support @Getter annotation on constructor
Reviewed-by: attila, lagergren
sundar [Thu, 07 Feb 2013 17:17:29 +0530] rev 16221
8007715: Make sure that not all tests run with AllPermission
Reviewed-by: lagergren, attila
jlaskey [Wed, 06 Feb 2013 12:51:09 -0400] rev 16220
8007643: Add testing for quit and exit
Reviewed-by: sundar
Contributed-by: james.laskey@oracle.com
jlaskey [Wed, 06 Feb 2013 11:57:51 -0400] rev 16219
8007629: Remove extraneous quit from shell.js
Reviewed-by: sundar, hannesw
Contributed-by: james.laskey@oracle.com
jlaskey [Wed, 06 Feb 2013 08:42:19 -0400] rev 16218
8007545: jjs input evalinput need to be NOT_ENUMERABLE
Reviewed-by: sundar, lagergren
Contributed-by: james.laskey@oracle.com
sundar [Wed, 06 Feb 2013 17:56:12 +0530] rev 16217
8007619: Add support for deprecated properties of RegExp constructor
Reviewed-by: lagergren, hannesw
hannesw [Wed, 06 Feb 2013 10:31:58 +0100] rev 16216
8007273: Creation of ScriptFunctions can be refactored
Reviewed-by: lagergren, attila
sundar [Tue, 05 Feb 2013 22:07:04 +0530] rev 16215
8007523: VerifyError on script that uses regular expression literals with ternary operator
Reviewed-by: lagergren
sundar [Tue, 05 Feb 2013 21:00:04 +0530] rev 16214
8007522: IllegalStateException thrown from String.prototype.search function
Reviewed-by: jlaskey
sundar [Tue, 05 Feb 2013 18:44:54 +0530] rev 16213
8007521: $ENV should be undefined when security manager is present
Reviewed-by: hannesw, jlaskey
sundar [Tue, 05 Feb 2013 09:11:03 +0530] rev 16212
8007452: add scripting programmers doc changes for nashorn
Reviewed-by: jlaskey, hannesw
jlaskey [Mon, 04 Feb 2013 14:48:35 -0400] rev 16211
8006191: `cmd` -> exec("cmd") in script mode
Reviewed-by: sundar, lagergren, hannesw
Contributed-by: james.laskey@oracle.com
lagergren [Mon, 04 Feb 2013 16:20:05 +0100] rev 16210
8007215: Varargs broken for the case of passing more than the arg limit arguments.
Reviewed-by: jlaskey, attila
attila [Mon, 04 Feb 2013 15:59:44 +0100] rev 16209
8007460: var assignment to a parameter in a varargs method causes compilation error
Reviewed-by: jlaskey, lagergren
jlaskey [Mon, 04 Feb 2013 08:13:05 -0400] rev 16208
8007455: Extraneous $(ECHO) in make/Makefile
Reviewed-by: sundar
Contributed-by: james.laskey@oracle.com
hannesw [Fri, 01 Feb 2013 02:24:15 +0100] rev 16207
8007060: Primitive wrap filter throws ClassCastException in test262parallel
Reviewed-by: sundar, jlaskey, lagergren
attila [Thu, 31 Jan 2013 18:34:42 +0100] rev 16206
8006529: Methods always get callee - it should be conditional
Summary: This commit streamlines the bytecode function signatures, prologue, local variable use, scope creation, and invocation. It started out quite innocently when we noticed that we always emit __callee__ parameters for all functions even when they are not needed, but it turned out to be quite a deep rabbit hole. In the end, I identified exact conditions when functions need to have a callee parameter, when they need to receive parent scope, when they need to create their own scope, when they need to have variable arity signature, and when they need to have an "arguments" object, and made sure that callee parameters in signatures only show up when they are needed, that parent function's scope is only passed to a child function when it is needed, that the function only creates its own scope when it is needed. In crypto.js, the number of scopes dropped from 446 to 244, and the number of callees dropped from 315 to 145.
Reviewed-by: jlaskey, lagergren
sundar [Thu, 31 Jan 2013 20:07:40 +0530] rev 16205
8007286: Add JavaAdapter and importPackage to compatibility script
Reviewed-by: lagergren, jlaskey
sundar [Wed, 30 Jan 2013 21:15:14 +0530] rev 16204
8007140: Java.extend crashes when attempting to extend java.lang.Object
Reviewed-by: lagergren, hannesw
hannesw [Wed, 30 Jan 2013 14:57:19 +0100] rev 16203
8007109: Regression: String(ConsString) does not flatten argument to String
Reviewed-by: sundar, lagergren
sundar [Wed, 30 Jan 2013 17:52:54 +0530] rev 16202
8007132: Java objects returned from constructor functions are lost
Reviewed-by: hannesw, lagergren, attila
lagergren [Wed, 30 Jan 2013 12:26:45 +0100] rev 16201
8007062: Split Lower up into Lower/Attr/FinalizeTypes. Integrate AccessSpecalizer into FinalizeTypes.
Summary: Lower suffered from being a "God class" trying to do everything at once. As Nashorn code generation has grown, so has Lower. It does several post processing passes, tries to do several things at once even though all type information isn't in place, adjusting state afterwards and so on. It also performs control flow analysis, type attribution and constant folding, and everything else code generation related before byte code emission. I have now separated the compilation process into Lower (create low level nodes from high level ones, copy code such as finally block inlining etc), Attr (assign types and symbols to all nodes - freeze slot and scope information) and FinalizeTypes (insert explicit casts, specialize invoke dynamic types for scope accesses). I've removed the kludgy AccessSpecializer, as this now integrates naturally with typing. Everything is now much easier to read and each module performs only one thing. I have added separate loggers for the separate tiers. In the process I have also fixed: (1) problems with type coercion (see test/script/basic/typecoercion.js, basically our coercion was too late and our symbol inference was erroneous. This only manifested itself in very rare occasions where toNumber coercion has side effects, such as for example when valueOf is overridden) (2) copying literal nodes (literal copy did not use the superclass copy, which made all the Node specific fields not to be copied (3) erroneous literal tokenization (literals shouldn't always just inherit token information from whatever node that creates them) (4) splitter weighnodes - unary nodes were considered weightless (4) removed the hateful and kludgy "VarNode.shouldAppend", which really isn't needed when we have an attribution phase that determines self reference symbols (the only thing it was used for) (5) duplicate line number issues in the parser (6) convert bug in CodeGenerator for intermediate results of scope accesses (see test/script/basic/access-specializer.js) ... Several of these things just stopped being problems with the new architecture "can't happen anymore" and are not bug fixes per se. All tests run. No performance regressions exist that I've been able to measure. Some increases in performance were measured, but in the statistical margin of error (which is very wide as HotSpot currently has warmup issues with LambdaForms/invoke dynamic). Compile speed has not measurably increased.
Reviewed-by: jlaskey, attila
jlaskey [Tue, 29 Jan 2013 14:25:39 -0400] rev 16200
8007094: Apply version to nashorn.jar manifest
Reviewed-by: sundar
Contributed-by: james.laskey@oracle.com
sundar [Tue, 29 Jan 2013 19:57:25 +0530] rev 16199
8007091: Provide private API to pass application class loader for nashorn script engine
Reviewed-by: jlaskey, lagergren
jlaskey [Mon, 28 Jan 2013 16:22:03 -0400] rev 16198
8006676: Integrate Nashorn into new build system
Reviewed-by: jlaskey
Contributed-by: james.laskey@oracle.com
sundar [Mon, 28 Jan 2013 21:29:05 +0530] rev 16197
8007004: nashorn script engine should not use thread context class loader as script 'application loader'
Reviewed-by: attila, hannesw
sundar [Mon, 28 Jan 2013 18:10:16 +0530] rev 16196
8006983: Introduce a command line option to switch off syntactic extensions of nashorn
Reviewed-by: lagergren, attila
hannesw [Fri, 25 Jan 2013 17:35:31 +0100] rev 16195
8006766: Array-like access to characters of a string is slow
Reviewed-by: lagergren, attila
sundar [Thu, 24 Jan 2013 22:38:58 +0530] rev 16194
8006857: ClassCastException when interface implementing function uses arguments object
Reviewed-by: jlaskey, lagergren
jlaskey [Thu, 24 Jan 2013 12:15:29 -0400] rev 16193
8006852: Move tests from JIRA for prepopulated map failures
Reviewed-by: sundar
Contributed-by: james.laskey@oracle.com
hannesw [Thu, 24 Jan 2013 14:55:57 +0100] rev 16192
8006408: Clean up and specialize NativeString
Reviewed-by: jlaskey, lagergren
sundar [Thu, 24 Jan 2013 17:49:03 +0530] rev 16191
8006755: Functions inside with statements dont get correct scope
Reviewed-by: lagergren, attila
sundar [Thu, 24 Jan 2013 16:21:32 +0530] rev 16190
8006575: Error in codegen for element access on primitive value
Reviewed-by: hannesw, lagergren