Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.

Commit 12164a9

Browse files
author
Juanjo Alvarez
committed
Workaround for bug in latest alpine openjdk 8
Signed-off-by: Juanjo Alvarez <[email protected]>
1 parent c5a4b78 commit 12164a9

File tree

201 files changed

+11
-56900
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

201 files changed

+11
-56900
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#==============================
66
# Stage 1: Native Driver Build
77
#==============================
8-
FROM openjdk:9-slim as native
8+
FROM openjdk:8-slim as native
99

1010
# install build dependencies
1111
RUN apt update && apt install -y maven
@@ -48,7 +48,7 @@ RUN go test -c -o /tmp/fixtures.test ./driver/fixtures/
4848
#=======================
4949
# Stage 3: Driver Build
5050
#=======================
51-
FROM openjdk:9-jre-alpine
51+
FROM openjdk:8-jre-alpine
5252

5353

5454

build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ language: cpp
33
go-runtime:
44
version: '1.10-alpine'
55
native:
6-
image: 'openjdk:9-jre-alpine'
6+
image: 'openjdk:8-jre-alpine'
77
static:
88
- path: 'native.sh'
99
dest: 'native'
1010
build:
11-
image: 'openjdk:9-slim'
11+
image: 'openjdk:8-slim'
1212
deps:
1313
- 'apt update && apt install -y maven'
1414
run:

fixtures/_integration.cpp.native

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,29 @@
11
{
22
IASTClass: "CPPASTTranslationUnit",
3-
IsActive: true,
4-
IsFrozen: true,
53
LocOffsetEnd: 70,
64
LocOffsetStart: 0,
75
'Prop_AllPreprocessorStatements': [],
86
'Prop_BuiltinMacroDefinitions': [],
97
'Prop_Declarations': [
108
{
119
IASTClass: "CPPASTFunctionDefinition",
12-
IsActive: true,
1310
IsDefaulted: false,
1411
IsDeleted: false,
15-
IsFrozen: true,
1612
LocOffsetEnd: 69,
1713
LocOffsetStart: 21,
1814
'Prop_Body': {
1915
IASTClass: "CPPASTCompoundStatement",
20-
IsActive: true,
21-
IsFrozen: true,
2216
LocOffsetEnd: 69,
2317
LocOffsetStart: 32,
2418
'Prop_Statements': [
2519
{
2620
IASTClass: "CPPASTExpressionStatement",
27-
IsActive: true,
28-
IsFrozen: true,
2921
LocOffsetEnd: 67,
3022
LocOffsetStart: 38,
3123
'Prop_Expression': {
3224
ExpressionType: "org.eclipse.cdt.internal.core.dom.parser.ProblemType",
3325
ExpressionValueCategory: "PRVALUE",
3426
IASTClass: "CPPASTBinaryExpression",
35-
IsActive: true,
36-
IsFrozen: true,
3727
IsLValue: false,
3828
LocOffsetEnd: 66,
3929
LocOffsetStart: 38,
@@ -42,35 +32,25 @@
4232
ExpressionType: "org.eclipse.cdt.internal.core.dom.parser.ProblemType",
4333
ExpressionValueCategory: "PRVALUE",
4434
IASTClass: "CPPASTIdExpression",
45-
IsActive: true,
46-
IsFrozen: true,
4735
IsLValue: false,
4836
LocOffsetEnd: 47,
4937
LocOffsetStart: 38,
5038
'Prop_Name': {
5139
IASTClass: "CPPASTQualifiedName",
52-
IsActive: true,
5340
IsConversionOperator: false,
54-
IsFrozen: true,
5541
IsFullyQualified: false,
56-
IsQualified: false,
5742
LocOffsetEnd: 47,
5843
LocOffsetStart: 38,
5944
Name: "std::cout",
6045
'Prop_AllSegments': [
6146
{
6247
IASTClass: "CPPASTName",
63-
IsActive: true,
64-
IsFrozen: true,
65-
IsQualified: false,
6648
LocOffsetEnd: 41,
6749
LocOffsetStart: 38,
6850
Name: "std",
6951
},
7052
{
7153
IASTClass: "CPPASTName",
72-
IsActive: true,
73-
IsFrozen: true,
7454
IsQualified: true,
7555
LocOffsetEnd: 47,
7656
LocOffsetStart: 43,
@@ -80,9 +60,6 @@
8060
'Prop_Qualifier': [
8161
{
8262
IASTClass: "CPPASTName",
83-
IsActive: true,
84-
IsFrozen: true,
85-
IsQualified: false,
8663
LocOffsetEnd: 41,
8764
LocOffsetStart: 38,
8865
Name: "std",
@@ -94,8 +71,6 @@
9471
ExpressionType: "const char [14]",
9572
ExpressionValueCategory: "LVALUE",
9673
IASTClass: "CPPASTLiteralExpression",
97-
IsActive: true,
98-
IsFrozen: true,
9974
IsLValue: true,
10075
LiteralValue: "\"Hello, World!\"",
10176
LocOffsetEnd: 66,
@@ -108,8 +83,6 @@
10883
},
10984
'Prop_DeclSpecifier': {
11085
IASTClass: "CPPASTSimpleDeclSpecifier",
111-
IsActive: true,
112-
IsFrozen: true,
11386
LocOffsetEnd: 24,
11487
LocOffsetStart: 21,
11588
StorageClass: "unspecified",
@@ -118,15 +91,10 @@
11891
'Prop_Declarator': {
11992
DeclaresParameterPack: false,
12093
IASTClass: "CPPASTFunctionDeclarator",
121-
IsActive: true,
122-
IsFrozen: true,
12394
LocOffsetEnd: 31,
12495
LocOffsetStart: 25,
12596
'Prop_Name': {
12697
IASTClass: "CPPASTName",
127-
IsActive: true,
128-
IsFrozen: true,
129-
IsQualified: false,
13098
LocOffsetEnd: 29,
13199
LocOffsetStart: 25,
132100
Name: "main",

fixtures/_integration.cpp.sem.uast

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
col: 1,
1313
},
1414
},
15-
IsActive: true,
16-
IsFrozen: true,
1715
'Prop_AllPreprocessorStatements': [],
1816
'Prop_BuiltinMacroDefinitions': [],
1917
'Prop_Declarations': [
@@ -31,10 +29,8 @@
3129
col: 2,
3230
},
3331
},
34-
IsActive: true,
3532
IsDefaulted: false,
3633
IsDeleted: false,
37-
IsFrozen: true,
3834
'Prop_Body': { '@type': "CPPASTCompoundStatement",
3935
'@role': [Body, Declaration, Function],
4036
'@pos': { '@type': "uast:Positions",
@@ -49,8 +45,6 @@
4945
col: 2,
5046
},
5147
},
52-
IsActive: true,
53-
IsFrozen: true,
5448
'Prop_Statements': [
5549
{ '@type': "CPPASTExpressionStatement",
5650
'@role': [Expression],
@@ -66,8 +60,6 @@
6660
col: 34,
6761
},
6862
},
69-
IsActive: true,
70-
IsFrozen: true,
7163
'Prop_Expression': { '@type': "CPPASTBinaryExpression",
7264
'@token': "<<",
7365
'@role': [Binary, Bitwise, Expression, LeftShift],
@@ -85,8 +77,6 @@
8577
},
8678
ExpressionType: "org.eclipse.cdt.internal.core.dom.parser.ProblemType",
8779
ExpressionValueCategory: "PRVALUE",
88-
IsActive: true,
89-
IsFrozen: true,
9080
IsLValue: false,
9181
'Prop_Operand1': { '@type': "CPPASTIdExpression",
9282
'@role': [Binary, Expression, Left, Variable],
@@ -104,8 +94,6 @@
10494
},
10595
ExpressionType: "org.eclipse.cdt.internal.core.dom.parser.ProblemType",
10696
ExpressionValueCategory: "PRVALUE",
107-
IsActive: true,
108-
IsFrozen: true,
10997
IsLValue: false,
11098
'Prop_Name': { '@type': "CPPASTQualifiedName",
11199
'@role': [Qualified],
@@ -121,11 +109,8 @@
121109
col: 14,
122110
},
123111
},
124-
IsActive: true,
125112
IsConversionOperator: false,
126-
IsFrozen: true,
127113
IsFullyQualified: false,
128-
IsQualified: false,
129114
Name: "std::cout",
130115
'Prop_AllSegments': [
131116
{ '@type': "CPPASTName",
@@ -143,9 +128,6 @@
143128
col: 8,
144129
},
145130
},
146-
IsActive: true,
147-
IsFrozen: true,
148-
IsQualified: false,
149131
},
150132
{ '@type': "CPPASTName",
151133
'@token': "cout",
@@ -162,8 +144,6 @@
162144
col: 14,
163145
},
164146
},
165-
IsActive: true,
166-
IsFrozen: true,
167147
IsQualified: true,
168148
},
169149
],
@@ -183,9 +163,6 @@
183163
col: 8,
184164
},
185165
},
186-
IsActive: true,
187-
IsFrozen: true,
188-
IsQualified: false,
189166
},
190167
],
191168
},
@@ -207,8 +184,6 @@
207184
},
208185
ExpressionType: "const char [14]",
209186
ExpressionValueCategory: "LVALUE",
210-
IsActive: true,
211-
IsFrozen: true,
212187
IsLValue: true,
213188
kind: "string_literal",
214189
},
@@ -231,8 +206,6 @@
231206
col: 4,
232207
},
233208
},
234-
IsActive: true,
235-
IsFrozen: true,
236209
StorageClass: "unspecified",
237210
},
238211
'Prop_Declarator': { '@type': "CPPASTFunctionDeclarator",
@@ -250,8 +223,6 @@
250223
},
251224
},
252225
DeclaresParameterPack: false,
253-
IsActive: true,
254-
IsFrozen: true,
255226
'Prop_Name': { '@type': "CPPASTName",
256227
'@token': "main",
257228
'@role': [Declaration, Function, Identifier, Name],
@@ -267,9 +238,6 @@
267238
col: 9,
268239
},
269240
},
270-
IsActive: true,
271-
IsFrozen: true,
272-
IsQualified: false,
273241
},
274242
TakesVarArgs: false,
275243
},

0 commit comments

Comments
 (0)